Compartilhar via


SnmpUtilOctetsCmp (Windows CE 5.0)

Send Feedback

This function compares two octet strings.

SNMPAPI SnmpUtilOctetsComp(AsnOctetString pOctets1, AsnOctetString pOctets2 );

Parameters

  • pOctets1
    Pointer to an AsnOctetString structure to compare.
  • pOctets2
    Pointer to a second AsnOctetString structure 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

AsnOctetString

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.