mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
692 B
69 lines
692 B
/*++
|
|
|
|
Copyright (c) 1998 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
volumes.h
|
|
|
|
Abstract:
|
|
|
|
SIS Groveler volume mount include file
|
|
|
|
Authors:
|
|
|
|
John Douceur, 1998
|
|
|
|
Environment:
|
|
|
|
User Mode
|
|
|
|
|
|
Revision History:
|
|
|
|
|
|
--*/
|
|
|
|
#ifndef _INC_VOLUMES
|
|
|
|
#define _INC_VOLUMES
|
|
|
|
class Volumes
|
|
{
|
|
public:
|
|
|
|
Volumes();
|
|
|
|
~Volumes();
|
|
|
|
DWORD find(
|
|
_TCHAR *volume_name,
|
|
DWORD length);
|
|
|
|
private:
|
|
|
|
HANDLE volume_handle;
|
|
};
|
|
|
|
class VolumeMountPoints
|
|
{
|
|
public:
|
|
|
|
VolumeMountPoints(
|
|
_TCHAR *volume_name);
|
|
|
|
~VolumeMountPoints();
|
|
|
|
DWORD find(
|
|
_TCHAR *volume_mount_point,
|
|
DWORD length);
|
|
|
|
private:
|
|
|
|
_TCHAR *volume_name;
|
|
DWORD drive_mask;
|
|
_TCHAR drive_letter;
|
|
HANDLE volume_handle;
|
|
};
|
|
|
|
#endif /* _INC_VOLUMES */
|