KsStreamPointerSetStatusCode - NtDoc

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

KSDDKAPI NTSTATUS KsStreamPointerSetStatusCode(
  [in] PKSSTREAM_POINTER StreamPointer,
  [in] NTSTATUS          Status
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

KsStreamPointerSetStatusCode function

Description

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

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.

See also

KSPIN_DISPATCH