Sunshine latest
Self-hosted game stream host for Moonlight.
PolicyConfig.h File Reference

Undocumented COM-interface IPolicyConfig. More...

#include <mmdeviceapi.h>
Include dependency graph for PolicyConfig.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

class DECLSPEC_UUID ("870af99c-171d-4f9e-af0d-e63df40c2bc9") CPolicyConfigClient
 
interface DECLSPEC_UUID ("f8679f50-850a-41cf-9c72-430f290290c8") IPolicyConfig
 
interface WAVEFORMATEX **virtual HRESULT STDMETHODCALLTYPE GetDeviceFormat (PCWSTR, INT, WAVEFORMATEX **)
 
virtual HRESULT STDMETHODCALLTYPE GetProcessingPeriod (PCWSTR, INT, PINT64, PINT64)
 
virtual HRESULT STDMETHODCALLTYPE GetPropertyValue (PCWSTR, const PROPERTYKEY &, PROPVARIANT *)
 
virtual HRESULT STDMETHODCALLTYPE GetShareMode (PCWSTR, struct DeviceShareMode *)
 
virtual HRESULT STDMETHODCALLTYPE ResetDeviceFormat (PCWSTR)
 
virtual HRESULT STDMETHODCALLTYPE SetDefaultEndpoint (PCWSTR wszDeviceId, ERole eRole)
 
virtual HRESULT STDMETHODCALLTYPE SetDeviceFormat (PCWSTR, WAVEFORMATEX *, WAVEFORMATEX *)
 
virtual HRESULT STDMETHODCALLTYPE SetEndpointVisibility (PCWSTR, INT)
 
virtual HRESULT STDMETHODCALLTYPE SetProcessingPeriod (PCWSTR, PINT64)
 
virtual HRESULT STDMETHODCALLTYPE SetPropertyValue (PCWSTR, const PROPERTYKEY &, PROPVARIANT *)
 
virtual HRESULT STDMETHODCALLTYPE SetShareMode (PCWSTR, struct DeviceShareMode *)
 

Detailed Description

Undocumented COM-interface IPolicyConfig.

Use for setting default audio render endpoint.

Author
EreTIk
See also
https://kitere.github.io/