Click to Rate and Give Feedback
MSDN
MSDN Library

  Switch on low bandwidth view
Windows Driver Kit: Network Devices and Protocols
TR_COMPARE_NETWORK_ADDRESSES

TR_COMPARE_NETWORK_ADDRESSES sets a caller-supplied variable to a value indicating whether a given Token Ring address is greater than, less than, or equal to another given Token Ring address.

VOID
  TR_COMPARE_NETWORK_ADDRESSES(
    IN PCHAR  A,
    IN PCHAR  B,
    OUT PINT  Result
    );

Parameters

A
Pointer to the first network address.
B
Pointer to the second network address.
Result
Pointer to a caller-supplied variable in which this macro returns the result of its comparison as one of the following values:
Result < zero
B is greater than A.
Result > zero
A is greater than B.
Zero
A equals B.

Return Value

None

Comments

Token Ring network addresses do not have a defined ordering relationship. Consequently, the results of this macro for unequal addresses depend on the argument ordering.

Callers of this macro can be running at any IRQL if all pointer parameters access resident memory.

Requirements

IRQL: Any level (See Comments section)

Headers: Declared in Ndis.h. Include Ndis.h.

See Also

TR_COPY_NETWORK_ADDRESS

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker