Compartilhar via


SnmpUtilOctetsNCmp (Windows CE 5.0)

Send Feedback

This function compares two octet strings. The function compares the subidentifiers in the strings until it reaches the number of subidentifiers specified by the nChars parameter.

SNMPAPI SnmpUtilOctetsFree(AsnOctetString* pOctets1, AsnOctetString* pOctets2,UINT nChars);

Parameters

  • pOctets1
    Pointer to an AsnOctetString structure to compare.
  • pOctets2
    Pointer to a second AsnOctetString structure to compare.
  • nChars
    Specifies the number of subidentifiers to compare.

Return Values

The function returns a value greater than zero if pOctets1 is greater than pOctets2, zero if pOctets1 equals pOctets2, and less than zero if pOctets1 is less than pOctets2.

Remarks

The SnmpUtilOctetsCmp function calls the SnmpUtilOctetsNCmp function.

Requirements

OS Versions: Windows CE 3.0 and later.
Header: Snmp.h.
Link Library: Snmpapi.lib.

See Also

SnmpUtilOctetsCmp

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.