DescribePixelFormat method

int DescribePixelFormat(
  1. Pointer<HDC__> hdc,
  2. int iPixelFormat,
  3. int nBytes,
  4. Pointer<LPPIXELFORMATDESCRIPTOR> ppfd,
)

Implementation

int DescribePixelFormat(
  ffi.Pointer<HDC__> hdc,
  int iPixelFormat,
  int nBytes,
  ffi.Pointer<LPPIXELFORMATDESCRIPTOR> ppfd,
) {
  return (_DescribePixelFormat ??= _dylib.lookupFunction<
      _c_DescribePixelFormat,
      _dart_DescribePixelFormat>('DescribePixelFormat'))(
    hdc,
    iPixelFormat,
    nBytes,
    ppfd,
  );
}