---
name: "NtQueryVolumeInformationFile"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/NtQueryVolumeInformationFile"
---

# NtQueryVolumeInformationFile(3w)

## NAME

**NtQueryVolumeInformationFile** (NTDLL.@)

## SYNOPSIS

NTSTATUS NtQueryVolumeInformationFile\
  (\
   HANDLE               *handle*,\
   PIO\_STATUS\_BLOCK     *io*,\
   PVOID                *buffer*,\
   ULONG                *length*,\
   FS\_INFORMATION\_CLASS *info\_class*\
  )

## DESCRIPTION

Get volume information for an open file *handle*.

## PARAMS

*handle* **\[In\]**  Handle returned from **ZwOpenFile(3w)** or **ZwCreateFile(3w)**.

*io* **\[Out\]**  Receives information about the operation on return.

*buffer* **\[Out\]**  Destination for volume information.

*length* **\[In\]**  Size of FsInformation.

*info\_class* **\[In\]**  Type of volume information to set.

## RETURNS

**Success:** **0.** *io* and *buffer* are updated.

**Failure:** An **NTSTATUS** error code describing the error.

## IMPLEMENTATION

Declared in **"winioctl.h"**.

Implemented in **"dlls/ntdll/file.c"**.

Debug channel **"ntdll"**.
