IWICColorContext::GetExifColorSpace method (wincodec.h)

Retrieves the Exchangeable Image File (EXIF) color space color context.

Syntax

HRESULT GetExifColorSpace(
  UINT *pValue
);

Parameters

pValue

Type: UINT*

A pointer that receives the EXIF color space color context.

Value Meaning
1
A sRGB color space.
2
An Adobe RGB color space.
3 through 65534
Unused.

Return value

Type: HRESULT

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

Remarks

This method should only be used when IWICColorContext::GetType indicates WICColorContextExifColorSpace.

Requirements

   
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