Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
8161d292
Commit
8161d292
authored
Oct 18, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
Oct 19, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust: Stub CryptCATPutAttrInfo().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
de22b7b3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
1 deletion
+24
-1
crypt.c
dlls/wintrust/crypt.c
+13
-0
wintrust.spec
dlls/wintrust/wintrust.spec
+1
-1
mscat.h
include/mscat.h
+10
-0
No files found.
dlls/wintrust/crypt.c
View file @
8161d292
...
...
@@ -849,6 +849,19 @@ BOOL WINAPI CryptCATCatalogInfoFromContext(HCATINFO hcatinfo, CATALOG_INFO *info
}
/***********************************************************************
* CryptCATPutAttrInfo (WINTRUST.@)
*/
CRYPTCATATTRIBUTE
*
WINAPI
CryptCATPutAttrInfo
(
HANDLE
catalog
,
CRYPTCATMEMBER
*
member
,
WCHAR
*
name
,
DWORD
flags
,
DWORD
size
,
BYTE
*
data
)
{
FIXME
(
"catalog %p, member %p, name %s, flags %#x, size %u, data %p, stub!
\n
"
,
catalog
,
member
,
debugstr_w
(
name
),
flags
,
size
,
data
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
NULL
;
}
/***********************************************************************
* CryptCATPutMemberInfo (WINTRUST.@)
*/
CRYPTCATMEMBER
*
WINAPI
CryptCATPutMemberInfo
(
HANDLE
catalog
,
WCHAR
*
filename
,
...
...
dlls/wintrust/wintrust.spec
View file @
8161d292
...
...
@@ -35,7 +35,7 @@
@ stub CryptCATHandleFromStore
@ stdcall CryptCATOpen(wstr long long long long)
@ stdcall CryptCATPersistStore(ptr)
@ st
ub CryptCATPutAttrInfo
@ st
dcall CryptCATPutAttrInfo(ptr ptr wstr long long ptr)
@ stub CryptCATPutCatAttrInfo
@ stdcall CryptCATPutMemberInfo(ptr wstr wstr ptr long long ptr)
@ stub CryptCATStoreFromHandle
...
...
include/mscat.h
View file @
8161d292
...
...
@@ -28,6 +28,15 @@ typedef HANDLE HCATINFO;
extern
"C"
{
#endif
#define CRYPTCAT_ATTR_NAMEASCII 0x00000001
#define CRYPTCAT_ATTR_NAMEOBJID 0x00000002
#define CRYPTCAT_ATTR_DATAASCII 0x00010000
#define CRYPTCAT_ATTR_DATAOBJID 0x00020000
#define CRYPTCAT_ATTR_DATAREPLACE 0x00040000
#define CRYPTCAT_ATTR_NO_AUTO_COMPAT_ENTRY 0x01000000
#define CRYPTCAT_ATTR_AUTHENTICATED 0x10000000
#define CRYPTCAT_ATTR_UNAUTHENTICATED 0x20000000
#define CRYPTCAT_OPEN_CREATENEW 0x00000001
#define CRYPTCAT_OPEN_ALWAYS 0x00000002
#define CRYPTCAT_OPEN_EXISTING 0x00000004
...
...
@@ -132,6 +141,7 @@ CRYPTCATATTRIBUTE * WINAPI CryptCATGetCatAttrInfo(HANDLE, LPWSTR);
CRYPTCATMEMBER
*
WINAPI
CryptCATGetMemberInfo
(
HANDLE
,
LPWSTR
);
HANDLE
WINAPI
CryptCATOpen
(
LPWSTR
,
DWORD
,
HCRYPTPROV
,
DWORD
,
DWORD
);
BOOL
WINAPI
CryptCATPersistStore
(
HANDLE
catalog
);
CRYPTCATATTRIBUTE
*
WINAPI
CryptCATPutAttrInfo
(
HANDLE
catalog
,
CRYPTCATMEMBER
*
member
,
WCHAR
*
name
,
DWORD
flags
,
DWORD
size
,
BYTE
*
data
);
CRYPTCATMEMBER
*
WINAPI
CryptCATPutMemberInfo
(
HANDLE
catalog
,
WCHAR
*
filename
,
WCHAR
*
member
,
GUID
*
subject
,
DWORD
version
,
DWORD
size
,
BYTE
*
data
);
#ifdef __cplusplus
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment