Command Parameters
- Article
-
-
Windows Portable Devices (WPD) supports the following properties of command parameters.
Property |
VarType |
Description |
WPD_PROPERTY_COMMON_CLIENT_INFORMATION |
VT_UNKNOWN |
An IPortableDeviceValues interface that the driver uses to identify the client. |
WPD_PROPERTY_COMMON_CLIENT_INFORMATION_CONTEXT |
VT_LPWSTR |
A driver-specified context which identifies a client for all subsequent operations. |
WPD_PROPERTY_COMMON_COMMAND_CATEGORY |
VT_CLSID |
The GUID portion of the PROPERTYKEY value of the command. |
WPD_PROPERTY_COMMON_COMMAND_ID |
VT_UI4 |
The Persistent Unique ID (PID) portion of the PROPERTYKEY value of the command. |
WPD_PROPERTY_COMMON_COMMAND_TARGET |
VT_LPWSTR |
The target-object identifier. |
WPD_PROPERTY_COMMON_DRIVER_ERROR_CODE |
VT_UI4 |
A driver-specific error code returned by a WPD driver. |
WPD_PROPERTY_COMMON_HRESULT |
VT_ERROR |
The HRESULT value returned by a WPD driver for a particular operation. |
WPD_PROPERTY_COMMON_OBJECT_IDS |
VT_UNKNOWN |
An IPortableDevicePropVariantCollection interface of variant type VT_LPWSTR that contains a list of object identifiers. |
WPD_PROPERTY_COMMON_PERSISTENT_UNIQUE_IDS |
VT_UNKNOWN |
An IPortableDevicePropVariantCollection interface of variant type VT_LPWSTR that contains a list of PIDs. |
Requirements
Requirement |
Value |
Header
|
- PortableDevice.h
|
See also
-
Properties and Attributes