CryptSIPLoad function (mssip.h)

The SIP_DISPATCH_INFO structure. The exported functions must have been previously registered by calling the CryptSIPAddProvider function.


BOOL CryptSIPLoad(
  [in]      const GUID        *pgSubject,
  [in]      DWORD             dwFlags,
  [in, out] SIP_DISPATCH_INFO *pSipDispatch


[in] pgSubject

A pointer to a GUID returned by calling the CryptSIPRetrieveSubjectGuid function.

[in] dwFlags

This parameter is reserved and must be set to zero.

[in, out] pSipDispatch

A pointer to a SIP_DISPATCH_INFO structure that contains pointers to SIP provider functions that are specific to the subject type. The caller must initialize this structure to binary zeros, and set the cbSize member to sizeof(SIP_DISPATCH_INFO) before calling the CryptSIPLoad function.

Return value

If the function succeeds, the function returns TRUE.

If the function fails, it returns FALSE. For extended error information, call GetLastError.


Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header mssip.h
Library Crypt32.lib
DLL Crypt32.dll