DSFDevice Property
The DSFDevice property gets the DSFDevice object that is associated with the USB device that holds the USB device's Plug and Play (PnP) properties.
This property is read-only.
Syntax
HRESULT get_DSFDevice(
[out, retval] DSFDevice **ppDSFDevice
);
Property Value
Caller-allocated space to hold the underlying DSFDevice object.
Error Codes
DSFDevice returns S_OK if the operation succeeds or E_POINTER if the ppDSFDevice parameter is not a valid pointer.
Remarks
The following VBScript code example shows how to get the DSFDevice property.
Dim LoopbackDevice
Set LoopbackDevice = WScript.CreateObject("SoftUSBLoopback.LoopbackDevice","LoopbackEvent_")
Dim DSFDevice : Set DSFDevice = LoopbackDevice.DSFDeviceDim DSF : Set DSF = CreateObject(DSF.DSF)
Dim USBBus
Set USBBus = DSF.HotPlug(DSFDevice, "USB2.0")
Requirements
Header |
SoftUSBif.h |
See Also
Send comments about this topic to Microsoft
Build date: 9/21/2010