CRYPT_PROVUI_FUNCS structure (wintrust.h)

[The CRYPT_PROVUI_FUNCS structure is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

The CRYPT_PROVUI_FUNCS structure provides information about the user interface (UI) functions of a provider. This structure is used by the CRYPT_PROVIDER_FUNCTIONS structure.

Syntax

typedef struct _CRYPT_PROVUI_FUNCS {
  DWORD                     cbStruct;
  struct _CRYPT_PROVUI_DATA *psUIData;
  PFN_PROVUI_CALL           pfnOnMoreInfoClick;
  PFN_PROVUI_CALL           pfnOnMoreInfoClickDefault;
  PFN_PROVUI_CALL           pfnOnAdvancedClick;
  PFN_PROVUI_CALL           pfnOnAdvancedClickDefault;
} CRYPT_PROVUI_FUNCS, *PCRYPT_PROVUI_FUNCS;

Members

cbStruct

The size, in bytes, of this structure.

psUIData

A pointer to a CRYPT_PROVUI_DATA structure.

pfnOnMoreInfoClick

A pointer to the function called when the More Info button is clicked.

pfnOnMoreInfoClickDefault

A pointer to the default function called when the More Info button is clicked.

pfnOnAdvancedClick

A pointer to the function called when the Advanced button is clicked.

pfnOnAdvancedClickDefault

A pointer to the default function called when the Advanced button is clicked.

Remarks

The prototype for PFN_PROVUI_CALL is defined as:

#include <windows.h>
#include <Wintrust.h>

typedef BOOL (*PFN_PROVUI_CALL)(
    IN HWND hWndSecurityDialog,
    IN struct _CRYPT_PROVIDER_DATA *pProvData
);

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_DATA

CRYPT_PROVIDER_FUNCTIONS