[Previous] [Contents] [Next]

my_getpalette()

get the initial hardware palette

Synopsis:

int my_getpalette( struct pal_entry *pbuf );

Description:

This function gets the initial hardware palette and stores it in the structure pointed to by pbuf.


Note: All color printers currently use True Color (3 bits per pixel), so this function is unnecessary.

Returns:

1
Success.
0
The operation couldn't be done.

Classification:

Photon

Safety:
Interrupt handler Not applicable
Signal handler Not applicable
Thread Not applicable

[Previous] [Contents] [Next]