TR_COPY_NETWORK_ADDRESS (Windows CE 5.0)
This macro copies a given Token Ring address to a given location.
VOID TR_COPY_NETWORK_ADDRESS(PCHAR_D,PCHAR_S);
Parameters
- _D
Points to a caller-supplied variable to which this function copies the source address. - _S
Points to the source address.
Return Values
None.
Remarks
The TR_COPY_NETWORK_ADDRESS macro is defined as follows.
#define TR_COPY_NETWORK_ADDRESS(_D, _S) \
{ \
*((ULONG UNALIGNED *)(_D)) = *((ULONG UNALIGNED *)(_S)); \
*((USHORT UNALIGNED *)((UCHAR *)(_D)+4)) = \
*((USHORT UNALIGNED *)((UCHAR *)(_S)+4)); \
}
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.
See Also
Send Feedback on this topic to the authors