GetDisplayAutoRotationPreferencesByProcessId method

int GetDisplayAutoRotationPreferencesByProcessId(
  1. int dwProcessId,
  2. Pointer<Int32> pOrientation,
  3. Pointer<Int32> fRotateScreen
)

Implementation

int GetDisplayAutoRotationPreferencesByProcessId(
  int dwProcessId,
  ffi.Pointer<ffi.Int32> pOrientation,
  ffi.Pointer<ffi.Int32> fRotateScreen,
) {
  return (_GetDisplayAutoRotationPreferencesByProcessId ??=
      _dylib.lookupFunction<_c_GetDisplayAutoRotationPreferencesByProcessId,
              _dart_GetDisplayAutoRotationPreferencesByProcessId>(
          'GetDisplayAutoRotationPreferencesByProcessId'))(
    dwProcessId,
    pOrientation,
    fRotateScreen,
  );
}