IWMPropertyVault interface (wmsdkidl.h)
[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
The IWMPropertyVault interface provides methods to store and retrieve properties. Currently, you can use this interface to set properties associated with variable bit rate (VBR) encoding. The generic nature of IWMPropertyVault allows for its use in other situations in future versions of the Format SDK.
IWMPropertyVault is exposed by stream configuration objects. To obtain a pointer to IWMPropertyVault, you must call the QueryInterface method of one of the other interfaces of an existing stream configuration object.
The IWMPropertyVault interface inherits from the IUnknown interface. IWMPropertyVault also has these types of members:
The IWMPropertyVault interface has these methods.
IWMPropertyVault::Clear The Clear method removes all items from the property vault. |
IWMPropertyVault::CopyPropertiesFrom The CopyPropertiesFrom method copies all of the properties from another property vault to this one. |
IWMPropertyVault::GetPropertyByIndex The GetPropertyByIndex method retrieves a property from the vault by its index value. |
IWMPropertyVault::GetPropertyByName The GetPropertyByName method retrieves a property from the vault by its name. |
IWMPropertyVault::GetPropertyCount The GetPropertyCount method retrieves a count of all the properties in the property vault. |
IWMPropertyVault::SetProperty The SetProperty method sets the values for a property. If the property named already exists in the property vault, SetProperty changes its value as specified. If the property named does not exist, SetProperty adds it to the property vault. |
Requirement | Value |
---|---|
Target Platform | Windows |
Header | wmsdkidl.h |