OleTranslateColor(3w)

NAME

OleTranslateColor (OLEAUT32.421)

SYNOPSIS

HRESULT OleTranslateColor
 (
  OLE_COLOR clr,
  HPALETTE  hpal,
  COLORREF* pColorRef
 )

DESCRIPTION

Convert an OLE_COLOR to a COLORREF.

PARAMS

clr [In] Color to convert.

hpal [In] Handle to a palette for the conversion.

pColorRef [Out] Destination for converted color, or NULL to test if the conversion is ok.

RETURNS

Success: S_OK. The conversion is ok, and pColorRef contains the converted color if non-NULL.

Failure: E_INVALIDARG, if any argument is invalid.

FIXME

Document the conversion rules.

IMPLEMENTATION

Defined in "olectl.h".

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/oleaut32/oleaut.c".

Debug channel "ole".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout