Share via


SIZE_PALETTE macro

The SIZE_PALETTE macro calculates the size of the palette entries in a VIDEOINFO structure. The VIDEOINFO structure assumes a 256-color palette.

Syntax

size_t SIZE_PALETTE(void);

Parameters

This macro has no parameters.

Return value

Returns 256 * sizeof(RGBQUAD).

Requirements

Header

Amvideo.h (include Streams.h)

See also

Video and Image Functions