2 * Global heap declarations
4 * Copyright 1995 Alexandre Julliard
7 #ifndef __WINE_GLOBAL_H
8 #define __WINE_GLOBAL_H
20 extern HGLOBAL16 GLOBAL_CreateBlock( UINT16 flags, const void *ptr, DWORD size,
21 HGLOBAL16 hOwner, BOOL16 isCode,
22 BOOL16 is32Bit, BOOL16 isReadOnly,
24 extern BOOL16 GLOBAL_FreeBlock( HGLOBAL16 handle );
25 extern HGLOBAL16 GLOBAL_Alloc( WORD flags, DWORD size, HGLOBAL16 hOwner,
26 BOOL16 isCode, BOOL16 is32Bit,
28 extern WORD GlobalHandleToSel( HGLOBAL16 handle );
30 /* memory/virtual.c */
31 extern DWORD VIRTUAL_GetPageSize(void);
32 extern DWORD VIRTUAL_GetGranularity(void);
34 #endif /* __WINE_GLOBAL_H */