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