Partager via


SnmpUtilOctetsCmp

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

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.