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

/*
* Function protypes and general defines for WINMEM32 DLL
* Version 1.00
*
* NOTE that WINDOWS.H must be included before this file.
*
*/
/*
*
* The functions
*
*/
WORD FAR PASCAL GetWinMem32Version(void);
WORD FAR PASCAL Global32Alloc(DWORD, LPWORD, DWORD, WORD);
WORD FAR PASCAL Global32Realloc(WORD, DWORD, WORD);
WORD FAR PASCAL Global32Free(WORD, WORD);
WORD FAR PASCAL Global16PointerAlloc(WORD, DWORD, LPDWORD, DWORD, WORD);
WORD FAR PASCAL Global16PointerFree(WORD, DWORD, WORD);
WORD FAR PASCAL Global32CodeAlias(WORD, LPWORD, WORD);
WORD FAR PASCAL Global32CodeAliasFree(WORD, WORD, WORD);
/*
*
* Error Codes
*
*/
#define WM32_Invalid_Func 0001
#define WM32_Invalid_Flags 0002
#define WM32_Invalid_Arg 0003
#define WM32_Insufficient_Sels 0004
#define WM32_Insufficient_Mem 0005