Commit 1f05420b authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

wintrust: Added stubbed WintrustAddDefaultForUsage.

parent 15ccaf54
......@@ -680,6 +680,16 @@ static void WINTRUST_RegisterGenChainVerify(void)
}
/***********************************************************************
* WintrustAddDefaultForUsage (WINTRUST.@)
*/
BOOL WINAPI WintrustAddDefaultForUsage(const CHAR *pszUsageOID,
CRYPT_PROVIDER_REGDEFUSAGE *psDefUsage)
{
FIXME("(%s %p) stub\n", debugstr_a(pszUsageOID), psDefUsage);
return FALSE;
}
/***********************************************************************
* DllRegisterServer (WINTRUST.@)
*/
HRESULT WINAPI DllRegisterServer(void)
......
......@@ -111,7 +111,7 @@
@ stdcall WinVerifyTrust(long ptr ptr)
@ stdcall WinVerifyTrustEx(long ptr ptr)
@ stdcall WintrustAddActionID(ptr long ptr)
@ stub WintrustAddDefaultForUsage
@ stdcall WintrustAddDefaultForUsage(ptr ptr)
@ stub WintrustCertificateTrust
@ stub WintrustGetDefaultForUsage
@ stdcall WintrustGetRegPolicyFlags(ptr)
......
......@@ -135,6 +135,15 @@ typedef struct _CRYPT_REGISTER_ACTIONID
CRYPT_TRUST_REG_ENTRY sCleanupProvider;
} CRYPT_REGISTER_ACTIONID, *PCRYPT_REGISTER_ACTIONID;
typedef struct _CRYPT_PROVIDER_REGDEFUSAGE
{
DWORD cbStruct;
GUID *pgActionID;
WCHAR *pwszDllName;
char *pwszLoadCallbackDataFunctionName;
char *pwszFreeCallbackDataFunctionName;
} CRYPT_PROVIDER_REGDEFUSAGE, *PCRYPT_PROVIDER_REGDEFUSAGE;
typedef struct _CRYPT_PROVUI_DATA {
DWORD cbStruct;
DWORD dwFinalError;
......@@ -316,6 +325,7 @@ static const WCHAR WT_PROVIDER_CERTTRUST_FUNCTION[] = \
BOOL WINAPI WintrustAddActionID(GUID*,DWORD,CRYPT_REGISTER_ACTIONID*);
BOOL WINAPI WintrustRemoveActionID(GUID*);
BOOL WINAPI WintrustLoadFunctionPointers(GUID*,CRYPT_PROVIDER_FUNCTIONS*);
BOOL WINAPI WintrustAddDefaultForUsage(const CHAR*,CRYPT_PROVIDER_REGDEFUSAGE*);
void WINAPI WintrustGetRegPolicyFlags(DWORD*);
LONG WINAPI WinVerifyTrust(HWND,GUID*,LPVOID);
HRESULT WINAPI WinVerifyTrustEx(HWND,GUID*,WINTRUST_DATA*);
......
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