ISharedRegister::AllocateMemory

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

Returns an offset into a device's memory region that has been allocated for use by this session.

VB Prototype

value As Long = AllocateMemory(
  size As Long
)

C++ Prototype

HRESULT AllocateMemory(
  long size,
  long* pOffset
);

Parameters

size

Specifies the size of the allocation.

pOffset

Returns the offset of the allocated device memory.

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, GetAttribute, SetAttribute, LockRsrc, UnlockRsrc, Init, Close, AllocateMemory, FreeMemory, ISharedRegister Overview