Click or drag to resize

In64

Reads an 64-bit value from a register-based device.


				virtual HRESULT In64(VisaAddressSpace eSpace, UINT64 ullOffset, UINT64* puVal) abstract;
			
Parameters
eSpace

[in] Address space from which to read the value.

ullOffset

[in] Offset within eSpace to read the value.

puVal

Value read from the register-based device.

Return Value

Returns S_OK if successful, otherwise a failure HRESULT.

Remarks

Reads an 64-bit value from a register-based device at the specified memory space and offset.

Example

The following example demonstrates use of the In64 function.

C++
// CoAcme4321.cpp
STDMETHODIMP Acme4321::IAcme4321_ReadRegister()
{
  HRESULT hr = S_OK;

  UINT64 uVal;
  hr = io.Memory.In64(VisaA64Space, 0x10, &uVal);

  return hr;
}
See Also

Download a complete CHM version of this documentation here.