共用方式為


SIZE_EGA_PALETTE macro

The SIZE_EGA_PALETTE macro calculates the size needed for the palette entries in a 4-bit RGB bitmap.

Syntax

size_t SIZE_EGA_PALETTE(void);

Parameters

This macro has no parameters.

Return value

Returns 16 * sizeof(RGBQUAD).

Requirements

Header

Amvideo.h (include Streams.h)

See also

Video and Image Functions