#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;
View code on GitHubNo description available.
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.
Buffer receiving data is described as IO_COMPLETION_BASIC_INFORMATION structure and has 0x04 bytes length.