QueryServiceStatus method

int QueryServiceStatus(
  1. Pointer<SC_HANDLE__> hService,
  2. Pointer<LPSERVICE_STATUS> lpServiceStatus
)

Implementation

int QueryServiceStatus(
  ffi.Pointer<SC_HANDLE__> hService,
  ffi.Pointer<LPSERVICE_STATUS> lpServiceStatus,
) {
  return (_QueryServiceStatus ??=
      _dylib.lookupFunction<_c_QueryServiceStatus, _dart_QueryServiceStatus>(
          'QueryServiceStatus'))(
    hService,
    lpServiceStatus,
  );
}