ISharedRegister64::AllocateMemoryEx
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.
Note: This method uses 64-bit integers. It can be used in Visual Basic.NET (VB.NET), but not in Visual Basic 6 (VB6) or earlier versions of Visual Basic.
VB Prototype
value As
Long = AllocateMemory(
size As Long
)
C++ Prototype
HRESULT AllocateMemory(
long size,
int64* 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, AllocateMemoryEx, FreeMemoryEx, ISharedRegister64 Overview