// ks.h
KSDDKAPI NTSTATUS KsStreamPointerSetStatusCode(
[in] PKSSTREAM_POINTER StreamPointer,
[in] NTSTATUS Status
);
View the official Windows Driver Kit DDI referenceNo description available.
The KsStreamPointerSetStatusCode function allows specification of a successful or unsuccessful error code with which to complete the given IRP.
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.
KsStreamPointerSetStatusCode returns STATUS_SUCCESS if the IRP is completed with the requested status code. Otherwise, it returns an appropriate error code.
Note that the IRP contains the frame to which StreamPointer points.
Also see Stream Pointers.