CreateDIBSection

Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
extern (Windows)
HBITMAP
CreateDIBSection
(
HDC hdc
,
BITMAPINFO* pbmi
,
UINT iUsage
,
void** ppvBits
,
HANDLE hSection
,
DWORD dwOffset
)

Meta