GetServiceKeyNameA method

int GetServiceKeyNameA(
  1. Pointer<SC_HANDLE__> hSCManager,
  2. Pointer<Int8> lpDisplayName,
  3. Pointer<Int8> lpServiceName,
  4. Pointer<Uint64> lpcchBuffer,
)

Implementation

int GetServiceKeyNameA(
  ffi.Pointer<SC_HANDLE__> hSCManager,
  ffi.Pointer<ffi.Int8> lpDisplayName,
  ffi.Pointer<ffi.Int8> lpServiceName,
  ffi.Pointer<ffi.Uint64> lpcchBuffer,
) {
  return (_GetServiceKeyNameA ??=
      _dylib.lookupFunction<_c_GetServiceKeyNameA, _dart_GetServiceKeyNameA>(
          'GetServiceKeyNameA'))(
    hSCManager,
    lpDisplayName,
    lpServiceName,
    lpcchBuffer,
  );
}