Returns a WIC GUID for a given file container given a simple enumeration value. This function is optional and you can instead use the WIC container GUID directly instead.

REFGUID GetWICCodec( _In_ WICCodecs codec );

Parameters

The codecs enumeration is one of the following values:

Remarks

The primary benefit of this function is that you don't require including <wincodec.h> for every client module that calls DirectXTex's WIC I/O Functions.

Platform notes

Do not use WIC_CODEC_WMP for Xbox One XDK applications as the WMP / HD Photo WIC codec is not supported by that platform.