Previous Next

KS Properties, Events, and Methods

Kernel streaming architecture provides an extensible mechanism for minidrivers and user mode clients to interact. Each KS object supports intrinsic operations that allow clients to get and set object state, execute object methods, and register notification callbacks for events. Minidrivers support each of these categories of operations — properties, events, and methods — in a standardized manner. The client requests all three operations by providing the relevant alias structure of KSIDENTIFIER in a call to the Win32 routine DeviceIoControl. These structures include the following parameters:

Standard GUIDs and identifiers for general-purpose operations are found in the header ks.h. Standard GUIDs and identifiers for particular classes of multimedia technology are found in ksmedia.h.

For each operation, the user mode client passes two buffers:

AVStream minidrivers support properties, events, and methods by providing a pointer to a KSAUTOMATION_TABLE structure in the relevant KSFILTER_DESCRIPTOR or KSPIN_DESCRIPTOR_EX. A KSAUTOMATION_TABLE contains a pointer to an array of KSPROPERTY_SET objects. To learn more, see Defining Automation Tables.

This section contains information on the following topics:

KS Properties

KS Events

KS Methods