2 * Global heap declarations
4 * Copyright 1995 Alexandre Julliard
7 #ifndef __WINE_GLOBAL_H
8 #define __WINE_GLOBAL_H
11 #include "wine/windef16.h"
12 #include "wine/library.h"
15 extern HGLOBAL16
GLOBAL_CreateBlock( UINT16 flags
, const void *ptr
, DWORD size
,
16 HGLOBAL16 hOwner
, unsigned char selflags
);
17 extern BOOL16
GLOBAL_FreeBlock( HGLOBAL16 handle
);
18 extern BOOL16
GLOBAL_MoveBlock( HGLOBAL16 handle
, const void *ptr
, DWORD size
);
19 extern HGLOBAL16
GLOBAL_Alloc( WORD flags
, DWORD size
, HGLOBAL16 hOwner
, unsigned char selflags
);
21 /* memory/virtual.c */
22 typedef BOOL (*HANDLERPROC
)(LPVOID
, LPCVOID
);
23 extern BOOL
VIRTUAL_SetFaultHandler(LPCVOID addr
, HANDLERPROC proc
, LPVOID arg
);
24 extern DWORD
VIRTUAL_HandleFault(LPCVOID addr
);
27 extern BOOL
ATOM_Init( WORD globalTableSel
);
29 #endif /* __WINE_GLOBAL_H */