25import "audiosessiontypes.h";
26import "audioclient.idl";
49 uuid(24918acc-64
b3-37c1-8ca9-74a66e9957a8),
70 [size_is(ChannelCount),
in]
float *NewChannelVolumeArray,
88 uuid(f4b1a599-7266-4319-a8ca-e70acb11e8cd),
128 uuid(bfb7ff88-7239-4fc9-8fa2-07c950be9c6d),
151 uuid(bfa971f1-4d5e-40bb-935
e-967039bfbee4),
171 uuid(c3b284d4-6d39-4359-b3cf-b56ddb3bb39c),
179 [
in]
UINT32 countCommunicationSessions
188 uuid(641dd20b-4d41-49
cc-aba3-174b9477bb08),
201 uuid(e2f5bb11-0570-40
ca-acdd-3aa01277dee8),
218 uuid(77aa99a0-1bd6-484
f-8bc7-2c654c9a9b6f),
AudioSessionDisconnectReason
@ DisconnectReasonServerShutdown
@ DisconnectReasonSessionDisconnected
@ DisconnectReasonFormatChanged
@ DisconnectReasonDeviceRemoval
@ DisconnectReasonSessionLogoff
@ DisconnectReasonExclusiveModeOverride
enum _AudioSessionState AudioSessionState
coclass PSFactoryBuffer pointer_default(unique)] interface ObjectRpcBaseTypes
IN PIRP IN PFCB IN ULONG IN ULONG IN ULONG IN ULONG StreamFlags
HRESULT SetDuckingPreferences([in] BOOL optOut)
HRESULT IsSystemSoundsSession(void)
HRESULT GetSessionInstanceIdentifier([string, out] LPWSTR *pRetVal)
HRESULT GetProcessId([out] DWORD *pRetVal)
HRESULT GetSessionIdentifier([string, out] LPWSTR *pRetVal)
HRESULT SetGroupingParam([in] LPCGUID Override, [unique, in] LPCGUID EventContext)
HRESULT GetIconPath([string, out] LPWSTR *pRetVal)
HRESULT GetDisplayName([string, out] LPWSTR *pRetVal)
HRESULT RegisterAudioSessionNotification([in] IAudioSessionEvents *NewNotifications)
HRESULT GetState([out] AudioSessionState *pRetVal)
HRESULT GetGroupingParam([out] GUID *pRetVal)
HRESULT SetIconPath([string, in] LPCWSTR Value, [unique, in] LPCGUID EventContext)
HRESULT UnregisterAudioSessionNotification([in] IAudioSessionEvents *NewNotifications)
HRESULT SetDisplayName([string, in] LPCWSTR DisplayName, [unique, in] LPCGUID EventContext)
HRESULT GetCount([out] INT *SessionCount)
HRESULT GetSession([in] INT SessionCount, [out] IAudioSessionControl **Session)
HRESULT OnStateChanged([in] AudioSessionState NewState)
HRESULT OnDisplayNameChanged([string, in] LPCWSTR NewDisplayName, [in] LPCGUID EventContext)
HRESULT OnChannelVolumeChanged([in] DWORD ChannelCount, [size_is(ChannelCount), in] float *NewChannelVolumeArray, [in] DWORD ChangedChannel, [in] LPCGUID EventContext)
HRESULT OnIconPathChanged([string, in] LPCWSTR NewIconPath, [in] LPCGUID EventContext)
HRESULT OnGroupingParamChanged([in] LPCGUID NewGroupingParam, [in] LPCGUID EventContext)
HRESULT OnSessionDisconnected([in] AudioSessionDisconnectReason DisconnectReason)
HRESULT OnSimpleVolumeChanged([in] float NewVolume, [in] BOOL NewMute, [in] LPCGUID EventContext)
HRESULT RegisterDuckNotification([string, in] LPCWSTR sessionID, [in] IAudioVolumeDuckNotification *duckNotification)
HRESULT RegisterSessionNotification([in] IAudioSessionNotification *SessionNotification)
HRESULT GetSessionEnumerator([retval, out] IAudioSessionEnumerator **SessionEnum)
HRESULT UnregisterDuckNotification([in] IAudioVolumeDuckNotification *duckNotification)
HRESULT UnregisterSessionNotification([in] IAudioSessionNotification *SessionNotification)
HRESULT GetAudioSessionControl([in] LPCGUID AudioSessionGuid, [in] DWORD StreamFlags, [out] IAudioSessionControl **SessionControl)
HRESULT GetSimpleAudioVolume([in] LPCGUID AudioSessionGuid, [in] DWORD StreamFlags, [out] ISimpleAudioVolume **AudioVolume)
HRESULT OnSessionCreated([in] IAudioSessionControl *NewSession)
HRESULT OnVolumeUnduckNotification([in] LPCWSTR sessionID)
HRESULT OnVolumeDuckNotification([in] LPCWSTR sessionID, [in] UINT32 countCommunicationSessions)
static CRYPT_DATA_BLOB b3[]
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value