Click or drag to resize

MoveOut64

Writes a block of 64-bit data values from local memory to the specified address space and offset.


				virtual HRESULT MoveOut64(VisaAddressSpace eSpace, UINT64 ullOffset, UINT32 ulLength, UINT64* pBuf) abstract;

				virtual HRESULT MoveOut64(VisaAddressSpaceeSpace, UINT64 ullOffset, UINT32 ulLength, SAFEARRAY* pBuf) abstract;

				virtual HRESULT MoveOut64(VisaAddressSpaceeSpace, UINT64 ullOffset, UINT32 ulLength, CComSafeArray<UINT64>& pBuf) abstract;
			
Parameters
eSpace

[in] Address space to which the data will be written.

ullOffset

[in] Offset within eSpace to write the data.

pBuf

Data to write to the register-based device.

Return Value

Returns S_OK if successful, otherwise a failure HRESULT.

Remarks

Writes a block of 64-bit data values from local memory to a register-based device at the specified address space and offset.

Example

The following example demonstrates use of the MoveOut64 function.

C++
// CoAcme4321.cpp
STDMETHODIMP Acme4321::IAcme4321_WriteBlock(SAFEARRAY* psaData)
{
  HRESULT hr = S_OK;

  hr = io.Memory.MoveOut64(VisaA16Space, 0x10, psaData);

  return hr;
}
See Also

Download a complete CHM version of this documentation here.