Export (0) Print
Expand All

Object Directories

An object directory is a named object that is used solely to contain other named objects. For example, the \Device object directory contains the named device objects created by drivers.

Do not confuse object directories with file system directories. Object directories exist only within the object manager, and do not correspond to any directory on disk. (File system directories are, in fact, represented as file objects.)

The following is a list of the top-level object directories that contain objects drivers might create or use:

  • \Callbacks

    The system creates standard callback objects in this directory. For more information, see Using a System-Defined Callback Object.

  • \Device

    Drivers create named device objects in this directory. For more information, see Named Device Objects.

  • \KernelObjects

    The system creates standard event objects in this directory. For more information, see Standard Event Objects.

  • \DosDevices

    This directory stores the MS-DOS device name of a device as a symbolic link to the corresponding device object. For more information, see MS-DOS Device Names.

The system creates other top-level directories, but they are reserved for system use.

Drivers can create new object directories by calling the ZwCreateDirectoryObject routine.

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft