OpenServiceA method

Pointer<SC_HANDLE__> OpenServiceA(
  1. Pointer<SC_HANDLE__> hSCManager,
  2. Pointer<Int8> lpServiceName,
  3. int dwDesiredAccess
)

Implementation

ffi.Pointer<SC_HANDLE__> OpenServiceA(
  ffi.Pointer<SC_HANDLE__> hSCManager,
  ffi.Pointer<ffi.Int8> lpServiceName,
  int dwDesiredAccess,
) {
  return (_OpenServiceA ??= _dylib
      .lookupFunction<_c_OpenServiceA, _dart_OpenServiceA>('OpenServiceA'))(
    hSCManager,
    lpServiceName,
    dwDesiredAccess,
  );
}