IOCTL_KS_WRITE_STREAM - NtDoc

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

// CTL_CODE(0x002f, 0x004, METHOD_NEITHER, FILE_WRITE_ACCESS)
#define IOCTL_KS_WRITE_STREAM 0x002F8013

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ni-ks-ioctl_ks_write_stream)

IOCTL_KS_WRITE_STREAM IOCTL

Description

An application can use IOCTL_KS_WRITE_STREAM to write data to a pin. The application passes IOCTL_KS_WRITE_STREAM with the parameters described below to the KsSynchronousDeviceControl function.

Parameters

Major code

Input buffer

A client provides a pointer to an array of KSSTREAM_HEADER structures in InBuffer. The stream data to write is contained in the buffers pointed to by the stream headers. The headers can also contain presentation time and duration.

Input buffer length

The InLength parameter should specify the size, in bytes, of the input buffer contents.

Output buffer

Kernel streaming provides the number of bytes written in the BytesReturned parameter.

Output buffer length

Input/output buffer

Input/output buffer length

Status block

If the request is successful, the Status member is set to STATUS_SUCCESS.

See also

IOCTL_KS_READ_STREAM

KsProbeStreamIrp