ID2D1ColorContext1::GetSimpleColorProfile 方法 (d2d1_3.h)

擷取一組簡單的色彩配置檔。

語法

HRESULT GetSimpleColorProfile(
  [out] D2D1_SIMPLE_COLOR_PROFILE *simpleProfile
);

參數

[out] simpleProfile

類型: D2D1_SIMPLE_COLOR_PROFILE*

方法傳回時,將包含簡單色彩配置檔之D2D1_SIMPLE_COLOR_PROFILE的指標。

傳回值

類型: HRESULT

這個方法會傳回 HRESULT 成功或錯誤碼。

規格需求

需求
目標平台 Windows
標頭 d2d1_3.h
Dll D2d1.dll

另請參閱

ID2D1ColorContext1