IOCTL_KS_METHOD IOCTL (ks.h)
An application can use IOCTL_KS_METHOD to execute a method on a KS object. The application passes IOCTL_KS_METHOD with the parameters described below to the KsSynchronousDeviceControl function.
Major code
Input buffer
The application places a pointer to a structure of type KSMETHOD specifying the method to invoke in the InBuffer parameter, and the size of the method structure at InLength.
Input buffer length
The size of the method structure at InLength.
Output buffer
The client allocates and passes an output buffer if the method requires one. (This is determined by the flags set in the KSMETHOD structure.) For example, KSMETHOD_STREAMALLOCATOR_ALLOC provides an output buffer for the newly allocated frame.
Output buffer length
Length of the output buffer.
Status block
If the request is successful, the Status member is set to STATUS_SUCCESS.
Requirements
Requirement | Value |
---|---|
Header | ks.h (include Ks.h) |