GetIntegratedDisplaySize function Null safety kernel32

int GetIntegratedDisplaySize (
  1. Pointer<Double> sizeInInches
)

Retrieves the best estimate of the diagonal size of the built-in screen, in inches.

HRESULT GetIntegratedDisplaySize(
  double *sizeInInches
);

Implementation

int GetIntegratedDisplaySize(Pointer<Double> sizeInInches) {
  final _GetIntegratedDisplaySize = _kernelbase.lookupFunction<
      Int32 Function(Pointer<Double> sizeInInches),
      int Function(Pointer<Double> sizeInInches)>('GetIntegratedDisplaySize');
  return _GetIntegratedDisplaySize(sizeInInches);
}