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

# NtSetVolumeInformationFile(3w)

## NAME

**NtSetVolumeInformationFile** (NTDLL.@)

## SYNOPSIS

NTSTATUS NtSetVolumeInformationFile\
  (\
   IN HANDLE            *FileHandle*,\
   PIO\_STATUS\_BLOCK     *IoStatusBlock*,\
   PVOID                *FsInformation*,\
   ULONG                *Length*,\
   FS\_INFORMATION\_CLASS *FsInformationClass*\
  )

## DESCRIPTION

Set volume information for an open file handle.

## PARAMS

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

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

*FsInformation* **\[In\]**  Source for volume information.

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

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

## RETURNS

**Success:** **0.** *IoStatusBlock* is updated.

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

## IMPLEMENTATION

Declared in **"winternl.h"**.

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

Debug channel **"ntdll"**.
