wintrust: Added stubbed WintrustAddDefaultForUsage.

This commit is contained in:
Paul Vriens 2006-09-12 13:18:25 +02:00 committed by Alexandre Julliard
parent 15ccaf545a
commit 1f05420b5c
3 changed files with 21 additions and 1 deletions

View File

@ -679,6 +679,16 @@ static void WINTRUST_RegisterGenChainVerify(void)
WintrustAddActionID(&ProvGUID, 0, &ProvInfo);
}
/***********************************************************************
* 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.@)
*/

View File

@ -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)

View File

@ -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*);