XLATEOBJ_iXlate function (winddi.h)
The XLATEOBJ_iXlate function translates a color index of the source palette to the closest index in the destination palette.
Syntax
ENGAPI ULONG XLATEOBJ_iXlate(
XLATEOBJ *pxlo,
ULONG iColor
);
Parameters
pxlo
Pointer to a XLATEOBJ structure that defines the source palette.
iColor
Specifies the color index to be translated.
Return value
The return value is an index into the destination palette if the function is successful. If the function fails, -1 is returned.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows 2000 and later versions of the Windows operating systems. |
Target Platform | Universal |
Header | winddi.h (include Winddi.h) |
Library | Win32k.lib |
DLL | Win32k.sys |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for