IAudioSessionControl2SetIconPath Method
Assigns a display icon to the current session.
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 SetIconPath(
string iconPath,
Guid eventContext
)
<PreserveSigAttribute>
Function SetIconPath (
iconPath As String,
eventContext As Guid
) As HResult
Dim instance As IAudioSessionControl2
Dim iconPath As String
Dim eventContext As Guid
Dim returnValue As HResult
returnValue = instance.SetIconPath(iconPath,
eventContext)
[PreserveSigAttribute]
HResult SetIconPath(
[InAttribute] String^ iconPath,
[InAttribute] Guid eventContext
)
[<PreserveSigAttribute>]
abstract SetIconPath :
iconPath : string *
eventContext : Guid -> HResult
No code example is currently available or this language may not be supported.
- iconPath String
-
A string that specifies the fully qualified path of the file that contains the new icon.
- eventContext 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.