Fixed winebuild to work on non-Intel architectures.
[wine] / include / local.h
CommitLineData
e2abbb1b
AJ
1/*
2 * Local heap declarations
3 *
4 * Copyright 1995 Alexandre Julliard
5 */
6
fa68b75b
AJ
7#ifndef __WINE_LOCAL_H
8#define __WINE_LOCAL_H
e2abbb1b 9
2e1cafa2 10#include "windef.h"
83f52d11 11#include "wine/windef16.h"
e2abbb1b
AJ
12
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. */
16
1285c2f9
AJ
17extern HLOCAL16 LOCAL_Alloc( HANDLE16 ds, UINT16 flags, WORD size );
18extern HLOCAL16 LOCAL_ReAlloc( HANDLE16 ds, HLOCAL16 handle,
19 WORD size, UINT16 flags );
20extern HLOCAL16 LOCAL_Free( HANDLE16 ds, HLOCAL16 handle );
21extern HLOCAL16 LOCAL_Handle( HANDLE16 ds, WORD addr );
22extern UINT16 LOCAL_Size( HANDLE16 ds, HLOCAL16 handle );
23extern UINT16 LOCAL_Flags( HANDLE16 ds, HLOCAL16 handle );
24extern UINT16 LOCAL_HeapSize( HANDLE16 ds );
25extern UINT16 LOCAL_CountFree( HANDLE16 ds );
16e92eb3 26extern void *LOCAL_Lock( HANDLE16 ds, HLOCAL16 handle );
3051b644 27extern BOOL16 LOCAL_Unlock( HANDLE16 ds, HLOCAL16 handle );
03468f7d 28extern WORD LOCAL_Compact( HANDLE16 ds, UINT16 minfree, UINT16 flags );
e2abbb1b 29
fa68b75b 30#endif /* __WINE_LOCAL_H */