FSCTL_IS_VOLUME_OWNED_BYCSVFS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// winioctl.h

// CTL_CODE(0x0009, 0x09e, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define FSCTL_IS_VOLUME_OWNED_BYCSVFS 0x00090278
View the official Win32 API reference

NtDoc

No description available.

Win32 API reference (ni-winioctl-fsctl_is_volume_owned_bycsvfs)

FSCTL_IS_VOLUME_OWNED_BYCSVFS IOCTL

Description

Determines whether a volume is locked by CSVFS.

To perform this operation, call the DeviceIoControl function with the following parameters.

BOOL DeviceIoControl(
  (HANDLE) hDevice,                 // handle to device
  FSCTL_IS_VOLUME_OWNED_BYCSVFS,    // dwIoControlCode
  NULL,                             // input buffer
  0,                                // size of input buffer
  (LPVOID) lpOutBuffer,             // lpOutBuffer
  (DWORD) nOutBufferSize,           // nOutBufferSize
  (LPDWORD) lpBytesReturned,        // number of bytes returned
  (LPOVERLAPPED) lpOverlapped       // OVERLAPPED structure
);

Parameters

Input buffer

Input buffer length

Output buffer

Output buffer length

Input/output buffer

Input/output buffer length

Status block

Irp->IoStatus.Status is set to STATUS_SUCCESS if the request is successful.

Otherwise, Status to the appropriate error condition as a NTSTATUS code.

For more information, see NTSTATUS Values.

Remarks

If the volume is locked on behalf of CSVFS, the control code returns information that is sent to an NTFS volume. If the volume is locked (using FSCTL_LOCK_VOLUME) from a request that originates from CSVFS, then the CSV_IS_OWNED_BY_CSVFS structure's OwnedByCSVFS member has a value of TRUE.

See also