ULONG XLATEOBJ_iXlate(
IN XLATEOBJ *pxlo, | |
IN ULONG iColor | |
); |
XLATEOBJ_iXlate translates a color index of the source palette to the closest index in the destination palette.
The return value is an index into the destination palette if the function is successful. If the function fails, -1 is returned.