12#include <mmdeviceapi.h>
17 #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) EXTERN_C const GUID DECLSPEC_SELECTANY name = {l, w1, w2, {b1, b2, b3, b4, b5, b6, b7, b8}}
19 #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) const GUID DECLSPEC_SELECTANY name = {l, w1, w2, {b1, b2, b3, b4, b5, b6, b7, b8}}
22DEFINE_GUID(IID_IPolicyConfig, 0xf8679f50, 0x850a, 0x41cf, 0x9c, 0x72, 0x43, 0x0f, 0x29, 0x02, 0x90, 0xc8);
23DEFINE_GUID(CLSID_CPolicyConfigClient, 0x870af99c, 0x171d, 0x4f9e, 0xaf, 0x0d, 0xe6, 0x3d, 0xf4, 0x0c, 0x2b, 0xc9);
33interface DECLSPEC_UUID(
"f8679f50-850a-41cf-9c72-430f290290c8") IPolicyConfig;
39class CPolicyConfigClient;
41class DECLSPEC_UUID(
"870af99c-171d-4f9e-af0d-e63df40c2bc9") CPolicyConfigClient;
56interface IPolicyConfig:
public IUnknown {
63 virtual HRESULT GetMixFormat(
93 virtual HRESULT STDMETHODCALLTYPE
129 struct DeviceShareMode *
139 struct DeviceShareMode *
virtual HRESULT STDMETHODCALLTYPE SetPropertyValue(PCWSTR, const PROPERTYKEY &, PROPVARIANT *)
Set a property value for an endpoint.
virtual HRESULT STDMETHODCALLTYPE SetProcessingPeriod(PCWSTR, PINT64)
Set the processing period for an endpoint.
virtual HRESULT STDMETHODCALLTYPE GetProcessingPeriod(PCWSTR, INT, PINT64, PINT64)
Get the processing period for an endpoint.
virtual HRESULT STDMETHODCALLTYPE SetDefaultEndpoint(PCWSTR wszDeviceId, ERole eRole)
Set the default endpoint for a role.
interface WAVEFORMATEX **virtual HRESULT STDMETHODCALLTYPE GetDeviceFormat(PCWSTR, INT, WAVEFORMATEX **)
Get the device format for an endpoint.
virtual HRESULT STDMETHODCALLTYPE GetPropertyValue(PCWSTR, const PROPERTYKEY &, PROPVARIANT *)
Get a property value for an endpoint.
virtual HRESULT STDMETHODCALLTYPE GetShareMode(PCWSTR, struct DeviceShareMode *)
Get the share mode for an endpoint.
virtual HRESULT STDMETHODCALLTYPE SetEndpointVisibility(PCWSTR, INT)
Set endpoint visibility.
virtual HRESULT STDMETHODCALLTYPE SetDeviceFormat(PCWSTR, WAVEFORMATEX *, WAVEFORMATEX *)
Set the device format for an endpoint.
virtual HRESULT STDMETHODCALLTYPE ResetDeviceFormat(PCWSTR)
Reset the device format for an endpoint.
virtual HRESULT STDMETHODCALLTYPE SetShareMode(PCWSTR, struct DeviceShareMode *)
Set the share mode for an endpoint.