Skip to content

Latest commit

 

History

History
96 lines (77 loc) · 2.96 KB

nf-mfidl-imfaudiopolicy-geticonpath.md

File metadata and controls

96 lines (77 loc) · 2.96 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:mfidl.IMFAudioPolicy.GetIconPath
IMFAudioPolicy::GetIconPath (mfidl.h)
Retrieves the icon resource for the audio session. The Windows volume control displays this icon.
GetIconPath
GetIconPath method [Media Foundation]
GetIconPath method [Media Foundation]
IMFAudioPolicy interface
IMFAudioPolicy interface [Media Foundation]
GetIconPath method
IMFAudioPolicy.GetIconPath
IMFAudioPolicy::GetIconPath
f2114f15-4357-4b5a-b384-695165d887de
mf.imfaudiopolicy_geticonpath
mfidl/IMFAudioPolicy::GetIconPath
mf\imfaudiopolicy_geticonpath.htm
mf
f2114f15-4357-4b5a-b384-695165d887de
12/05/2018
GetIconPath, GetIconPath method [Media Foundation], GetIconPath method [Media Foundation],IMFAudioPolicy interface, IMFAudioPolicy interface [Media Foundation],GetIconPath method, IMFAudioPolicy.GetIconPath, IMFAudioPolicy::GetIconPath, f2114f15-4357-4b5a-b384-695165d887de, mf.imfaudiopolicy_geticonpath, mfidl/IMFAudioPolicy::GetIconPath
mfidl.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Mfuuid.lib
Windows
19H1
IMFAudioPolicy::GetIconPath
mfidl/IMFAudioPolicy::GetIconPath
c++
APIRef
kbSyntax
COM
mfuuid.lib
mfuuid.dll
IMFAudioPolicy.GetIconPath

IMFAudioPolicy::GetIconPath

-description

Retrieves the icon resource for the audio session. The Windows volume control displays this icon.

-parameters

-param pszPath [out]

Receives a pointer to a wide-character string that specifies a shell resource. The format of the string is described in the topic IMFAudioPolicy::SetIconPath. The caller must free the memory allocated for the string by calling CoTaskMemFree.

-returns

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

-remarks

If the application did not set an icon path, the method returns an empty string ("").

For more information, see IAudioSessionControl::GetIconPath in the core audio API documentation.

-see-also

IMFAudioPolicy

Streaming Audio Renderer