Skip to content

Latest commit

 

History

History
41 lines (20 loc) · 1.76 KB

object-directories.md

File metadata and controls

41 lines (20 loc) · 1.76 KB
title description keywords ms.date
Object Directories
Object Directories
object directories WDK kernel
named objects WDK kernel
directories WDK objects
top-level object directories WDK kernel
06/16/2017

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.