IUsb::ControlREN
Description
Controls the state of the USB REN interface line and, optionally, the remote/local state of the device. This operation asserts or deasserts the USB REN (Remote ENable) interface line according to the specified mode.
The mode can also specify whether the device associated with this session should be placed in local state (before deasserting REN) or remote state (after asserting REN). This operation is valid only if the GPIB interface associated with the
session object is currently the system controller.
An INSTR resource implementation of ControlREN for a USB system supports all documented modes.
VB Prototype
ControlREN(
mode As RENControlConst
)
C++ Prototype
HRESULT ControlREN(
RENControlConst mode
);
Parameters
mode
Specifies the state of the REN line and optionally the device remote/local state.
Return Value
Refer to the table of return codes.
See Also
ComponentVersion, SpecVersion, HardwareInterfaceName, HardwareInterfaceNumber, HardwareInterfaceType, LockState, OptionString, ProgID, ResourceName, SessionType, SoftwareManufacturerID, SoftwareManufacturerName, Timeout, LastStatus, ManufacturerID, ManufacturerName, ModelCode, ModelName, Is4882Compliant, UsbSerialNumber, UsbInterfaceNumber, UsbProtocol, MaximumInterruptSize, GetAttribute, SetAttribute, LockRsrc, UnlockRsrc, Init, Close, ControlREN, ControlOut, ControlIn, IUsb Overview