DRIVER_DIRECTORY_TYPE enumeration (wdm.h)

Defines values for the type of directory used by the driver to load and store files. This enumeration is used by the IoGetDriverDirectory function. The files in that directory apply to a specific driver object.

Syntax

typedef enum _DRIVER_DIRECTORY_TYPE {
  DriverDirectoryImage,
  DriverDirectoryData,
  DriverDirectorySharedData
} DRIVER_DIRECTORY_TYPE, *PDRIVER_DIRECTORY_TYPE;

Constants

 
DriverDirectoryImage
The directory from which the driver was loaded.
DriverDirectoryData
The requested directory is a general-purpose directory in which the driver stores files that contain state information specific to the internals of the driver and only used by the driver itself.
DriverDirectorySharedData
The requested directory is a general-purpose directory in which the driver stores or reads files that contain state information that is meant to be shared between the driver and other components. Other components can access this directory using GetSharedServiceDirectory. This value is available on Windows Server 2022 and later versions of Windows.

Requirements

Requirement Value
Header wdm.h

See also

IoGetDriverDirectory