// wudfddi_types.h
typedef enum _WDF_PROPERTY_STORE_RETRIEVE_FLAGS {
WdfPropertyStoreNormal,
WdfPropertyStoreCreateIfMissing,
WdfPropertyStoreCreateVolatile,
WdfPropertyStoreRetrieveFlagsMask
} WDF_PROPERTY_STORE_RETRIEVE_FLAGS;
View the official Windows Driver Kit DDI referenceNo description available.
[Warning: UMDF 2 is the latest version of UMDF and supersedes UMDF 1. All new UMDF drivers should be written using UMDF 2. No new features are being added to UMDF 1 and there is limited support for UMDF 1 on newer versions of Windows 10. Universal Windows drivers must use UMDF 2. For more info, see Getting Started with UMDF.]
The WDF_PROPERTY_STORE_RETRIEVE_FLAGS enumeration contains values that indicate whether UMDF should create a registry key if the key does not already exist.
WdfPropertyStoreNormalDo not create the registry key if it does not exist.
WdfPropertyStoreCreateIfMissingCreate the registry key if it does not exist. The key will be nonvolatile, which means that it will not be deleted when Windows restarts.
WdfPropertyStoreCreateVolatileCreate the registry key if it does not exist. The key will be volatile, which means that it will be deleted when Windows restarts. This flag is available in UMDF versions 1.9 and later.
WdfPropertyStoreRetrieveFlagsMaskReserved for system use.
WDF_PROPERTY_STORE_RETRIEVE_FLAGS enumeration values are used as input to the IWDFDevice::RetrieveDevicePropertyStore, IWDFDeviceInitialize::RetrieveDevicePropertyStore, and IWDFPropertyStoreFactory::RetrieveDevicePropertyStore methods.
IWDFDevice::RetrieveDevicePropertyStore
IWDFDeviceInitialize::RetrieveDevicePropertyStore
IWDFPropertyStoreFactory::RetrieveDevicePropertyStore