Commit 8161d292 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

wintrust: Stub CryptCATPutAttrInfo().

parent de22b7b3
...@@ -849,6 +849,19 @@ BOOL WINAPI CryptCATCatalogInfoFromContext(HCATINFO hcatinfo, CATALOG_INFO *info ...@@ -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.@) * CryptCATPutMemberInfo (WINTRUST.@)
*/ */
CRYPTCATMEMBER * WINAPI CryptCATPutMemberInfo(HANDLE catalog, WCHAR *filename, CRYPTCATMEMBER * WINAPI CryptCATPutMemberInfo(HANDLE catalog, WCHAR *filename,
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
@ stub CryptCATHandleFromStore @ stub CryptCATHandleFromStore
@ stdcall CryptCATOpen(wstr long long long long) @ stdcall CryptCATOpen(wstr long long long long)
@ stdcall CryptCATPersistStore(ptr) @ stdcall CryptCATPersistStore(ptr)
@ stub CryptCATPutAttrInfo @ stdcall CryptCATPutAttrInfo(ptr ptr wstr long long ptr)
@ stub CryptCATPutCatAttrInfo @ stub CryptCATPutCatAttrInfo
@ stdcall CryptCATPutMemberInfo(ptr wstr wstr ptr long long ptr) @ stdcall CryptCATPutMemberInfo(ptr wstr wstr ptr long long ptr)
@ stub CryptCATStoreFromHandle @ stub CryptCATStoreFromHandle
......
...@@ -28,6 +28,15 @@ typedef HANDLE HCATINFO; ...@@ -28,6 +28,15 @@ typedef HANDLE HCATINFO;
extern "C" { extern "C" {
#endif #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_CREATENEW 0x00000001
#define CRYPTCAT_OPEN_ALWAYS 0x00000002 #define CRYPTCAT_OPEN_ALWAYS 0x00000002
#define CRYPTCAT_OPEN_EXISTING 0x00000004 #define CRYPTCAT_OPEN_EXISTING 0x00000004
...@@ -132,6 +141,7 @@ CRYPTCATATTRIBUTE * WINAPI CryptCATGetCatAttrInfo(HANDLE, LPWSTR); ...@@ -132,6 +141,7 @@ CRYPTCATATTRIBUTE * WINAPI CryptCATGetCatAttrInfo(HANDLE, LPWSTR);
CRYPTCATMEMBER * WINAPI CryptCATGetMemberInfo(HANDLE, LPWSTR); CRYPTCATMEMBER * WINAPI CryptCATGetMemberInfo(HANDLE, LPWSTR);
HANDLE WINAPI CryptCATOpen(LPWSTR,DWORD,HCRYPTPROV,DWORD,DWORD); HANDLE WINAPI CryptCATOpen(LPWSTR,DWORD,HCRYPTPROV,DWORD,DWORD);
BOOL WINAPI CryptCATPersistStore(HANDLE catalog); 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); CRYPTCATMEMBER * WINAPI CryptCATPutMemberInfo(HANDLE catalog, WCHAR *filename, WCHAR *member, GUID *subject, DWORD version, DWORD size, BYTE *data);
#ifdef __cplusplus #ifdef __cplusplus
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment