mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
wintrust: Added stubbed WintrustAddDefaultForUsage.
This commit is contained in:
parent
15ccaf545a
commit
1f05420b5c
@ -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.@)
|
||||
*/
|
||||
|
@ -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*);
|
||||
|
Loading…
Reference in New Issue
Block a user