IMMDeviceOpenPropertyStore Method
Retrieves an interface to the device's property store.
Namespace: DevCase.Win32.InterfacesAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
No code example is currently available or this language may not be supported.
- stgmAccess EStgmAccess
-
The storage-access mode.
This parameter specifies whether to open the property store in read mode, write mode, or read/write mode.
- refPropertyStore IPropertyStore
-
Pointer to a IPropertyStore variable into which the method writes the address of the
IPropertyStore interface of the device's property store.
Through this method, the caller obtains a counted reference to the interface.
The caller is responsible for releasing the interface, when it is no longer needed,
by calling the interface's Release method.
If the OpenPropertyStore(EStgmAccess, IPropertyStore) call fails, refPropertyStore is .
HResult
If the method succeeds, it returns
S_OK.
If it fails, it returns an
HResult value.