[out] true indicates big endian byte ordering. false indicates little endian byte ordering.
GetSourceBigEndian
Gets the byte order currently in use in high-level access operations, such as InXX and MoveInXX, when reading from the source.
Syntax
Section titled “Syntax”virtual HRESULT GetSourceBigEndian(bool* pbBigEndian) abstract;Parameters
Section titled “Parameters”pbBigEndian
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 GetSourceBigEndian function.
STDMETHODIMP Acme4321::IAcme4321_Read(){ // Source uses big endian byte ordering bool bBigEndian. hr = io.Memory.GetSourceBigEndian(&bBigEndian);
return hr;}