IO_COMPLETION_INFORMATION_CLASS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTIOAPI_H

/**
 * The IO_COMPLETION_INFORMATION_CLASS enumeration type specifies the type of I/O completion information to be queried.
 * \remarks NtQueryIoCompletion accepts only IoCompletionBasicInformation (0). The buffer must be exactly
 * sizeof(IO_COMPLETION_BASIC_INFORMATION) (4 bytes) and must be aligned to a 4-byte boundary for user-mode callers.
 * The completion port handle must have IO_COMPLETION_QUERY_STATE access. Other classes return STATUS_INVALID_INFO_CLASS;
 * an incorrect buffer length returns STATUS_INFO_LENGTH_MISMATCH. On success, ReturnLength, if supplied, receives 4.
 */
typedef enum _IO_COMPLETION_INFORMATION_CLASS
{
    IoCompletionBasicInformation // q: IO_COMPLETION_BASIC_INFORMATION
} IO_COMPLETION_INFORMATION_CLASS;

#endif

View code on GitHub

NtDoc

No description available.

NTinternals.net (undocumented.ntinternals.net)

Enumeration type IO_COMPLETION_INFORMATION_CLASS is used with NtQueryIoCompletion function to get information about IO Completion object. Currently only one information class is defined.

IoCompletionBasicInformation

Buffer receiving data is described as IO_COMPLETION_BASIC_INFORMATION structure and has 0x04 bytes length.

Documented by

See also