Windows 3.1 Device Drivers (ddag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
GetPalTrans
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
void GetPalTrans(lpIndexes);
LPWORD lpIndexes;   /* points to array of indexes */
 
The GetPalTrans functions copies the driver's translation table into the
array pointed to by the lpIndexes parameter.
 
A graphics driver must export the GetPalTrans function if the RC_PALETTE
value is set in the dpRaster member of the driver's GDIINFO structure.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
 
lpIndexes  Points to the array to receive color indexes. The number of
           indexes in the array is specified by the dpPalColors member in
           the device's GDIINFO structure.
 
Return Value
 
This function has no return value.
 
Comments
 
The export ordinal for this function is 25.
 
See Also
 
SetPalTrans