PFN_HSE_IO_COMPLETION

VOID WINAPI * PFN_HSE_IO_COMPLETION(
  EXTENSION_CONTROL_BLOCK * pECB,
  PVOID pContext,
  DWORD cbIO,
  DWORD dwError
); 

Parameters

pECB
Points to the EXTENSION_CONTROL_BLOCK for the request.
pContext
Points to the context that can be used to identify the connection. This is the context that was supplied to IIS when the asynchronous I/O callback function was registered.
cbIO
A DWORD that contains the number of bytes of I/O in the last call.
dwError
The error code returned.

Remarks

This is the callback function for handling completions of asynchronous I/O operations. This function performs necessary clean up and resubmits additional I/O, if required. If there is no more work to be done for the current request, this function cleans up the state and notifies IIS that the request is ending by sending a ServerSupportFunction with the HSE_REQ_DONE_WITH_SESSION value.