IAudioSessionEventsOnDisplayNameChanged Method
Notifies the client that the display name for the session has changed.
Namespace: DevCase.Win32.InterfacesAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[PreserveSigAttribute]
HResult OnDisplayNameChanged(
string displayName,
in Guid refEventContext
)
<PreserveSigAttribute>
Function OnDisplayNameChanged (
displayName As String,
ByRef refEventContext As Guid
) As HResult
Dim instance As IAudioSessionEvents
Dim displayName As String
Dim refEventContext As Guid
Dim returnValue As HResult
returnValue = instance.OnDisplayNameChanged(displayName,
refEventContext)
[PreserveSigAttribute]
HResult OnDisplayNameChanged(
[InAttribute] String^ displayName,
[InAttribute] Guid% refEventContext
)
[<PreserveSigAttribute>]
abstract OnDisplayNameChanged :
displayName : string *
refEventContext : Guid byref -> HResult
No code example is currently available or this language may not be supported.
- displayName String
-
The new display name for the session.
- refEventContext Guid
-
A user context value that is passed to the notification callback.
HResult
If the method succeeds, it returns
S_OK.
If it fails, it returns an
HResult value.