CreateCompatibleDC function Null safety gdi32
- int hdc
The CreateCompatibleDC function creates a memory device context (DC) compatible with the specified device.
HDC CreateCompatibleDC(
HDC hdc
);
Implementation
int CreateCompatibleDC(int hdc) {
final _CreateCompatibleDC =
_gdi32.lookupFunction<IntPtr Function(IntPtr hdc), int Function(int hdc)>(
'CreateCompatibleDC');
return _CreateCompatibleDC(hdc);
}