ChoosePixelFormat method

int ChoosePixelFormat(
  1. Pointer<HDC__> hdc,
  2. Pointer<LPPIXELFORMATDESCRIPTOR> ppfd
)

Implementation

int ChoosePixelFormat(
  ffi.Pointer<HDC__> hdc,
  ffi.Pointer<LPPIXELFORMATDESCRIPTOR> ppfd,
) {
  return (_ChoosePixelFormat ??=
      _dylib.lookupFunction<_c_ChoosePixelFormat, _dart_ChoosePixelFormat>(
          'ChoosePixelFormat'))(
    hdc,
    ppfd,
  );
}