KsStreamPointerSetStatusCode function (ks.h)

The KsStreamPointerSetStatusCode function allows specification of a successful or unsuccessful error code with which to complete the given IRP.

Syntax

KSDDKAPI NTSTATUS KsStreamPointerSetStatusCode(
  [in] PKSSTREAM_POINTER StreamPointer,
  [in] NTSTATUS          Status
);

Parameters

[in] StreamPointer

A pointer to a KSSTREAM_POINTER structure. This pointer points to the frame contained in the IRP.

[in] Status

The error code with which to complete the IRP.

Return value

KsStreamPointerSetStatusCode returns STATUS_SUCCESS if the IRP is completed with the requested status code. Otherwise, it returns an appropriate error code.

Remarks

Note that the IRP contains the frame to which StreamPointer points.

Also see Stream Pointers.

Requirements

Requirement Value
Minimum supported client Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions.
Target Platform Universal
Header ks.h (include Ks.h)
Library Ks.lib
IRQL <=DISPATCH_LEVEL

See also

KSPIN_DISPATCH