CreateDIBSection function gdi32
int
CreateDIBSection(
- int hdc,
- Pointer<
BITMAPINFO> pbmi, - int usage,
- Pointer<
Pointer< ppvBits,NativeType> > - int hSection,
- int offset,
The CreateDIBSection function creates a DIB that applications can write to directly. The function gives you a pointer to the location of the bitmap bit values. You can supply a handle to a file-mapping object that the function will use to create the bitmap, or you can let the system allocate the memory for the bitmap.
HBITMAP CreateDIBSection(
HDC hdc,
const BITMAPINFO *pbmi,
UINT usage,
VOID **ppvBits,
HANDLE hSection,
DWORD offset);
Implementation
int CreateDIBSection(int hdc, Pointer<BITMAPINFO> pbmi, int usage,
Pointer<Pointer> ppvBits, int hSection, int offset) =>
_CreateDIBSection(hdc, pbmi, usage, ppvBits, hSection, offset);