Add exclusion defs & remaining funcs, remove internal types &
[wine/hacks.git] / include / local.h
blob66ee895b4d3630151905a9b6bbb5c70b5c1e3888
1 /*
2 * Local heap declarations
4 * Copyright 1995 Alexandre Julliard
5 */
7 #ifndef __WINE_LOCAL_H
8 #define __WINE_LOCAL_H
10 #include "windef.h"
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 */