ID2D1Bitmap1::GetColorContext method (d2d1_1.h)

Gets the color context information associated with the bitmap.

Syntax

void GetColorContext(
  [out, optional] ID2D1ColorContext **colorContext
);

Parameters

[out, optional] colorContext

Type: ID2D1ColorContext**

When this method returns, contains the address of a pointer to the color context interface associated with the bitmap.

Return value

None

Remarks

If the bitmap was created without specifying a color context, the returned context is NULL.

Requirements

Requirement Value
Minimum supported client Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header d2d1_1.h
DLL D2d1.dll

See also

ID2D1Bitmap1