MoveOut32 |
Writes a block of 32-bit data values from local memory to the specified address space and offset.
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;
[in] Address space to which the data will be written.
[in] Offset within eSpace to write the data.
Data to write to the register-based device.
Returns S_OK if successful, otherwise a failure HRESULT.
Writes a block of 32-bit data values from local memory to a register-based device at the specified address space and offset.
The following example demonstrates use of the MoveOut32 function.
// CoAcme4321.cpp STDMETHODIMP Acme4321::IAcme4321_WriteBlock(SAFEARRAY* psaData) { HRESULT hr = S_OK; hr = io.Memory.MoveOut32(VisaA32Space, 0x10, psaData); return hr; }