See ReadRtFile, WriteRtFile, WaitForRtIo
Used in asynchronous I/O operations.
typedef struct AsyncIo { RTHANDLE hFile; // (set by O/S on initialization) RTHANDLE hMailbox; // [in] handle of reply mailbox WORD wOperation; // (set by O/S on initialization) WORD wStatus; // (set by O/S on completion)
QWORD qwFilePointer; // [in] file location for operation LPVOID lpOriginalBuffer; // (set by O/S on initialization) DWORD cbAmountRequested; // (set by O/S on initialization) DWORD cbAmountReturned; // (set by O/S on completion) LPFUNC IoCompletion; // [in] pointer to completion function LPVOID lpContext; // [in] pointer to user context } ASYNCIO, *LPASYNCIO; // Operations: #define ASYNC_OP_READ 1 #define ASYNC_OP_WRITE 2
hFile
hMailbox
wOperation
wOperation
wStatus
qwFilePointer
lpOriginalBuffer
cbAmountRequested
cbAmountReturned
IoCompletion
lpContext