This topic has not yet been rated - Rate this topic

Method Attributes

For Windows 7, Windows Portable Devices supports the following attributes for methods of a device service. These attributes are returned by the IPortableDeviceServiceCapabilities::GetMethodAttributes method.

Attribute VarType Description
WPD_METHOD_ATTRIBUTE_ACCESSVT_CLSIDThe required method access.
WPD_METHOD_ATTRIBUTE_ASSOCIATED_FORMATVT_CLSIDThe format associated with the method, or GUID_NULL if there is no associated format.
WPD_METHOD_ATTRIBUTE_NAMEVT_LPWSTRA string that specifies the script-friendly name of the method. Valid characters are alphanumeric [a-zA-Z0-9] and '_'.
WPD_METHOD_ATTRIBUTE_PARAMETERSVT_UNKNOWNAn IPortableDeviceKeyCollection interface that contains the method parameters.

 

Requirements

Header

PortableDevice.h

See also

Properties and Attributes

 

 

Send comments about this topic to Microsoft

Build date: 10/16/2012

Community Additions

ADD
© 2013 Microsoft. All rights reserved.