2 * Local heap declarations
4 * Copyright 1995 Alexandre Julliard
11 #include "wine/windef16.h"
13 /* These function are equivalent to the Local* API functions, */
14 /* excepted that they need DS as the first parameter. This */
15 /* allows managing several heaps from the emulation library. */
17 extern HLOCAL16 LOCAL_Alloc( HANDLE16 ds, UINT16 flags, WORD size );
18 extern HLOCAL16 LOCAL_ReAlloc( HANDLE16 ds, HLOCAL16 handle,
19 WORD size, UINT16 flags );
20 extern HLOCAL16 LOCAL_Free( HANDLE16 ds, HLOCAL16 handle );
21 extern HLOCAL16 LOCAL_Handle( HANDLE16 ds, WORD addr );
22 extern UINT16 LOCAL_Size( HANDLE16 ds, HLOCAL16 handle );
23 extern UINT16 LOCAL_Flags( HANDLE16 ds, HLOCAL16 handle );
24 extern UINT16 LOCAL_HeapSize( HANDLE16 ds );
25 extern UINT16 LOCAL_CountFree( HANDLE16 ds );
26 extern void *LOCAL_Lock( 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 */