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(
    hService,
    dwSecurityInformation,
    lpSecurityDescriptor,
  );
}