KsCompletePendingRequest - NtDoc

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

void KsCompletePendingRequest(
  [in] PIRP Irp
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

KsCompletePendingRequest function

Description

The KsCompletePendingRequest function is used to complete an I/O request in response to which an AVStream dispatch function previously returned STATUS_PENDING.

Parameters

Irp [in]

A pointer to the IRP structure that must be completed; this is passed in the dispatch function that returned a STATUS_PENDING.

Remarks

If the dispatch function in question does not pass an IRP, it cannot return STATUS_PENDING. Minidrivers should set IRP.IoStatus.Status before calling this function.

KsCompletePendingRequest can be used for PnP dispatch functions in the device dispatch table or filter creation and closure requests. Dispatch functions that return STATUS_PENDING must call this function when they complete the request.

See also

IO_STATUS_BLOCK

IRP

KSDEVICE_DISPATCH

KSFILTER_DISPATCH