Getting property value:
Automation:
IUsbMonitor
value = obj.
UsbMonitor;
Native (C++):
HRESULT
get_
UsbMonitor
(
[out, retval]
IUsbMonitor**
pVal)
;
Parameters
pVal
Reference to the main UsbMonitor object. Don't forget to call Release to free the object. Use ATL::CComPtr class to automate this task.
Return Value
Automation:
Reference to UsbMonitor object.
Native:
S_OK or standard OLE error code.