[in] Address space to which the data will be written.
MoveOut32
Writes a block of 32-bit data values from local memory to the specified address space and offset.
Syntax
Section titled “Syntax”virtual HRESULT MoveOut32(VisaAddressSpace eSpace, UINT64 ullOffset, UINT32 ulLength, UINT8* pBuf) abstract;
virtual HRESULT MoveOut32(VisaAddressSpaceeSpace, UINT64 ullOffset, UINT32 ulLength, SAFEARRAY* pBuf) abstract;
virtual HRESULT MoveOut32(VisaAddressSpaceeSpace, UINT64 ullOffset, UINT32 ulLength, CComSafeArray<UINT32>& 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 32-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 MoveOut32 function.
STDMETHODIMP Acme4321::IAcme4321_WriteBlock(SAFEARRAY* psaData){ HRESULT hr = S_OK;
hr = io.Memory.MoveOut32(VisaA32Space, 0x10, psaData);
return hr;}