WDF_PROPERTY_STORE_RETRIEVE_FLAGS enumeration

[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.

Syntax


typedef enum _WDF_PROPERTY_STORE_RETRIEVE_FLAGS { 
  WdfPropertyStoreNormal              = 0,
  WdfPropertyStoreCreateIfMissing     = 0x1,
  WdfPropertyStoreCreateVolatile      = 0x2,
  WdfPropertyStoreRetrieveFlagsMask   = WdfPropertyStoreNormal |
                                      WdfPropertyStoreCreateIfMissing |
                                      WdfPropertyStoreCreateVolatile

} WDF_PROPERTY_STORE_RETRIEVE_FLAGS;

Constants

WdfPropertyStoreNormal

Do not create the registry key if it does not exist.

WdfPropertyStoreCreateIfMissing

Create the registry key if it does not exist. The key will be nonvolatile, which means that it will not be deleted when Windows restarts.

WdfPropertyStoreCreateVolatile

Create 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.

WdfPropertyStoreRetrieveFlagsMask

Reserved for system use.

Remarks

WDF_PROPERTY_STORE_RETRIEVE_FLAGS enumeration values are used as input to the IWDFDevice::RetrieveDevicePropertyStore, IWDFDeviceInitialize::RetrieveDevicePropertyStore, and IWDFPropertyStoreFactory::RetrieveDevicePropertyStore methods.

Requirements

Header

Wudfddi.h (include Wudfddi.h)

See also

IWDFDevice::RetrieveDevicePropertyStore
IWDFDeviceInitialize::RetrieveDevicePropertyStore
IWDFPropertyStoreFactory::RetrieveDevicePropertyStore

 

 

Send comments about this topic to Microsoft

Show: