Release 960506
[wine/multimedia.git] / include / global.h
blob42014fcba6d7572ad4c95e98dd9c95a68f655830
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, BOOL isCode,
21 BOOL is32Bit, BOOL isReadOnly,
22 SHMDATA *shmdata);
23 extern BOOL GLOBAL_FreeBlock( HGLOBAL16 handle );
24 extern HGLOBAL16 GLOBAL_Alloc( WORD flags, DWORD size, HGLOBAL16 hOwner,
25 BOOL isCode, BOOL is32Bit, BOOL isReadOnly );
26 extern WORD GlobalHandleToSel( HGLOBAL16 handle );
28 #endif /* __WINE_GLOBAL_H */