I am not getting concept regarding NT processes as I am using native APIs.Since they are returning values like STATUS_TIMEOUT, STATUS_PENDING etc.What does STATUS_PENDING really mean?
My code goes like this.
NTSTATUS rc;
rc = NtReadFile(
Keybrds[iLoop].hKeyboard,
Keybrds[iLoop].hEvent,
NULL,
NULL,
&IoStatusBlock,
&KbData,
sizeof(KEYBOARD_INPUT_DATA),
&ByteOffset,
NULL
);
Here,NtReadFile() is returning STATUS_PENDING, what does that means?