TR_IS_FUNCTIONAL (Windows CE 5.0)
This macro sets a caller-supplied variable to a Boolean value indicating whether a given Token Ring address is a functional address.
VOID TR_IS_FUNCTIONAL(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 functional.
Return Values
None.
Remarks
The TR_IS_FUNCTIONAL macro is defined as follows.
#define TR_IS_FUNCTIONAL(_Address, _Result) \
{ \
*(_Result) = (BOOLEAN)(((_Address)[0] & 0x80) && \
!((_Address)[2] & 0x80)); \
}
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.
See Also
TR_IS_BROADCAST | TR_IS_GROUP | TR_IS_NOT_DIRECTED | TR_IS_SOURCE_ROUTING
Send Feedback on this topic to the authors