NtDisplayString - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTEXAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)

NTSYSCALLAPI
NTSTATUS
NTAPI
NtDisplayString(
    _In_ PUNICODE_STRING String
    );

#endif
#endif

View code on GitHub
#ifndef _NTZWAPI_H

NTSYSCALLAPI
NTSTATUS
NTAPI
ZwDisplayString(
    _In_ PUNICODE_STRING String
    );

#endif

View code on GitHub

Function NtDisplayString display specified string in text-mode (typically: blue screen).

Warning: Trying to display string without previously switch to text-mode results as system hang.

String

Pointer to UNICODE_STRING contains string to display. Some basic control characters are implemented (like CR, LF).

Documented by

Requirements

Privilege: SE_TCB_PRIVILEGE