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.

73 lines
2.7 KiB

  1. #define API _far _pascal _loadds
  2. HANDLE API IGlobalAlloc(WORD, DWORD);
  3. DWORD API IGlobalCompact(DWORD);
  4. HANDLE API IGlobalFree(HANDLE);
  5. DWORD API IGlobalHandle(WORD);
  6. LPSTR API IGlobalLock(HANDLE);
  7. HANDLE API IGlobalReAlloc(HANDLE, DWORD, WORD);
  8. DWORD API IGlobalSize(HANDLE);
  9. BOOL API IGlobalUnlock(HANDLE);
  10. WORD API IGlobalFlags(HANDLE);
  11. LPSTR API IGlobalWire(HANDLE);
  12. BOOL API IGlobalUnWire(HANDLE);
  13. HANDLE API IGlobalLRUNewest(HANDLE);
  14. HANDLE API IGlobalLRUOldest(HANDLE);
  15. VOID API IGlobalNotify(FARPROC);
  16. WORD API IGlobalPageLock(HANDLE);
  17. WORD API IGlobalPageUnlock(HANDLE);
  18. VOID API IGlobalFix(HANDLE);
  19. BOOL API IGlobalUnfix(HANDLE);
  20. DWORD API IGlobalDosAlloc(DWORD);
  21. WORD API IGlobalDosFree(WORD);
  22. HANDLE API IGetModuleHandle(LPSTR);
  23. int API IGetModuleUsage(HANDLE);
  24. int API IGetModuleFileName(HANDLE, LPSTR, int);
  25. FARPROC API IGetProcAddress(HANDLE, LPSTR);
  26. FARPROC API IMakeProcInstance(FARPROC, HANDLE);
  27. void API IFreeProcInstance(FARPROC);
  28. void API IOutputDebugString(LPSTR);
  29. //LPSTR API Ilstrcpy( LPSTR, LPSTR );
  30. //LPSTR API Ilstrcat( LPSTR, LPSTR );
  31. //int API IlstrOriginal( LPSTR, LPSTR );
  32. //int API Ilstrlen( LPSTR );
  33. int API I_lopen( LPSTR, int );
  34. int API I_lclose( int );
  35. int API I_lcreat( LPSTR, int );
  36. LONG API I_llseek( int, long, int );
  37. WORD API I_lread( int, LPSTR, int );
  38. WORD API I_lwrite( int, LPSTR, int );
  39. #define GlobalAlloc IGlobalAlloc
  40. #define GlobalFree IGlobalFree
  41. #define GlobalHandle IGlobalHandle
  42. #define GlobalLock IGlobalLock
  43. #define GlobalReAlloc IGlobalReAlloc
  44. #define GlobalSize IGlobalSize
  45. #define GlobalUnlock IGlobalUnlock
  46. #define GlobalFlags IGlobalFlags
  47. #define GlobalWire IGlobalWire
  48. #define GlobalUnWire IGlobalUnWire
  49. #define GlobalLRUNewest IGlobalLRUNewest
  50. #define GlobalLRUOldest IGlobalLRUOldest
  51. #define GlobalNotify IGlobalNotify
  52. #define GlobalPageLock IGlobalPageLock
  53. #define GlobalPageUnlock IGlobalPageUnlock
  54. #define GlobalFix IGlobalFix
  55. #define GlobalUnfix IGlobalUnfix
  56. #define GetProcAddress IGetProcAddress
  57. #define GetModuleHandle IGetModuleHandle
  58. #define GetModuleUsage IGetModuleUsage
  59. #define GetModuleFileName IGetModuleFileName
  60. #define GetFreeSpace IGetFreeSpace
  61. #define GetTempFileName IGetTempFileName
  62. //#define lstrcpy Ilstrcpy
  63. //#define lstrcat Ilstrcat
  64. //#define lstrOriginal IlstrOriginal
  65. //#define lstrlen Ilstrlen
  66. #define _lopen I_lopen
  67. #define _lclose I_lclose
  68. #define _lcreat I_lcreat
  69. #define _llseek I_llseek
  70. #define _lread I_lread
  71. #define _lwrite I_lwrite