The WinTrustSipInitialize function is an initialization function that WinTrust calls when it loads a Subject Interface Package (SIP) DLL. Each SIP must export a WinTrustSipInitialize function.
BOOL WinTrustSipInitialize(
DWORD dwWinTrustRevision, |
// WinTrust revision level |
LPWINTRUST_SIP_INFO *lpSipInfo |
// receives a pointer to a SIP information structure |
); |
If the SIP successfully initializes itself, the return value is a nonzero value.
If the SIP did not successfully initialize itself, the return value is zero. In this case, WinTrust makes no further calls to the SIP. The SIP can use the SetLastError function to provide extended error information.
The LPWINTRUST_SUBJECT_PACKAGE_INITIALIZE type is a pointer to a WinTrustSipInitialize function.