Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 86 of file io.c.
Referenced by VfatChkdsk().
{ ULONG DirtyMask = 0; NTSTATUS Status; IO_STATUS_BLOCK IoSb; /* Check if volume is dirty */ Status = NtFsControlFile(fd, NULL, NULL, NULL, &IoSb, FSCTL_IS_VOLUME_DIRTY, NULL, 0, &DirtyMask, sizeof(DirtyMask)); if (!NT_SUCCESS(Status)) { DPRINT1("NtFsControlFile() failed with Status 0x%08x\n", Status); return FALSE; } /* Convert Dirty mask to a boolean value */ return (DirtyMask & 1); }