#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;
View code on GitHub
This structure describes the full name for named kernel objects.
The name of the object inside the NT namespace. For more details about the relationship between Native and Win32 filenames, see this blog post.