blob: dc49ab1839c84406ef8d20a293384e2aa64e3e3c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
/*++ BUILD Version: 0001
*
* WOW v1.0
*
* Copyright (c) 1991, Microsoft Corporation
*
* WCALL16.H
* WOW32 16-bit message/callback support
*
* History:
* Created 11-Mar-1991 by Jeff Parsons (jeffpar)
* Changed 18-Aug-1992 by Mike Tricker (MikeTri) Added DOS PDB and SFT prototypes
--*/
/* Function prototypes
*/
HANDLE LocalAlloc16(WORD wFlags, INT cb, HANDLE hInstance);
HANDLE LocalReAlloc16(HANDLE hMem, INT cb, WORD wFlags);
VPVOID LocalLock16(HANDLE hMem);
BOOL LocalUnlock16(HANDLE hMem);
WORD LocalSize16(HANDLE hMem);
HANDLE LocalFree16(HANDLE hMem);
BOOL LockSegment16(WORD wSeg);
BOOL UnlockSegment16(WORD wSeg);
HAND16 GetExePtr16( HAND16 hInstance );
WORD ChangeSelector16( WORD wSeg );
VPVOID RealLockResource16( HMEM16 hMem, PINT pcb );
WORD GetModuleFileName16( HAND16 hInst, VPVOID lpszModuleName, WORD cchModuleName );
BOOL CallBack16(INT iRetID, PPARM16 pParms, VPPROC vpfnProc, PVPVOID pvpReturn);
VPVOID FASTCALL malloc16(UINT cb);
BOOL FASTCALL free16(VPVOID vp);
VPVOID FASTCALL stackalloc16(UINT cb);
#define stackfree16(vp)
ULONG GetDosPDB16(VOID);
ULONG GetDosSFT16(VOID);
/* Function prototypes for 16-bit Global memory functions are now in
* \nt\public\sdk\inc\winntwow.h with slightly different names. The
* old names are supported by the following defines:
*/
#define GlobalAllocLock16 WOWGlobalAllocLock16
#define GlobalLock16 WOWGlobalLockSize16
#define GlobalUnlock16 WOWGlobalUnlock16
#define GlobalUnlockFree16 WOWGlobalUnlockFree16
|