Object Manager

Objects are run-time instances of a particular object type that can be manipulated by an operating system process. An object type includes a system-defined data type, a list of operations that can be performed upon it (such as wait, create, or cancel), and a set of object attributes. Object Manager is the part of the Windows NT Executive that provides uniform rules for retention, naming, and security of objects.

Before a process can manipulate a Windows NT object, it must first acquire a handle to the object. An object handle includes access control information and a pointer to the object itself. All object handles are created through the Object Manager.

Note Thus, the same routines that are used to create a file handle can be used to create an object handle.

Like other Windows NT components, the Object Manager is extensible so that new object types can be defined as technology grows and changes.

In addition, the Object Manager manages the global namespace for Windows NT and tracks the creation and use of objects by any process. This namespace is used to access all named objects that are contained in the local computer environment. Some of the objects that can have names include the following:

The object name space is modeled after a hierarchical file system, where directory names in a path are separated by a backslash (\). You can see object names in this form, for example, when you double-click entries in the Event Viewer log, as shown in the following illustration.