CRYPT_PROVIDER_DEFUSAGE structure (wintrust.h)

The CRYPT_PROVIDER_DEFUSAGE structure is used by the WintrustGetDefaultForUsage function to retrieve callback information for a provider's default usage.

Syntax

typedef struct _CRYPT_PROVIDER_DEFUSAGE {
  DWORD  cbStruct;
  GUID   gActionID;
  LPVOID pDefPolicyCallbackData;
  LPVOID pDefSIPClientData;
} CRYPT_PROVIDER_DEFUSAGE, *PCRYPT_PROVIDER_DEFUSAGE;

Members

cbStruct

Size, in bytes, of the structure.

gActionID

GUID that specifies the provider's default action.

pDefPolicyCallbackData

Pointer to a data buffer used to pass policy-specific data to a policy provider.

pDefSIPClientData

Pointer to a data buffer used to pass subject interface package (SIP) specific data to an SIP provider.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header wintrust.h

See also

CRYPT_PROVIDER_REGDEFUSAGE

WintrustGetDefaultForUsage