次の方法で共有


Miscellaneous Properties

banner art

Previous Next

Miscellaneous Properties

Windows Portable Devices supports the following miscellaneous properties.

Property VarType Description
WPD_API_OPTION_USE_CLEAR_DATA_STREAM VT_BOOL A Boolean value that specifies whether the data stream created for data transfer will be clear (that is, DRM is not involved).

Clients can set this option by adding it to the object properties passed to IPortableDeviceContent::CreateObjectWithPropertiesAndData.

WPD_FOLDER_CONTENT_TYPES_ALLOWED VT_UNKNOWN A value that specifies the object types that can be direct children of this folder. Child folders can have different capabilities.

This property is an IPortableDevicePropVariantCollection holding VT_CLSID values that specify permitted object types.

For a list of object types defined by Windows Portable Devices, see Requirements for Objects.

WPD_FUNCTIONAL_OBJECT_CATEGORY VT_CLSID A value that specifies the object's functional category.
WPD_RENDERING_INFORMATION_PROFILES VT_UNKNOWN An IPortableDeviceValuesCollection that holds multiple IPortableDeviceValues interfaces, each of which contains the property settings for a profile that the object supports.
WPD_OBJECT_HINT_LOCATION_DISPLAY_NAME VT_LPWSTR If an object is a hint location, this property indicates the hint-specific name to display to the user instead of the object name.

Drivers can specify location hints for various object types. These are preferred storage locations for folders that hold a particular object type. An equivalent would be the My Pictures folder for image files in Windows. If this property does not exist, the WPD_OBJECT_NAME will typically be used instead.

Requirements

Header: Defined in PortableDevice.h

See Also

Previous Next