WintrustSetDefaultIncludePEPageHashes function (wintrust.h)

The WintrustSetDefaultIncludePEPageHashes function sets the default setting that determines whether page hashes are included when creating subject interface package (SIP) indirect data for PE files.

This setting is only used if neither the SPC_EXC_PE_PAGE_HASHES_FLAG or the SPC_INC_PE_PAGE_HASHES_FLAG flag is specified in the dwFlags parameter of the SignerSignEx function.

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


void WintrustSetDefaultIncludePEPageHashes(
  [in] BOOL fIncludePEPageHashes


[in] fIncludePEPageHashes

Determines whether page hashes are included when creating SIP indirect data for PE files. If this parameter is nonzero, page hashes are included. If this parameter is zero, page hashes are not included. The value is zero by default.

Return value



This setting applies to each instance of Wintrust.dll.


Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wintrust.h
DLL Wintrust.dll

See also