GetXmaPacketMetadata
This is a helper function for theXMA2PACKET structure.
Syntax
Parameters
pPacket _In_bytecount_(3)Type: BYTE* Pointer to the packet.
Return value
Type: DWORD Always 1 for XMA2.Remarks
GetXmaPacketMetadata is a helper function that extracts the fields in the XMA2packet.
Bitfields cannot be read directly on little-endian architectures such as the Intel x86 because they are laid out in big-endian form.
