GetKernelObjectSecurity method

int GetKernelObjectSecurity(
  1. Pointer<Void> Handle,
  2. int RequestedInformation,
  3. Pointer<Void> pSecurityDescriptor,
  4. int nLength,
  5. Pointer<Uint64> lpnLengthNeeded,
)

Implementation

int GetKernelObjectSecurity(
  ffi.Pointer<ffi.Void> Handle,
  int RequestedInformation,
  ffi.Pointer<ffi.Void> pSecurityDescriptor,
  int nLength,
  ffi.Pointer<ffi.Uint64> lpnLengthNeeded,
) {
  return (_GetKernelObjectSecurity ??= _dylib.lookupFunction<
      _c_GetKernelObjectSecurity,
      _dart_GetKernelObjectSecurity>('GetKernelObjectSecurity'))(
    Handle,
    RequestedInformation,
    pSecurityDescriptor,
    nLength,
    lpnLengthNeeded,
  );
}