source: trunk/include/win/user.h

Last change on this file was 6758, checked in by sandervl, 24 years ago

header updates

File size: 1.0 KB
Line 
1/*
2 * USER definitions
3 *
4 * Copyright 1993 Alexandre Julliard
5 */
6
7#ifndef __WINE_USER_H
8#define __WINE_USER_H
9
10#include "ldt.h"
11#include "local.h"
12
13#define USER_HEAP_ALLOC(size) HeapAlloc(GetProcessHeap(),0,size)
14#define USER_HEAP_FREE(handle) HeapFree(GetProcessHeap(),0,(LPVOID)handle)
15#define USER_HEAP_REALLOC(handle,size) HeapRealloc(GetProcessHeap(),0,(LPVOID)handle, size)
16#define USER_HEAP_LIN_ADDR(handle) (PVOID)handle
17#define USER_HEAP_SEG_ADDR(handle) (PVOID)handle
18
19#define USUD_LOCALALLOC 0x0001
20#define USUD_LOCALFREE 0x0002
21#define USUD_LOCALCOMPACT 0x0003
22#define USUD_LOCALHEAP 0x0004
23#define USUD_FIRSTCLASS 0x0005
24
25typedef struct tagUSER_DRIVER {
26 BOOL (*pInitialize)(void);
27 void (*pFinalize)(void);
28 void (*pBeginDebugging)(void);
29 void (*pEndDebugging)(void);
30} USER_DRIVER;
31
32extern USER_DRIVER *USER_Driver;
33
34void USER_ExitWindows(void);
35WORD WINAPI UserSignalProc( UINT uCode, DWORD dwThreadOrProcessID,
36 DWORD dwFlags, HMODULE16 hModule );
37
38#endif /* __WINE_USER_H */
Note: See TracBrowser for help on using the repository browser.