Microsoft DirectX 8.1 (C++)

CDrawImage::UsingImageAllocator

The UsingImageAllocator method retrieves the type of samples to be drawn.

Syntax

BOOL UsingImageAllocator(void);

Return Value

Returns one of the following values.

Value Description
TRUE Allocated through CreateDIBSection.
FALSE Not allocated through CreateDIBSection.

Remarks

This member function is applicable only when using samples allocated through a CImageAllocator (or derived class) object. For more information about working with palettes and the image allocator, see the CDrawImage::UpdateColourTable member function.

See Also