IWICColorContext::GetProfileBytes method
Retrieves the color context profile.
Syntax
HRESULT GetProfileBytes( [in] UINT cbBuffer, [in, out] BYTE *pbBuffer, [out] UINT *pcbActual );
Parameters
- cbBuffer [in]
-
Type: UINT
The size of the pbBuffer buffer.
- pbBuffer [in, out]
-
Type: BYTE*
A pointer that receives the color context profile.
- pcbActual [out]
-
Type: UINT*
A pointer that receives the actual buffer size needed to retrieve the entire color context profile.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Calling this method with pbBuffer set to NULL will cause it to return the required buffer size in pcbActual.
Requirements
|
Minimum supported client | Windows XP with SP2, Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server | Windows Server 2008 [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|
|
Library |
|
|
DLL |
|
Send comments about this topic to Microsoft
Build date: 11/29/2012