X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Fdrivers%2Ffilesystems%2Ffastfat%2Fvfat.h;h=15a91f2b338e448ff9c01816618f760983336e88;hp=b02d4b480f184442edc3c84bb92861ff4a71256e;hb=0440330ea68f6de151bce4b553f7e6b26deb6451;hpb=545615df47dbc7dc64e85bdbdb85cfce1965fcc6 diff --git a/reactos/drivers/filesystems/fastfat/vfat.h b/reactos/drivers/filesystems/fastfat/vfat.h index b02d4b480f1..15a91f2b338 100644 --- a/reactos/drivers/filesystems/fastfat/vfat.h +++ b/reactos/drivers/filesystems/fastfat/vfat.h @@ -271,6 +271,7 @@ typedef struct DEVICE_EXTENSION ULONG HashTableSize; struct _HASHENTRY **FcbHashTable; + PDEVICE_OBJECT VolumeDevice; PDEVICE_OBJECT StorageDevice; PFILE_OBJECT FATFileObject; FATINFO FatInfo; @@ -297,7 +298,7 @@ typedef struct DEVICE_EXTENSION LIST_ENTRY NotifyList; PNOTIFY_SYNC NotifySync; - /* Incremented on IRP_MJ_CREATE, decremented on IRP_MJ_CLEANUP */ + /* Incremented on IRP_MJ_CREATE, decremented on IRP_MJ_CLOSE */ ULONG OpenHandleCount; /* VPBs for dismount */ @@ -928,6 +929,11 @@ VfatLockUserBuffer( IN ULONG, IN LOCK_OPERATION); +BOOLEAN +VfatCheckForDismount( + IN PDEVICE_EXTENSION DeviceExt, + IN BOOLEAN Create); + /* pnp.c */ NTSTATUS