Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WICMapShortNameToGuid function

Obtains the GUID associated with the given short name.

Syntax


HRESULT WICMapShortNameToGuid(
  _In_  const WCHAR *wzName,
  _Out_       GUID  *pguid
);

Parameters

wzName [in]

Type: const WCHAR*

A pointer to the short name.

pguid [out]

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

Minimum supported client

Windows XP with SP2, Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1

Header

Wincodec.h

DLL

Windowscodecs.dll;
Wincodec.lib

 

 

Show:
© 2017 Microsoft