OBJECT_NAME_INFORMATION - NtDoc

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

/**
 * The OBJECT_NAME_INFORMATION structure contains the name, if there is one, of a given object.
 */
typedef struct _OBJECT_NAME_INFORMATION
{
    UNICODE_STRING Name; // The object name (when present) includes a NULL-terminator and all path separators "\" in the name.
} OBJECT_NAME_INFORMATION, *POBJECT_NAME_INFORMATION;

#endif
#endif

View code on GitHub

NtDoc

This structure describes the full name for named kernel objects.

Applicable to

Members

Name

The name of the object inside the NT namespace. For more details about the relationship between Native and Win32 filenames, see this blog post.

NTinternals.net (undocumented.ntinternals.net)

Structure OBJECT_NAME_INFORMATION is used as a result of call NtQueryObject with ObjectNameInformation information class.

Name

Name of object or NULL if object don't have associated name.

NameBuffer[0]

Buffer with UNICODE name of object.

Documented by

See also