EN
此内容没有您的语言版本,但有英语版本。

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.

Windows Phone 8.1: This API is supported.

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]

Header

Wincodec.h

DLL

Windowscodecs.dll;
Wincodec.lib

 

 

社区附加资源

添加
显示:
© 2015 Microsoft