Windows Driver Kit: User-Mode Driver Framework
IRequestCallbackRequestCompletion::OnCompletion

The OnCompletion method completes the specified request.

void 
  OnCompletion(
    IN IWDFIoRequest*  pWdfRequest,
    IN IWDFIoTarget*  pIoTarget,
    IN IWDFRequestCompletionParams*  pParams,
    IN void*  pContext
    );

Parameters

pWdfRequest
A pointer to the IWDFIoRequest interface that represents the framework request object.
pIoTarget
A pointer to the IWDFIoTarget interface for the I/O target object that represents the lower driver in the stack where the request was previously sent.
pParams
A pointer to the IWDFRequestCompletionParams interface for the parameters object for the completion request.
pContext
A pointer to a buffer that contains context information that is related to the completion request.

Return Value

None

Comments

A driver registers the IRequestCallbackRequestCompletion interface when the driver calls the IWDFIoRequest::SetCompletionCallback method.

Requirements

Headers: Declared in Wudfddi.h. Include Wudfddi.h.

See Also

IRequestCallbackRequestCompletion, IWDFIoRequest, IWDFIoRequest::SetCompletionCallback, IWDFRequestCompletionParams, IWDFIoTarget


Send feedback on this topic
Built on November 19, 2009
Page view tracker