Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WintrustGetRegPolicyFlags
Collapse the table of content
Expand the table of content

WintrustGetRegPolicyFlags function

The WintrustGetRegPolicyFlags function retrieves policy flags for a policy provider.

Note  This function has no associated import library. You must use the LoadLibrary and GetProcAddress functions to dynamically link to Wintrust.dll.
 

Syntax


void WINAPI WintrustGetRegPolicyFlags(
  _Out_ DWORD *pdwPolicyFlags
);

Parameters

pdwPolicyFlags [out]

This parameter can be a bitwise combination of one or more of the following values.

ValueMeaning
WTPF_TRUSTTEST

Trust any test certificate.

WTPF_TESTCANBEVALID

Check any test certificate for validity.

WTPF_IGNOREEXPIRATION

Use expiration date.

WTPF_IGNOREREVOKATION

Do revocation check.

WTPF_OFFLINEOK_IND

If the source is offline, trust any individual certificates.

WTPF_OFFLINEOK_COM

If the source is offline, trust any commercial certificates.

WTPF_OFFLINEOKNBU_IND

If the source is offline, trust any individual certificates. Do not use the user interface (UI).

WTPF_OFFLINEOKNBU_COM

If the source is offline, trust any commercial certificates. Do not use the checking UI.

WTPF_VERIFY_V1_OFF

Turn off verification of version 1.0 certificates.

WTPF_IGNOREREVOCATIONONTS

Ignore time stamp revocation checks.

WTPF_ALLOWONLYPERTRUST

Allow only items in personal trust database.

 

Return value

This function does not return a value.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Wintrust.h

DLL

Wintrust.dll

See also

WintrustSetRegPolicyFlags

 

 

Community Additions

ADD
Show:
© 2015 Microsoft