crypt32: Correct the documentation.

This commit is contained in:
Paul Vriens 2006-10-05 13:41:25 +02:00 committed by Alexandre Julliard
parent a28c40f314
commit a9b53ef6b2
1 changed files with 9 additions and 3 deletions

View File

@ -357,7 +357,7 @@ cleanup3:
/*********************************************************************** /***********************************************************************
* CryptSIPLoad (CRYPT32.@) * CryptSIPLoad (CRYPT32.@)
* *
* Load the functions for the given SIP. * Load some internal crypt32 functions into a SIP_DISPATCH_INFO structure.
* *
* PARAMS * PARAMS
* pgSubject [I] The GUID. * pgSubject [I] The GUID.
@ -369,9 +369,15 @@ cleanup3:
* Failure: FALSE. (Look at GetLastError()). * Failure: FALSE. (Look at GetLastError()).
* *
* NOTES * NOTES
* Testing shows that (somehow) the table of functions is cached between * CryptSIPLoad uses caching for the list of GUIDs and whether a SIP is
* calls. * already loaded.
* *
* An application calls CryptSipLoad which will return a structure with the
* function addresses of some internal crypt32 functions. The application will
* then call these functions which will be forwarded to the appropriate SIP.
*
* CryptSIPLoad will load the needed SIP but doesn't unload this dll. The unloading
* is done when crypt32 is unloaded.
*/ */
BOOL WINAPI CryptSIPLoad BOOL WINAPI CryptSIPLoad
(const GUID *pgSubject, DWORD dwFlags, SIP_DISPATCH_INFO *pSipDispatch) (const GUID *pgSubject, DWORD dwFlags, SIP_DISPATCH_INFO *pSipDispatch)