FSCTL_QUERY_VOLUME_NUMA_INFO - NtDoc

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

// CTL_CODE(0x0009, 0x0f5, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define FSCTL_QUERY_VOLUME_NUMA_INFO 0x000903D4
View the official Windows hardware development documentation

NtDoc

No description available.

Windows hardware development documentation (fsctl-query-volume-numa-info)

FSCTL_QUERY_VOLUME_NUMA_INFO control code

The FSCTL_QUERY_VOLUME_NUMA_INFO control code finds the current Non-Uniform Memory Architecture (NUMA) node index for a volume.

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

BOOL
   WINAPI
   DeviceIoControl( (HANDLE)       hDevice,
                    (DWORD)        FSCTL_QUERY_VOLUME_NUMA_INFO, // dwIoControlCode
                    (LPDWORD)      lpInBuffer,      // input buffer
                    (DWORD)        nInBufferSize,   // size of input buffer
                    (LPDWORD)      lpOutBuffer,     // output buffer
                    (DWORD)        nOutBufferSize,  // size of output buffer
                    (LPDWORD)      lpBytesReturned, // number of bytes returned
                    (LPOVERLAPPED) lpOverlapped );  // OVERLAPPED structure

Parameters

This can also be a handle to a file or directory in the device as well. This FSCTL would return the NUMA node for the volume that contains the file or directory.

Return value

If the operation completes successfully, DeviceIoControl returns a nonzero value.

If the operation fails or is pending, DeviceIoControl returns zero. To get extended error information, call GetLastError.

Requirements

Requirement type Requirement
Header WinIoctl.h; Ntifs.h

See also

DeviceIoControl

FSCTL_QUERY_VOLUME_NUMA_INFO_OUTPUT