Skip to content

Latest commit

 

History

History
109 lines (79 loc) · 2.76 KB

nf-wincodec-wicmapschematoname.md

File metadata and controls

109 lines (79 loc) · 2.76 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:wincodec.WICMapSchemaToName
WICMapSchemaToName function (wincodec.h)
Obtains the name associated with a given schema.
WICMapSchemaToName
WICMapSchemaToName function [Windows Imaging Component]
_wic_codec_wicmapschematoname
wic._wic_codec_wicmapschematoname
wincodec/WICMapSchemaToName
wic\_wic_codec_wicmapschematoname.htm
wic
6e71b75a-a542-459c-9935-b05f3ce39217
12/05/2018
WICMapSchemaToName, WICMapSchemaToName function [Windows Imaging Component], _wic_codec_wicmapschematoname, wic._wic_codec_wicmapschematoname, wincodec/WICMapSchemaToName
wincodec.h
Windows
Windows XP with SP2, Windows Vista [desktop apps \| UWP apps]
Windows Server 2008 [desktop apps \| UWP apps]
Windowscodecs.lib
Windowscodecs.dll
Windows
19H1
WICMapSchemaToName
wincodec/WICMapSchemaToName
c++
APIRef
kbSyntax
DllExport
Windowscodecs.dll
Windowscodecs.lib
WICMapSchemaToName

WICMapSchemaToName function

-description

Obtains the name associated with a given schema.

-parameters

-param guidMetadataFormat [in]

Type: REFGUID

The metadata format GUID.

-param pwzSchema [in]

Type: LPWSTR

The URI string of the schema for which the name is to be retrieved.

-param cchName [in]

Type: UINT

The size of the wzName buffer.

-param wzName [in, out]

Type: WCHAR*

A pointer to a buffer that receives the schema's name.

To obtain the required buffer size, call WICMapSchemaToName with cchName set to 0 and wzName set to NULL.

-param pcchActual [out]

Type: UINT

The actual buffer size needed to retrieve the entire schema name.

-returns

Type: HRESULT

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-remarks

You can extend the schema name mapping by adding to the following registry key:

HKEY_CLASSES_ROOT
   CLSID
      {FAE3D380-FEA4-4623-8C75-C6B61110B681}
         Schemas
            BB5ACC38-F216-4CEC-A6C5-5F6E739763A9
               ...

For more information, see How to Write a WIC-Enabled Codec.