SetServiceObjectSecurity method

int SetServiceObjectSecurity(
  1. Pointer<SC_HANDLE__> hService,
  2. int dwSecurityInformation,
  3. Pointer<Void> lpSecurityDescriptor
)

Implementation

int SetServiceObjectSecurity(
  ffi.Pointer<SC_HANDLE__> hService,
  int dwSecurityInformation,
  ffi.Pointer<ffi.Void> lpSecurityDescriptor,
) {
  return (_SetServiceObjectSecurity ??= _dylib.lookupFunction<
      _c_SetServiceObjectSecurity,
      _dart_SetServiceObjectSecurity>('SetServiceObjectSecurity'))(
    hService,
    dwSecurityInformation,
    lpSecurityDescriptor,
  );
}