IOCTL_KS_METHOD IOCTL

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

IRP_MJ_DEVICE_CONTROL

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

   
Header ks.h (include Ks.h)

See Also

KSFASTMETHOD_ITEM

KSMETHOD

KSMETHOD_ITEM

KSMETHOD_SET

KsMethodHandler