WICMapGuidToShortName function (wincodec.h)
Obtains the short name associated with a given GUID.
Syntax
HRESULT WICMapGuidToShortName(
[in] REFGUID guid,
[in] UINT cchName,
[in, out] WCHAR *wzName,
[out] UINT *pcchActual
);
Parameters
[in] guid
Type: REFGUID
The GUID to retrieve the short name for.
[in] cchName
Type: UINT
The size of the wzName buffer.
[in, out] wzName
Type: WCHAR*
A pointer that receives the short name associated with the GUID.
[out] pcchActual
Type: UINT*
The actual size needed to retrieve the entire short name associated with the GUID.
Return value
Type: HRESULT
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Windows Imaging Component (WIC) short name mappings can be found within the following registry key:
HKEY_CLASSES_ROOT CLSID {FAE3D380-FEA4-4623-8C75-C6B61110B681} Namespace ...
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP with SP2, Windows Vista [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | wincodec.h |
Library | WindowsCodecs.lib |
DLL | WindowsCodecs.dll |