Release 960611
[wine/multimedia.git] / include / global.h
blobdc8c939aad012a6eeba977741946ec06e04c418e
1 /*
2 * Global heap declarations
4 * Copyright 1995 Alexandre Julliard
5 */
7 #ifndef __WINE_GLOBAL_H
8 #define __WINE_GLOBAL_H
10 #include "wintypes.h"
12 typedef struct
14 HGLOBAL16 handle;
15 WORD sel;
16 int shmid;
17 } SHMDATA;
19 extern HGLOBAL16 GLOBAL_CreateBlock( UINT16 flags, const void *ptr, DWORD size,
20 HGLOBAL16 hOwner, BOOL16 isCode,
21 BOOL16 is32Bit, BOOL16 isReadOnly,
22 SHMDATA *shmdata);
23 extern BOOL16 GLOBAL_FreeBlock( HGLOBAL16 handle );
24 extern HGLOBAL16 GLOBAL_Alloc( WORD flags, DWORD size, HGLOBAL16 hOwner,
25 BOOL16 isCode, BOOL16 is32Bit,
26 BOOL16 isReadOnly );
27 extern WORD GlobalHandleToSel( HGLOBAL16 handle );
29 #endif /* __WINE_GLOBAL_H */