WintrustAddDefaultForUsage.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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

Defined in "wintrust.h".

Implemented in "dlls/wintrust/register.c".

Debug channel "wintrust".