Hardware Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize

KsStreamPointerSetStatusCode function

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

Syntax


NTSTATUS KsStreamPointerSetStatusCode(
  _In_ PKSSTREAM_POINTER StreamPointer,
  _In_ NTSTATUS          Status
);

Parameters

StreamPointer [in]

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

Status [in]

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

Target platform

Universal

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

KSPIN_DISPATCH

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft