source: trunk/src/kernel32/hmdisk.h@ 5655

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

added mailslot implemenation, named pipe fixes + FreeLibraryAndExitThread

File size: 1.7 KB
Line 
1/* $Id: hmdisk.h,v 1.3 2001-04-26 13:22:45 sandervl Exp $ */
2
3#ifndef __HMDISK_H__
4#define __HMDISK_H__
5
6/*****************************************************************************
7 * Includes *
8 *****************************************************************************/
9
10#include <handlemanager.h>
11#include "HMDevice.h"
12#include "HMObjects.h"
13
14/*****************************************************************************
15 * Structures *
16 *****************************************************************************/
17
18class HMDeviceDiskClass : public HMDeviceKernelObjectClass
19{
20public:
21 HMDeviceDiskClass(LPCSTR lpDeviceName);
22
23 //checks if device name belongs to this class
24 virtual BOOL FindDevice(LPCSTR lpClassDevName, LPCSTR lpDeviceName, int namelength);
25
26 /* this is a handler method for calls to CreateFile() */
27 virtual DWORD CreateFile (LPCSTR lpFileName,
28 PHMHANDLEDATA pHMHandleData,
29 PVOID lpSecurityAttributes,
30 PHMHANDLEDATA pHMHandleDataTemplate);
31
32 virtual BOOL CloseHandle(PHMHANDLEDATA pHMHandleData);
33
34 /* this is a handler method for calls to DeviceIoControl() */
35 virtual BOOL DeviceIoControl (PHMHANDLEDATA pHMHandleData, DWORD dwIoControlCode,
36 LPVOID lpInBuffer, DWORD nInBufferSize,
37 LPVOID lpOutBuffer, DWORD nOutBufferSize,
38 LPDWORD lpBytesReturned, LPOVERLAPPED lpOverlapped);
39};
40
41
42#endif //__HMDISK_H__
Note: See TracBrowser for help on using the repository browser.