source: trunk/src/kernel32/hmmmap.h

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

added mailslot implemenation, named pipe fixes + FreeLibraryAndExitThread

File size: 2.8 KB
RevLine 
[5587]1/* $Id: hmmmap.h,v 1.6 2001-04-26 13:22:46 sandervl Exp $ */
[664]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_MEMMAP_H_
10#define _HM_DEVICE_MEMMAP_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 HMDeviceMemMapClass : public HMDeviceKernelObjectClass
32{
33public:
34 HMDeviceMemMapClass(LPCSTR lpDeviceName) : HMDeviceKernelObjectClass(lpDeviceName) {}
35
36 /* this is a handler method for calls to CreateFileMapping() */
37 virtual DWORD CreateFileMapping (PHMHANDLEDATA pHMHandleData,
38 HANDLE hFile,
39 LPSECURITY_ATTRIBUTES lpFileMappingAttributes,
40 DWORD flProtect,
41 DWORD dwMaximumSizeHigh,
42 DWORD dwMaximumSizeLow,
[5011]43 LPCSTR lpName);
[664]44
45 /* this is a handler method for calls to OpenFileMapping() */
46 virtual DWORD OpenFileMapping (PHMHANDLEDATA pHMHandleData,
[678]47 DWORD access, /* [in] Access mode */
[664]48 BOOL fInherit,
49 LPCSTR lpName);
50
51 /* this is a handler method for calls to MapViewOfFile() */
52 virtual LPVOID MapViewOfFileEx (PHMHANDLEDATA pHMHandleData,
53 DWORD dwDesiredAccess,
54 DWORD dwFileOffsetHigh,
55 DWORD dwFileOffsetLow,
56 DWORD dwNumberOfBytesToMap,
[678]57 LPVOID lpBaseAddress);
[664]58
[5587]59 virtual BOOL CloseHandle(PHMHANDLEDATA pHMHandleData);
[664]60};
61
62
63#endif /* _HM_DEVICE_MEMMAP_H_ */
64
Note: See TracBrowser for help on using the repository browser.