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.

32 lines
837 B

  1. /*
  2. * Function protypes and general defines for WINMEM32 DLL
  3. * Version 1.00
  4. *
  5. * NOTE that WINDOWS.H must be included before this file.
  6. *
  7. */
  8. /*
  9. *
  10. * The functions
  11. *
  12. */
  13. WORD FAR PASCAL GetWinMem32Version(void);
  14. WORD FAR PASCAL Global32Alloc(DWORD, LPWORD, DWORD, WORD);
  15. WORD FAR PASCAL Global32Realloc(WORD, DWORD, WORD);
  16. WORD FAR PASCAL Global32Free(WORD, WORD);
  17. WORD FAR PASCAL Global16PointerAlloc(WORD, DWORD, LPDWORD, DWORD, WORD);
  18. WORD FAR PASCAL Global16PointerFree(WORD, DWORD, WORD);
  19. WORD FAR PASCAL Global32CodeAlias(WORD, LPWORD, WORD);
  20. WORD FAR PASCAL Global32CodeAliasFree(WORD, WORD, WORD);
  21. /*
  22. *
  23. * Error Codes
  24. *
  25. */
  26. #define WM32_Invalid_Func 0001
  27. #define WM32_Invalid_Flags 0002
  28. #define WM32_Invalid_Arg 0003
  29. #define WM32_Insufficient_Sels 0004
  30. #define WM32_Insufficient_Mem 0005