IOCTL_KS_METHOD control code

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.

Input Parameters

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.

Output Parameters

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.

I/O Status Block

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

Requirements

Header

Ks.h (include Ks.h)

See also

KSMETHOD_ITEM
KSFASTMETHOD_ITEM
KSMETHOD_SET
KSMETHOD
KsMethodHandler

 

 

Send comments about this topic to Microsoft

Show: