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.

31 lines
1.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. // Globals
  12. // --------------------------------------------------------------------------------
  13. extern CRITICAL_SECTION g_csDllMain;
  14. extern CRITICAL_SECTION g_csCounter;
  15. extern DWORD g_dwCounter; // boundary/cid/mid ratchet
  16. extern LONG g_cRef;
  17. extern LONG g_cLock;
  18. extern HINSTANCE g_hInst;
  19. extern HINSTANCE g_hLocRes;
  20. // --------------------------------------------------------------------------------
  21. // Prototypes
  22. // --------------------------------------------------------------------------------
  23. ULONG DllAddRef(void);
  24. ULONG DllRelease(void);
  25. DWORD DwCounterNext(void);
  26. HRESULT GetTypeLibrary(ITypeLib **ppTypeLib);
  27. #endif // __DLLMAIN_H