// wdm.h
typedef enum _DRIVER_DIRECTORY_TYPE {
DriverDirectoryImage,
DriverDirectoryData,
DriverDirectorySharedData
} DRIVER_DIRECTORY_TYPE, *PDRIVER_DIRECTORY_TYPE;
View the official Windows Driver Kit DDI referenceNo description available.
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.
DriverDirectoryImageThe directory from which the driver was loaded.
DriverDirectoryDataThe 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.
DriverDirectorySharedDataThe 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.