GetServiceRegistryStateKey method

int GetServiceRegistryStateKey(
  1. Pointer<SERVICE_STATUS_HANDLE__> ServiceStatusHandle,
  2. int StateType,
  3. int AccessMask,
  4. Pointer<Pointer<HKEY__>> ServiceStateKey,
)

Implementation

int GetServiceRegistryStateKey(
  ffi.Pointer<SERVICE_STATUS_HANDLE__> ServiceStatusHandle,
  int StateType,
  int AccessMask,
  ffi.Pointer<ffi.Pointer<HKEY__>> ServiceStateKey,
) {
  return (_GetServiceRegistryStateKey ??= _dylib.lookupFunction<
      _c_GetServiceRegistryStateKey,
      _dart_GetServiceRegistryStateKey>('GetServiceRegistryStateKey'))(
    ServiceStatusHandle,
    StateType,
    AccessMask,
    ServiceStateKey,
  );
}