// ks.h
KSDDKAPI NTSTATUS KsDispatchSpecificMethod(
[in] PIRP Irp,
[in] PFNKSHANDLER Handler
);
View the official Windows Driver Kit DDI referenceNo description available.
The KsDispatchSpecificMethod function dispatches a method to a specific handler. The function assumes that the caller has previously dispatched the IRP to a handler through the KsMethodHandler function.
The function can only be called at PASSIVE_LEVEL.
Irp [in]Specifies the IRP with the method request being dispatched.
Handler [in]Specifies the pointer to the specific method handler.
The KsDispatchSpecificMethod function returns STATUS_SUCCESS if successful, or if unsuccessful it returns an error.
The KsDispatchSpecificMethod function is intended for additional processing of the method such as completing a pending operation.