23 cpp_quote("
#define E_NOTFOUND HRESULT_FROM_WIN32(ERROR_NOT_FOUND)") 26 cpp_quote(
"#define E_UNSUPPORTED_TYPE HRESULT_FROM_WIN32(ERROR_UNSUPPORTED_TYPE)")
30 cpp_quote(
"#define DEVICE_STATE_ACTIVE 0x1")
31 cpp_quote("
#define DEVICE_STATE_DISABLED 0x2") 32 cpp_quote(
"#define DEVICE_STATE_NOTPRESENT 0x4")
33 cpp_quote("
#define DEVICE_STATE_UNPLUGGED 0x8") 34 cpp_quote(
"#define DEVICE_STATEMASK_ALL 0xf")
37 cpp_quote("
DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_FormFactor,0x1da5d803,0xd492,0x4edd,0x8c,0x23,0xe0,0xc0,0xff,0xee,0x7f,0x0e,0);")
38 cpp_quote("
DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_ControlPanelPageProvider,0x1da5d803,0xd492,0x4edd,0x8c,0x23,0xe0,0xc0,0xff,0xee,0x7f,0x0e,1);")
39 cpp_quote("
DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_Association,0x1da5d803,0xd492,0x4edd,0x8c,0x23,0xe0,0xc0,0xff,0xee,0x7f,0x0e,2);")
40 cpp_quote("
DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_PhysicalSpeakers,0x1da5d803,0xd492,0x4edd,0x8c,0x23,0xe0,0xc0,0xff,0xee,0x7f,0x0e,3);")
41 cpp_quote("
DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_GUID,0x1da5d803,0xd492,0x4edd,0x8c,0x23,0xe0,0xc0,0xff,0xee,0x7f,0x0e,4);")
42 cpp_quote("
DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_Disable_SysFx,0x1da5d803,0xd492,0x4edd,0x8c,0x23,0xe0,0xc0,0xff,0xee,0x7f,0x0e,5);")
44 cpp_quote("
#define ENDPOINT_SYSFX_ENABLED 0") 45 cpp_quote(
"#define ENDPOINT_SYSFX_DISABLED 1")
47 cpp_quote("
DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_FullRangeSpeakers,0x1da5d803,0xd492,0x4edd,0x8c,0x23,0xe0,0xc0,0xff,0xee,0x7f,0x0e,6);")
48 cpp_quote("
DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_Supports_EventDriven_Mode,0x1da5d803,0xd492,0x4edd,0x8c,0x23,0xe0,0xc0,0xff,0xee,0x7f,0x0e,7);")
49 cpp_quote("
DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_JackSubType,0x1da5d803,0xd492,0x4edd,0x8c,0x23,0xe0,0xc0,0xff,0xee,0x7f,0x0e,8);")
51 cpp_quote("
DEFINE_PROPERTYKEY(PKEY_AudioEngine_DeviceFormat,0xf19f064d,0x082c,0x4e27,0xbc,0x73,0x68,0x82,0xa1,0xbb,0x8e,0x4c,0);")
52 cpp_quote("
DEFINE_PROPERTYKEY(PKEY_AudioEngine_OEMFormat,0xe4870e26,0x3cc5,0x4cd2,0xba,0x46,0xca,0x0a,0x9a,0x70,0xed,0x04,3);")
93 cpp_quote(
"#define HDMI DigitalAudioDisplayDevice")
98 uuid(7991eec9-7e89-4d85-8390-6c703cec60c0),
121 [
in]
const PROPERTYKEY
key 128 uuid(d666063f-1587-4e43-81
f1-b948e807363f),
137 [
in,
unique] PROPVARIANT *pActivationParams,
138 [
out,iid_is(iid)]
void **
ppv 155 uuid(0bd7a1be-7a1a-44db-8397-cc5392387b5e),
173 uuid(1be09788-6894-4089-8586-9a2a6c265ac5),
187 uuid(a95664d2-9614-4f35-a746-de8db63617e6),
218 uuid(3b0d0ea4-d0a9-4b0e-935
b-09516746fac0),
222 interface IMMDeviceActivator :
IUnknown 227 [
in] PROPVARIANT *pActivationParams,
228 [
out,iid_is(iid)]
void **
ppv 232 typedef struct _AudioExtensionParams
241 uuid(2fdaafa3-7523-4f66-9957-9d5e7fe698f6),
HRESULT Activate([in] REFIID iid, [in] DWORD dwClsCtx, [in, unique] PROPVARIANT *pActivationParams, [out, iid_is(iid)] void **ppv)
HRESULT GetCount([out] UINT *pcDevices)
coclass MSXML2::XSLTemplate40 object
HRESULT OnPropertyValueChanged([in] LPCWSTR pwstrDeviceId, [in] const PROPERTYKEY key)
HRESULT GetDefaultAudioEndpoint([in] EDataFlow dataFlow, [in] ERole role, [out] IMMDevice **ppEndpoint)
DWORD cbDirectXAudioActivationParams
struct tagDIRECTX_AUDIO_ACTIVATION_PARAMS DIRECTX_AUDIO_ACTIVATION_PARAMS
HRESULT UnregisterEndpointNotificationCallback([in] IMMNotificationClient *pClient)
coclass PSFactoryBuffer pointer_default(unique)] interface ObjectRpcBaseTypes
coclass AMMultiMediaStream cpp_quote("DEFINE_GUID(CLSID_AMDirectDrawStream, 0x49c47ce4, 0x9ba4, 0x11d0, 0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45);") cpp_quote("DEFINE_GUID(CLSID_AMAudioStream
HRESULT GetDataFlow([out] EDataFlow *pDataFlow)
enum _EDataFlow EDataFlow
HRESULT OnDeviceAdded([in] LPCWSTR pwstrDeviceId)
static const WCHAR version[]
HRESULT OnDeviceRemoved([in] LPCWSTR pwstrDeviceId)
DEVICE_STATEMASK_ALL DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_FormFactor, 0x1da5d803, 0xd492, 0x4edd, 0x8c, 0x23, 0xe0, 0xc0, 0xff, 0xee, 0x7f, 0x0e, 0)
GLboolean GLboolean GLboolean b
enum _EndpointFormFactor EndpointFormFactor
HRESULT RegisterEndpointNotificationCallback([in] IMMNotificationClient *pClient)
struct tagDIRECTX_AUDIO_ACTIVATION_PARAMS * PDIRECTX_AUDIO_ACTIVATION_PARAMS
HRESULT OnDeviceStateChanged([in] LPCWSTR pwstrDeviceId, [in] DWORD dwNewState)
HRESULT Item([in] UINT nDevice, [out] IMMDevice **ppdevice)
HRESULT OpenPropertyStore([in] DWORD stgmAccess, [out] IPropertyStore **ppProperties)
HRESULT GetId([out] LPWSTR *ppstrId)
HRESULT GetDevice([in] LPCWSTR pwstrId, [out] IMMDevice **ppDevice)
HRESULT EnumAudioEndpoints([in] EDataFlow dataFlow, [in] DWORD dwStateMask, [out] IMMDeviceCollection **ppDevices)
IMMDevice * pPnpInterface
HRESULT GetState([out] DWORD *pdwState)
HRESULT OnDefaultDeviceChanged([in] EDataFlow flow, [in] ERole role, [in] LPCWSTR pwstrDeviceId)