Microsoft DirectX 8.1 (C++)

CImageAllocator::CreateDIB

Calls the Win32 CreateDIBSection function to create a device-independent bitmap (DIB).

Syntax

HRESULT CreateDIB(
  LONG InSize,
  DIBDATA &DibData
);

Parameters

InSize

Size of the bitmap required.

DibData

Structure to fill out with details.

Return Value

Returns an HRESULT value.

Remarks

This is a protected member function.

See Also