IRegister::LockRsrc
Note: Keysight's VISA COM does not support a COM server for VXI. The IVxi-related interfaces are listed in this help file because they are included in the global VISA COM library.
Description
Locks the resource.
VB Prototype
value As
String = LockRsrc(
type As AccessMode, ' Optional Parameter
lockTimeout As Long, ' Optional Parameter
requestedKey As String ' Optional Parameter
)
C++ Prototype
HRESULT LockRsrc(
AccessMode type,
long lockTimeout,
BSTR requestedKey,
BSTR* pAccessKey
);
Parameters
type
[Optional in Visual Basic] The Lock type to attempt.
lockTimeout
[Optional in Visual Basic] The lock timeout.
requestedKey
[Optional in Visual Basic] The requested key.
pAccessKey
The access key.
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, DestinationBigEndian, DestinationIncrement, SourceBigEndian, SourceIncrement, GetAttribute, SetAttribute, LockRsrc, UnlockRsrc, Init, Close, In8, In16, In32, Out8, Out16, Out32, MoveIn8, MoveIn16, MoveIn32, MoveOut8, MoveOut16, MoveOut32, Move, IRegister Overview