MoveOut8 |
Writes a block of 8-bit data values from local memory to the specified address space and offset.
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;
[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 8-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 MoveOut8 function.
// CoAcme4321.cpp STDMETHODIMP Acme4321::IAcme4321_WriteBlock(SAFEARRAY* psaData) { HRESULT hr = S_OK; hr = io.Memory.MoveOut8(VisaA16Space, 0x10, psaData); return hr; }