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.

25 lines
466 B

  1. // Some General Includes
  2. #include <stddef.h>
  3. #include <stdlib.h>
  4. #ifdef OEMCOM
  5. #include <objbase.h>
  6. #endif
  7. #include <stdarg.h>
  8. #include <windef.h>
  9. #include <winerror.h>
  10. #include <winbase.h>
  11. #include <wingdi.h>
  12. #include <winddi.h>
  13. #include <tchar.h>
  14. #include <excpt.h>
  15. // Macros for Memory Allocation
  16. #define MemAlloc(size) ((PVOID) LocalAlloc(LMEM_FIXED, (size)))
  17. #define MemFree(p) { if (p) LocalFree((HLOCAL) (p)); }