[in] Address space from which to read the data.
MoveIn64
Reads a block of 64-bit data values from the specified address space and offset to local memory.
Syntax
Section titled “Syntax”virtual HRESULT MoveIn64(VisaAddressSpace eSpace, UINT64 ullOffset, UINT32 ulLength, UINT64* pBuf) abstract;
virtual HRESULT MoveIn64(VisaAddressSpaceeSpace, UINT64 ullOffset, UINT32 ulLength, SAFEARRAY** pBuf) abstract;
virtual HRESULT MoveIn64(VisaAddressSpaceeSpace, UINT64 ullOffset, UINT32 ulLength, CComSafeArray<UINT64>& pBuf) abstract;Parameters
Section titled “Parameters”eSpace
ullOffset
[in] Offset within eSpace to read the data.
pBuf
Data read from the register-based device.
Return value
Section titled “Return value”Returns S_OK if successful, otherwise a failure HRESULT.
Remarks
Section titled “Remarks”Reads a block of 64-bit values from a register-based device at the specified memory space and offset.
Example
Section titled “Example”The following example demonstrates use of the MoveIn64 function.
STDMETHODIMP Acme4321::IAcme4321_Read(SAFEARRAY** ppsaData){ HRESULT hr = S_OK;
hr = io.Memory.MoveIn64(VisaA64Space, 0x10, ppsaData);
return hr;}