Expand Minimize

KsCompletePendingRequest function

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

Syntax


void KsCompletePendingRequest(
  _In_  PIRP Irp
);

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.

Return value

None

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.

Requirements

Version

Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions.

Header

Ks.h (include Ks.h)

Library

Ks.lib

IRQL

<=DISPATCH_LEVEL

See also

KSDEVICE_DISPATCH
KSFILTER_DISPATCH
IRP
IO_STATUS_BLOCK

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft