CreateCompatibleBitmap function Null safety gdi32

int CreateCompatibleBitmap(
  1. int hdc,
  2. int cx,
  3. int cy
)

The CreateCompatibleBitmap function creates a bitmap compatible with the device that is associated with the specified device context.

HBITMAP CreateCompatibleBitmap(
  HDC hdc,
  int cx,
  int cy
);

Implementation

int CreateCompatibleBitmap(int hdc, int cx, int cy) =>
    _CreateCompatibleBitmap(hdc, cx, cy);