source: trunk/src/user32/win32wndhandle.h@ 8202

Last change on this file since 8202 was 8202, checked in by sandervl, 23 years ago

changed vmutex usage

File size: 718 bytes
Line 
1/* $Id: win32wndhandle.h,v 1.5 2002-04-07 14:37:00 sandervl Exp $ */
2/*
3 * Win32 Handle Management Code for OS/2
4 *
5 *
6 * Copyright 1998 Sander van Leeuwen (sandervl@xs4all.nl)
7 *
8 *
9 * Project Odin Software License can be found in LICENSE.TXT
10 *
11 */
12#ifndef __WIN32WNDHANDLE_H__
13#define __WIN32WNDHANDLE_H__
14
15#define MAX_WINDOW_HANDLES 1024
16#define WNDHANDLE_MAGIC_HIGHWORD 0x68000000
17#define WNDHANDLE_MAGIC_MASK 0x0000FFFF
18
19#define WINHANDLE_CRITSECTION_NAME "\\SEM32\\ODIN_WINHANDLE.SEM"
20
21void InitializeWindowHandles();
22BOOL HwAllocateWindowHandle(HWND *hwnd, DWORD dwUserData);
23void HwFreeWindowHandle(HWND hwnd);
24BOOL HwGetWindowHandleData(HWND hwnd, DWORD *pdwUserData);
25
26#endif //__WIN32WNDHANDLE_H__
Note: See TracBrowser for help on using the repository browser.