Getting property value:
Automation:
String
value = obj.
Name;
Native (C++):
HRESULT
get_
Name
(
[out, retval]
BSTR *
pVal)
;
Parameters
pVal
Device friendly name. For example - "USB Human Interface Device".
Return Value
Automation:
Device friendly name. For example - "USB Human Interface Device".
Native:
S_OK or standard OLE error code.