Fixed compilation.
[wine/multimedia.git] / include / local.h
blob9073f8f1096a6b12dc5e986232d86876419ce39d
1 /*
2 * Local heap declarations
4 * Copyright 1995 Alexandre Julliard
5 */
7 #ifndef __WINE_LOCAL_H
8 #define __WINE_LOCAL_H
10 #include "wintypes.h"
12 /* These function are equivalent to the Local* API functions, */
13 /* excepted that they need DS as the first parameter. This */
14 /* allows managing several heaps from the emulation library. */
16 extern HLOCAL16 LOCAL_Alloc( HANDLE16 ds, UINT16 flags, WORD size );
17 extern HLOCAL16 LOCAL_ReAlloc( HANDLE16 ds, HLOCAL16 handle,
18 WORD size, UINT16 flags );
19 extern HLOCAL16 LOCAL_Free( HANDLE16 ds, HLOCAL16 handle );
20 extern HLOCAL16 LOCAL_Handle( HANDLE16 ds, WORD addr );
21 extern UINT16 LOCAL_Size( HANDLE16 ds, HLOCAL16 handle );
22 extern UINT16 LOCAL_Flags( HANDLE16 ds, HLOCAL16 handle );
23 extern UINT16 LOCAL_HeapSize( HANDLE16 ds );
24 extern UINT16 LOCAL_CountFree( HANDLE16 ds );
25 extern LPSTR LOCAL_Lock( HANDLE16 ds, HLOCAL16 handle );
26 extern SEGPTR LOCAL_LockSegptr( HANDLE16 ds, HLOCAL16 handle );
27 extern BOOL16 LOCAL_Unlock( HANDLE16 ds, HLOCAL16 handle );
28 extern WORD LOCAL_Compact( HANDLE16 ds, UINT16 minfree, UINT16 flags );
30 #endif /* __WINE_LOCAL_H */