source: trunk/include/win/user.h@ 6757

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

header updates

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