WDF_PROPERTY_STORE_RETRIEVE_FLAGS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ne-wudfddi_types-_wdf_property_store_retrieve_flags)

_WDF_PROPERTY_STORE_RETRIEVE_FLAGS enumeration

Description

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

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.

See also

IWDFDevice::RetrieveDevicePropertyStore

IWDFDeviceInitialize::RetrieveDevicePropertyStore

IWDFPropertyStoreFactory::RetrieveDevicePropertyStore