## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### GreDeviceSetPaletteEntries Return Value - rc

rc (BOOL) - returns Return codes.

This function returns BOOLEAN (fSuccess).

TRUE Successful, if entries set without error
FALSE Error

Possible Errors Detected: When an error is detected, the handling routine must call WinSetErrorInfo to post the condition. Error codes for conditions that the handling routine is expected to check include:

PMERR_INV_IN_AREA
PMERR_INV_IN_PATH
PMERR_INV_COLOR_INDEX