[crypt32 3/3] Correct the documentation

Paul Vriens Paul.Vriens at xs4all.nl
Thu Oct 5 06:41:25 CDT 2006


Hi,

just some corrections to the documentation as found during testing.

Obviously it's my own documentation.

Changelog
  Correct the documentation

Cheers,

Paul.
---
 dlls/crypt32/sip.c |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/dlls/crypt32/sip.c b/dlls/crypt32/sip.c
index 36b7483..55228c2 100644
--- a/dlls/crypt32/sip.c
+++ b/dlls/crypt32/sip.c
@@ -357,7 +357,7 @@ cleanup3:
 /***********************************************************************
  *             CryptSIPLoad (CRYPT32.@)
  *
- * Load the functions for the given SIP.
+ * Load some internal crypt32 functions into a SIP_DISPATCH_INFO structure.
  *
  * PARAMS
  *  pgSubject    [I] The GUID.
@@ -369,9 +369,15 @@ cleanup3:
  *  Failure: FALSE. (Look at GetLastError()).
  *
  * NOTES
- *  Testing shows that (somehow) the table of functions is cached between
- *  calls.
+ *  CryptSIPLoad uses caching for the list of GUIDs and whether a SIP is
+ *  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
        (const GUID *pgSubject, DWORD dwFlags, SIP_DISPATCH_INFO *pSipDispatch)
-- 
1.4.2.3




More information about the wine-patches mailing list