NT4/private/oleauto/tools/win16/hdos/c800/include/winmem32.h
2020-09-30 17:12:29 +02:00

33 lines
805 B
C

/*
* 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