Alexandre Julliard | e2abbb1 | 1995-03-19 17:39:39 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Local heap declarations |
| 3 | * |
| 4 | * Copyright 1995 Alexandre Julliard |
| 5 | */ |
| 6 | |
Alexandre Julliard | fa68b75 | 1995-04-03 16:55:37 +0000 | [diff] [blame] | 7 | #ifndef __WINE_LOCAL_H |
| 8 | #define __WINE_LOCAL_H |
Alexandre Julliard | e2abbb1 | 1995-03-19 17:39:39 +0000 | [diff] [blame] | 9 | |
Jim Aston | 2e1cafa | 1999-03-14 16:35:05 +0000 | [diff] [blame] | 10 | #include "windef.h" |
Alexandre Julliard | e2abbb1 | 1995-03-19 17:39:39 +0000 | [diff] [blame] | 11 | |
| 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. */ |
| 15 | |
Alexandre Julliard | 1285c2f | 1996-05-06 16:06:24 +0000 | [diff] [blame] | 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 ); |
Alexandre Julliard | 1e37a18 | 1996-08-18 16:21:52 +0000 | [diff] [blame] | 26 | extern SEGPTR LOCAL_LockSegptr( HANDLE16 ds, HLOCAL16 handle ); |
Alexandre Julliard | 3051b64 | 1996-07-05 17:14:13 +0000 | [diff] [blame] | 27 | extern BOOL16 LOCAL_Unlock( HANDLE16 ds, HLOCAL16 handle ); |
Alexandre Julliard | 03468f7 | 1998-02-15 19:40:49 +0000 | [diff] [blame] | 28 | extern WORD LOCAL_Compact( HANDLE16 ds, UINT16 minfree, UINT16 flags ); |
Alexandre Julliard | e2abbb1 | 1995-03-19 17:39:39 +0000 | [diff] [blame] | 29 | |
Alexandre Julliard | fa68b75 | 1995-04-03 16:55:37 +0000 | [diff] [blame] | 30 | #endif /* __WINE_LOCAL_H */ |