Share via


Class Extension Properties

banner art

Previous Next

Class Extension Properties

Windows Portable Devices supports the following class-extension properties.

Property VarType Description
WPD_CLASS_EXTENSION_OPTIONS_SUPPORTED_CONTENT_TYPES VT_UNKNOWN A value that specifies the (superset) list of content types supported by the driver (similar to calling WPD_COMMAND_CAPABILITIES_GET_SUPPORTED_CONTENT_TYPES on WPD_FUNCTIONAL_CATEGORY_ALL).
WPD_CLASS_EXTENSION_OPTIONS_DONT_REGISTER_WPD_DEVICE_INTERFACE VT_BOOL A Boolean value that specifies whether the caller wants the WPD class extension library to register the WPD Device Class interface. If this value is true, the caller takes responsibility for registration.
If this value is false, it indicates that the caller expects the class extension library to perform the registration.

Most drivers should allow the class extension library to perform the registration. in the only exception are those cases where the registering of the WPD Device Class interface by the class extension library will cause adverse affects.

Requirements

Header: Defined in PortableDevice.h

See Also

Previous Next