ISharedRegister64::FreeMemoryEx

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

Frees the memory previously allocated using AllocateMemoryEx.

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

FreeMemoryEx(
  offset As Long
)

C++ Prototype

HRESULT FreeMemoryEx(
  int64 offset
);

Parameters

offset

Specifies the memory previously allocated with AllocateMemoryEx.

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