source: trunk/src/kernel32/hmtoken.h@ 2246

Last change on this file since 2246 was 2129, checked in by sandervl, 26 years ago

Added token handlemanager class + HMHandleGetUserData export

File size: 1.6 KB
Line 
1/* $Id: hmtoken.h,v 1.1 1999-12-18 21:45:55 sandervl Exp $ */
2
3/*
4 * Project Odin Software License can be found in LICENSE.TXT
5 * Win32 Unified Handle Manager for OS/2
6 * 1999/06/17 PH Patrick Haller (phaller@gmx.net)
7 */
8
9#ifndef _HM_DEVICE_TOKEN_H_
10#define _HM_DEVICE_TOKEN_H_
11
12
13/*****************************************************************************
14 * Remark *
15 *****************************************************************************
16 */
17
18
19/*****************************************************************************
20 * Includes *
21 *****************************************************************************/
22
23#include "HMDevice.h"
24#include "HMObjects.h"
25
26
27/*****************************************************************************
28 * Structures *
29 *****************************************************************************/
30
31class HMDeviceTokenClass : public HMDeviceKernelObjectClass
32{
33public:
34 HMDeviceTokenClass(LPCSTR lpDeviceName) : HMDeviceKernelObjectClass(lpDeviceName) {}
35
36 virtual DWORD OpenThreadToken(PHMHANDLEDATA pHMHandleData,
37 DWORD dwUserData,
38 HANDLE ThreadHandle,
39 BOOL OpenAsSelf);
40
41 virtual DWORD OpenProcessToken(PHMHANDLEDATA pHMHandleData,
42 DWORD dwUserData,
43 HANDLE ProcessHandle);
44
45 virtual DWORD CloseHandle(PHMHANDLEDATA pHMHandleData);
46};
47
48
49#endif /* _HM_DEVICE_MEMMAP_H_ */
50
Note: See TracBrowser for help on using the repository browser.