IOCTL_KS_WRITE_STREAM IOCTL (ks.h)
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.
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.
Status block
If the request is successful, the Status member is set to STATUS_SUCCESS.
Requirements
Requirement | Value |
---|---|
Header | ks.h (include Ks.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for