Click or drag to resize

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;
Parameters
pbBigEndian

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

Return Value

Returns S_OK if successful, otherwise a failure HRESULT.

Example

The following example demonstrates use of the GetDestinationBigEndian function.

C++
// CoAcme4321.cpp
STDMETHODIMP Acme4321::IAcme4321_Read()
{
  bool bBigEndian;
  hr = io.Memory.GetDestinationBigEndian(&bBigEndian);

  return hr;
}
See Also

Download a complete CHM version of this documentation here.