Cleaned up the various errno location tests in configure.
[wine.git] / include / global.h
blob89bd38b6b2169e8796527ce1534910b640b70fee
1 /*
2 * Global heap declarations
4 * Copyright 1995 Alexandre Julliard
5 */
7 #ifndef __WINE_GLOBAL_H
8 #define __WINE_GLOBAL_H
10 #include "windef.h"
11 #include "wine/windef16.h"
12 #include "wine/library.h"
14 /* memory/global.c */
15 extern HGLOBAL16 GLOBAL_CreateBlock( UINT16 flags, const void *ptr, DWORD size,
16 HGLOBAL16 hOwner, unsigned char selflags );
17 extern BOOL16 GLOBAL_FreeBlock( HGLOBAL16 handle );
18 extern BOOL16 GLOBAL_MoveBlock( HGLOBAL16 handle, const void *ptr, DWORD size );
19 extern HGLOBAL16 GLOBAL_Alloc( WORD flags, DWORD size, HGLOBAL16 hOwner, unsigned char selflags );
21 /* memory/virtual.c */
22 typedef BOOL (*HANDLERPROC)(LPVOID, LPCVOID);
23 extern BOOL VIRTUAL_SetFaultHandler(LPCVOID addr, HANDLERPROC proc, LPVOID arg);
24 extern DWORD VIRTUAL_HandleFault(LPCVOID addr);
26 /* memory/atom.c */
27 extern BOOL ATOM_Init( WORD globalTableSel );
29 #endif /* __WINE_GLOBAL_H */