다음을 통해 공유


TR_COPY_NETWORK_ADDRESS (Windows Embedded CE 6.0)

1/6/2010

This macro copies a given Token Ring address to a given location.

Syntax

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 Value

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

Header ndis.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Network Driver Macros
TR_COMPARE_NETWORK_ADDRESSES