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.

35 lines
813 B

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1994.
  5. //
  6. // File: comlocal.hxx
  7. //
  8. // Contents: Local functions header and external definitions
  9. //
  10. // History: 10-Mar-94 DrewB Created
  11. //
  12. //----------------------------------------------------------------------------
  13. #ifndef __COMLOCAL_HXX__
  14. #define __COMLOCAL_HXX__
  15. extern IMalloc FAR* v_pMallocShared;
  16. LPVOID __loadds FAR PASCAL TaskAlloc(ULONG cb);
  17. void __loadds FAR PASCAL TaskFree(LPVOID pv);
  18. #if defined(_CHICAGO_)
  19. extern BOOL gfReleaseDLL;
  20. #define SetReleaseDLL(x) gfReleaseDLL = x
  21. #define CanReleaseDLL() gfReleaseDLL
  22. #else
  23. #define SetReleaseDLL(x)
  24. #define CanReleaseDLL() TRUE
  25. #endif
  26. #endif // #ifndef __COMLOCAL_HXX__
  27.