[in] Address space to which the value will be written.
Out64
Writes a 64-bit value to a register-based device.
Syntax
Section titled “Syntax”virtual HRESULT Out64(VisaAddressSpace eSpace, UINT64 ullOffset, UINT64 uVal) abstract;Parameters
Section titled “Parameters”eSpace
ullOffset
[in] Offset within eSpace to write the value.
uVal
Value 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 64-bit value to a register-based device at the specified memory space and offset.
Example
Section titled “Example”The following example demonstrates use of the Out64 function.
STDMETHODIMP Acme4321::IAcme4321_WriteRegister(UINT64 uVal){ HRESULT hr = S_OK;
hr = io.Memory.Out64(VisaA64Space, 0x10, uVal);
return hr;}