SetPixelFormat method

int SetPixelFormat(
  1. Pointer<HDC__> hdc,
  2. int format,
  3. Pointer<LPPIXELFORMATDESCRIPTOR> ppfd
)

Implementation

int SetPixelFormat(
  ffi.Pointer<HDC__> hdc,
  int format,
  ffi.Pointer<LPPIXELFORMATDESCRIPTOR> ppfd,
) {
  return (_SetPixelFormat ??=
      _dylib.lookupFunction<_c_SetPixelFormat, _dart_SetPixelFormat>(
          'SetPixelFormat'))(
    hdc,
    format,
    ppfd,
  );
}