WICMapShortNameToGuid function (wincodec.h)
Obtains the GUID associated with the given short name.
Syntax
HRESULT WICMapShortNameToGuid(
[in] PCWSTR wzName,
[out] GUID *pguid
);
Parameters
[in] wzName
Type: const WCHAR*
A pointer to the short name.
[out] pguid
Type: GUID*
A pointer that receives the GUID associated with the given short name.
Return value
Type: HRESULT
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
You can extend the short name mapping by adding to the following registry key:
HKEY_CLASSES_ROOT CLSID {FAE3D380-FEA4-4623-8C75-C6B61110B681} Namespace ...
For more information, see How to Write a WIC-Enabled Codec.
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 |