[in] true indicates big endian byte ordering. false indicates little endian byte ordering.
SetDestinationBigEndian
Specifies the byte order to be used in high-level access operations, such as InXX and MoveInXX, when writing to the destination.
Syntax
Section titled “Syntax”virtual HRESULT SetDestinationBigEndian(bool bBigEndian) abstract;Parameters
Section titled “Parameters”bBigEndian
Return value
Section titled “Return value”Returns S_OK if successful, otherwise a failure HRESULT.
Example
Section titled “Example”The following example demonstrates use of the SetDestinationBigEndian function.
STDMETHODIMP Acme4321::IAcme4321_Write(SAFEARRAY* psaData){ // Destination uses big endian byte ordering hr = io.SetDestinationBigEndian(true);
hr = io.Memory.MoveOut16(VisaA16Space, 0x10, psaData);
return hr;}