Leaked source code of windows server 2003
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.

92 lines
3.2 KiB

  1. // --------------------------------------------------------------------------------
  2. // Dllmain.h
  3. // Copyright (c)1993-1995 Microsoft Corporation, All Rights Reserved
  4. // Steven J. Bailey
  5. // --------------------------------------------------------------------------------
  6. #ifndef __DLLMAIN_H
  7. #define __DLLMAIN_H
  8. // --------------------------------------------------------------------------------
  9. // Defined later
  10. // --------------------------------------------------------------------------------
  11. class CMimeInternational;
  12. class CMimeAllocator;
  13. class CSMime;
  14. typedef class CMimeActiveUrlCache *LPMHTMLURLCACHE;
  15. typedef class CPropertySymbolCache *LPSYMBOLCACHE;
  16. interface IMLangLineBreakConsole;
  17. interface IFontCache;
  18. // --------------------------------------------------------------------------------
  19. // Globals
  20. // --------------------------------------------------------------------------------
  21. extern CRITICAL_SECTION g_csDllMain;
  22. extern CRITICAL_SECTION g_csRAS;
  23. extern CRITICAL_SECTION g_csCounter;
  24. extern CRITICAL_SECTION g_csMLANG;
  25. extern CRITICAL_SECTION g_csCSAPI3T1;
  26. extern HINSTANCE g_hinstMLANG;
  27. extern DWORD g_dwCompatMode;
  28. extern DWORD g_dwCounter; // boundary/cid/mid ratchet
  29. extern LONG g_cRef;
  30. extern LONG g_cLock;
  31. extern HINSTANCE g_hInst;
  32. extern HINSTANCE g_hLocRes;
  33. extern HINSTANCE g_hinstRAS;
  34. extern HINSTANCE g_hinstCSAPI3T1;
  35. extern HINSTANCE g_hCryptoDll;
  36. extern HINSTANCE g_hAdvApi32;
  37. extern BOOL g_fWinsockInit;
  38. extern CMimeInternational *g_pInternat;
  39. extern DWORD g_dwSysPageSize;
  40. extern CMimeAllocator * g_pMoleAlloc;
  41. extern LPSYMBOLCACHE g_pSymCache;
  42. extern LPMHTMLURLCACHE g_pUrlCache;
  43. extern ULONG g_ulUpperCentury;
  44. extern ULONG g_ulY2kThreshold;
  45. extern IFontCache *g_lpIFontCache;
  46. extern HCERTSTORE g_hCachedStoreMy;
  47. extern HCERTSTORE g_hCachedStoreAddressBook;
  48. IF_DEBUG(extern DWORD TAG_SSPI;)
  49. // --------------------------------------------------------------------------------
  50. // IMimeMessage::IDataObject clipboard formats (also CF_TEXT)
  51. // --------------------------------------------------------------------------------
  52. extern UINT CF_HTML;
  53. extern UINT CF_INETMSG;
  54. extern UINT CF_RFC822;
  55. // --------------------------------------------------------------------------------
  56. // String Lengths
  57. // --------------------------------------------------------------------------------
  58. #define CCHMAX_RES 255
  59. // --------------------------------------------------------------------------------
  60. // Prototypes
  61. // --------------------------------------------------------------------------------
  62. ULONG DllAddRef(void);
  63. ULONG DllRelease(void);
  64. DWORD DwCounterNext(void);
  65. HRESULT GetTypeLibrary(ITypeLib **ppTypeLib);
  66. HCERTSTORE
  67. WINAPI
  68. OpenCachedHKCUStore(
  69. IN OUT HCERTSTORE *phStoreCache,
  70. IN LPCWSTR pwszStore
  71. );
  72. HCERTSTORE
  73. WINAPI
  74. OpenCachedMyStore();
  75. HCERTSTORE
  76. WINAPI
  77. OpenCachedAddressBookStore();
  78. BOOL fIsNT5();
  79. #endif // __DLLMAIN_H