Funzione RtlPrefixUnicodeString

Confronta due stringhe Unicode per determinare se una stringa è un prefisso dell'altra.

Sintassi

BOOLEAN RtlPrefixUnicodeString(
  _In_ PCUNICODE_STRING String1,
  _In_ PCUNICODE_STRING String2,
  _In_ BOOLEAN          CaseInSensitive
);

Parametri

String1 [in]

Puntatore alla prima stringa, che potrebbe essere un prefisso della stringa Unicode memorizzata nel buffer in String2.

String2 [in]

Puntatore alla seconda stringa.

CaseInSensitive [in]

Se TRUE, la distinzione tra maiuscole e minuscole deve essere ignorata durante il confronto.

Valore restituito

TRUE se String1 è un prefisso string2.

Requisiti

Requisito Valore
Client minimo supportato
Windows 2000 Professional [solo app desktop]
Server minimo supportato
Windows 2000 Server [solo app desktop]
Piattaforma di destinazione
Universale
Intestazione
Ntddk.h (include Ntddk.h)
Libreria
Ntdll.lib
DLL
Ntdll.dll

Vedi anche

RtlCompareUnicodeString