Skip to content

GetDestinationBigEndian

Gets the byte order currently in use for high-level access operations, such as InXX and MoveInXX, when writing to the destination.

virtual HRESULT GetDestinationBigEndian(bool* pbBigEndian) abstract;

pbBigEndian

[in] true indicates big endian byte ordering. false indicates little endian byte ordering.

Returns S_OK if successful, otherwise a failure HRESULT.

The following example demonstrates use of the GetDestinationBigEndian function.

CoAcme4321.cpp
STDMETHODIMP Acme4321::IAcme4321_Read()
{
bool bBigEndian;
hr = io.Memory.GetDestinationBigEndian(&bBigEndian);
return hr;
}