OpenSCManagerA method

Pointer<SC_HANDLE__> OpenSCManagerA(
  1. Pointer<Int8> lpMachineName,
  2. Pointer<Int8> lpDatabaseName,
  3. int dwDesiredAccess
)

Implementation

ffi.Pointer<SC_HANDLE__> OpenSCManagerA(
  ffi.Pointer<ffi.Int8> lpMachineName,
  ffi.Pointer<ffi.Int8> lpDatabaseName,
  int dwDesiredAccess,
) {
  return (_OpenSCManagerA ??=
      _dylib.lookupFunction<_c_OpenSCManagerA, _dart_OpenSCManagerA>(
          'OpenSCManagerA'))(
    lpMachineName,
    lpDatabaseName,
    dwDesiredAccess,
  );
}