sys: IRP_MJ_CREATE: allow simple volume opens

This commit is contained in:
Bill Zissimopoulos
2015-12-11 14:43:31 -08:00
parent a6c81010b6
commit 43b8fc00f5
5 changed files with 44 additions and 18 deletions

View File

@ -379,6 +379,14 @@ VOID FspDeviceDeleteList(
VOID FspDeviceDeleteAll(VOID);
/* file objects */
#define FspFileContextKind(FsContext) \
(((FSP_FILE_CONTEXT *)FsContext)->Header.NodeTypeCode)
#define FspFileContextIsValid(FsContext)\
(0 != (FsContext) && FspFileContextFileKind == ((FSP_FILE_CONTEXT *)FsContext)->Header.NodeTypeCode)
enum
{
FspFileContextFileKind = 'BZ',
};
typedef struct
{
ERESOURCE Resource;