Previous Next

IKsControl

The IKsControl interface provides user-mode methods that control a KS filter or KS pin. See the IKsControl AVStream COM interface for information on the kernel-mode equivalent of this interface.

The IID for this interface is IID_IKsControl.

When to Implement

It is not necessary to implement the methods of this interface. They are implemented in ksproxy.lib.

When to Use

Use this interface to control a KS filter or KS pin.

Methods

The following methods are listed in Vtable order.

IUnknown method Description
QueryInterface Returns pointers to supported interfaces.
AddRef Increments reference count.
Release Decrements reference count.

IKsControl method Description
KsProperty Sets a property or retrieves property information.
KsMethod Sends a method to a KS object.
KsEvent Enables or disables an event.