Simulation support:

This function is simulated by a handling routine in Revision 2.0 (or later) of the graphics engine.

Description

GreUpdateColors causes a pel-by-pel remapping of the Device Context's visible area on the screen.

This function can be hooked by the presentation driver.

#define INCL_GRE_PALETTE
#include <os2.h>

HDC      hdc;        /*  Device context handle. */
PVOID    pInstance;  /*  Pointer to instance data. */
ULONG    lFunction;  /*  High-order WORD=flags; low-order WORD=NGreUpdateColor. */
BOOL     rc;         /*  Return codes. */

rc = GreUpdateColors(hdc, pInstance, lFunction);


[Back: GreUpdateColors]
[Next: GreUpdateColors Parameter - hdc]