An application or a plug-in can use the KS proxy COM interfaces to control and retrieve information from KS objects that a KS minidriver handles. The system-supplied KS proxy library (ksproxy.lib) provides these COM interfaces. In order for an application to use these COM interfaces, you must include the ksproxy.h header file in the application's code and link to ksproxy.lib when you build your application.
IUnknown methods are common to all COM interfaces. COM interfaces support the AddRef, QueryInterface, and Release methods. See the Microsoft Windows SDK documentation For more information about IUnknown interface methods.
The following sections provide more information about the KS proxy interfaces:
Note Header files ksproxy.h and dsound.h define similar but incompatible versions of the IKsPropertySet interface. Applications that require the KS proxy module should use the version defined in ksproxy.h. The DirectSound version of IKsPropertySet is described in the DirectSound reference pages in the Windows SDK documentation.
If an application must include both ksproxy.h and dsound.h, whichever header file the compiler scans first is the one whose definition of IKsPropertySet is used by the compiler.