Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.4 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1996 - 1999
  6. //
  7. // File: crypt32l.h
  8. //
  9. // Contents: Crypt32 static library
  10. // API Prototypes and Definitions
  11. //
  12. // APIs: Crypt32DllMain
  13. //
  14. // NB: This header is for temporary use only, with the static library
  15. // form of crypt32 (crypt32l). It should not be used after IE4 ships,
  16. // since then the correct action will be to use the dll form of crypt32.
  17. //
  18. //--------------------------------------------------------------------------
  19. #ifndef _CRYPT32L_H_
  20. #define _CRYPT32L_H_
  21. //+-------------------------------------------------------------------------
  22. //
  23. // Function: Crypt32DllMain
  24. //
  25. // Synopsis: Initialize the Crypt32 static library code
  26. //
  27. // Returns: FALSE iff failed
  28. //
  29. // Notes:
  30. // If crypt32l.lib is linked with an exe, call
  31. // Crypt32DllMain( NULL, DLL_PROCESS_ATTACH, NULL)
  32. // at the start of main() and
  33. // Crypt32DllMain( NULL, DLL_PROCESS_DETACH, NULL)
  34. // at the end of main().
  35. //
  36. // If linking with a dll, call Crypt32DllMain from the dll's init
  37. // routine, passing it the same args as were passed to the init routine.
  38. //
  39. //--------------------------------------------------------------------------
  40. BOOL
  41. WINAPI
  42. Crypt32DllMain(
  43. HMODULE hInstDLL,
  44. DWORD fdwReason,
  45. LPVOID lpvReserved
  46. );
  47. #endif //_CRYPT32L_H_