KsDispatchSpecificMethod - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ks.h

KSDDKAPI NTSTATUS KsDispatchSpecificMethod(
  [in] PIRP         Irp,
  [in] PFNKSHANDLER Handler
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ks-ksdispatchspecificmethod)

KsDispatchSpecificMethod function

Description

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.

Parameters

Irp [in]

Specifies the IRP with the method request being dispatched.

Handler [in]

Specifies the pointer to the specific method handler.

Return value

The KsDispatchSpecificMethod function returns STATUS_SUCCESS if successful, or if unsuccessful it returns an error.

Remarks

The KsDispatchSpecificMethod function is intended for additional processing of the method such as completing a pending operation.

See also

KsMethodHandler