Função RtlValidRelativeSecurityDescriptor (wdm.h)

A rotina RtlValidRelativeSecurityDescriptor verifica a validade de um descritor de segurança auto-relativo.

Sintaxe

NTSYSAPI BOOLEAN RtlValidRelativeSecurityDescriptor(
  [in] PSECURITY_DESCRIPTOR SecurityDescriptorInput,
  [in] ULONG                SecurityDescriptorLength,
  [in] SECURITY_INFORMATION RequiredInformation
);

Parâmetros

[in] SecurityDescriptorInput

Um ponteiro para o buffer que contém o descritor de segurança no formato auto-relativo. O buffer deve começar com uma estrutura SECURITY_DESCRIPTOR , que é seguida pelo restante dos dados do descritor de segurança.

[in] SecurityDescriptorLength

O tamanho da estrutura SecurityDescriptorInput .

[in] RequiredInformation

Um valor SECURITY_INFORMATION que especifica as informações necessárias para serem contidas no descritor de segurança.

Retornar valor

RtlValidRelativeSecurityDescriptor retornará TRUE se o descritor de segurança for válido e incluir as informações especificadas pelo parâmetro RequiredInformation . Caso contrário, essa rotina retornará FALSE.

Comentários

Para marcar a validade de um descritor de segurança em formato absoluto, use RtlValidSecurityDescriptor.

Requisitos

Requisito Valor
Cliente mínimo com suporte Disponível a partir do Windows 2000.
Plataforma de Destino Universal
Cabeçalho wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)
Biblioteca NtosKrnl.lib
DLL NtosKrnl.exe
IRQL <= APC_LEVEL

Confira também

RtlValidSecurityDescriptor

SECURITY_DESCRIPTOR

SECURITY_INFORMATION