TR_IS_GROUP (Windows Embedded CE 6.0)
1/6/2010
This macro sets a caller-supplied variable to a Boolean value indicating whether a given Token Ring address is a group address.
Syntax
VOID TR_IS_GROUP(
PUCHAR _Address,
PBOOLEAN _Result
);
Parameters
- _Address
Points to a network address.
- _Result
Points to a caller-supplied variable in which this macro returns TRUE if the address is a group address.
Return Value
None.
Remarks
The TR_IS_GROUP macro is defined as follows.
#define TR_IS_GROUP(_Address, _Result) \
{ \
*(_Result) = (BOOLEAN)((_Address)[0] & (_Address)[2] & 0x80); \
}
Requirements
Header | ndis.h |
Windows Embedded CE | Windows CE .NET 4.0 and later |
See Also
Reference
Network Driver Macros
TR_IS_BROADCAST
TR_IS_FUNCTIONAL
TR_IS_NOT_DIRECTED
TR_IS_SOURCE_ROUTING