Export (0) Print
Expand All

IKsPropertySet interface

The IKsPropertySet interface was originally designed as an efficient way to set and retrieve device properties on WDM drivers, using KSProxy to translate the user-mode COM method calls into the kernel-mode property sets used by WDM streaming class drivers. This interface is now also used to pass information strictly between software components.

In some cases, software components must implement either this interface, or else the IKsControl interface (documented in the DirectShow DDK). For example, if you are writing a software MPEG-2 decoder for use with the DVD Navigator, you must implement one of these interfaces and also support the DVD-related property sets that the Navigator will send to the decoder. Pins may support one of these interfaces to allow other pins or filters to set or retrieve their properties.

Note  Another interface by this name exists in the dsound.h header file. The two interfaces are not compatible. The IKsControl interface, documented in the DirectShow DDK, is now the recommended interface for passing property sets between WDM drivers and user mode components.

Members

The IKsPropertySet interface inherits from the IUnknown interface. IKsPropertySet also has these types of members:

Methods

The IKsPropertySet interface has these methods.

MethodDescription
Get

Retrieves a property identified by a property set GUID and a property ID.

QuerySupported

Determines whether an object supports a specified property set.

Set

Sets a property identified by a property set GUID and a property ID.

 

Remarks

You must include Ks.h before Ksproxy.h.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Ksproxy.h

Library

Strmiids.lib

See also

Property Sets

 

 

Community Additions

ADD
Show:
© 2015 Microsoft