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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for