Share via


SnmpUtilOctetsCmp

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This function compares two octet strings.

Syntax

SNMPAPI SnmpUtilOctetsComp(
  AsnOctetString pOctets1, 
  AsnOctetString pOctets2 
);

Parameters

  • pOctets2
    Pointer to a second AsnOctetString structure to compare.

Return Value

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

Header snmp.h
Library snmpapi.lib
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

AsnOctetString