Scroll to navigation

WintrustAddDefaultForUsage(3w) Wine API WintrustAddDefaultForUsage(3w)

NAME

WintrustAddDefaultForUsage (WINTRUST.@)

SYNOPSIS

BOOL WintrustAddDefaultForUsage
(
const char* pszUsageOID,
CRYPT_PROVIDER_REGDEFUSAGE* psDefUsage
)
 

DESCRIPTION

Write OID and callback functions to the registry.
 

PARAMS

pszUsageOID [In] Pointer to a GUID.
psDefUsage [In] Pointer to a structure that specifies the callback functions.
 

RETURNS

Success: TRUE.
Failure: FALSE.
 

NOTES

WintrustAddDefaultForUsage will only return TRUE or FALSE, no last error is set, not even when the registry cannot be written to.
 

IMPLEMENTATION

Declared in "wintrust.h".
Implemented in "dlls/wintrust/register.c".
Debug channel "wintrust".
Oct 2012 Wine API