Share via


SnmpUtilOctetsCmp

The SnmpUtilOctetsCmp 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

Runs on Versions Defined in Include Link to
Windows CE OS 3.0 and later Snmp.h   Snmpapi.lib

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

AsnOctetString

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.