WDF_PROPERTY_STORE_DISPOSITION 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_DISPOSITION enumeration contains values that indicate whether a registry value was created or already existed when a driver obtained a property store interface.

Syntax


typedef enum _WDF_PROPERTY_STORE_DISPOSITION { 
  CreatedNewStore      = 0x1,
  OpenedExistingStore  = 0x2
} WDF_PROPERTY_STORE_DISPOSITION;

Constants

CreatedNewStore

The device property store (registry value) was created.

OpenedExistingStore

The device property store already exists.

Remarks

The WDF_PROPERTY_STORE_DISPOSITION enumeration is used as output from the IWDFDevice::RetrieveDevicePropertyStore, IWDFDeviceInitialize::RetrieveDevicePropertyStore, and IWDFPropertyStoreFactory::RetrieveDevicePropertyStore methods.

Requirements

Header

Wudfddi_types.h (include Wudfddi.h)

See also

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

 

 

Send comments about this topic to Microsoft

Show: