RtlInitializeUnicodePrefix - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTRTL_H

NTSYSAPI
VOID
NTAPI
RtlInitializeUnicodePrefix(
    _Out_ PUNICODE_PREFIX_TABLE PrefixTable
    );

#endif

View code on GitHub
// ntifs.h

NTSYSAPI VOID RtlInitializeUnicodePrefix(
  [out] PUNICODE_PREFIX_TABLE PrefixTable
);
View the official Windows Driver Kit DDI reference

NtDoc

This function is documented in Windows Driver Kit.

Windows Driver Kit DDI reference (nf-ntifs-rtlinitializeunicodeprefix)

RtlInitializeUnicodePrefix function

Description

The RtlInitializeUnicodePrefix routine initializes a prefix table.

Parameters

PrefixTable [out]

Pointer to caller-allocated buffer, which must be at least sizeof(UNICODE_PREFIX_TABLE), for the prefix table header. RtlInitializeUnicodePrefix initializes this header, which should be considered opaque by the caller.

Return value

None

Remarks

File systems must call RtlInitializeUnicodePrefix to initialize the prefix table before using any other Rtl..UnicodePrefix routines on it. The initialized prefix table structure should be considered opaque.

Callers of the Rtl..UnicodePrefix routines are responsible for synchronizing access to the prefix table. A fast mutex is the most efficient synchronization mechanism to use for this purpose.

For information about other string-handling routines, see Run-Time Library (RTL) Routines.

See also

ExInitializeFastMutex

RtlFindUnicodePrefix

RtlInsertUnicodePrefix

RtlNextUnicodePrefix

RtlRemoveUnicodePrefix