Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
Other versions of this page are also available for the
following:
8/28/2008
This function compares two octet strings.
Syntax
SNMPAPI SnmpUtilOctetsComp( AsnOctetString pOctets1 , AsnOctetString pOctets2 ); |
Parameters
- pOctets1
-
Pointer to an AsnOctetStringstructure to compare.
- pOctets2
-
Pointer to a second AsnOctetStringstructure to compare.
Return Value
The function returns a value greater than zero if pOctets1is greater than pOctets2, zero if pOctets1equals pOctets2, and less than zero if pOctets1is less than pOctets2.
Remarks
The SnmpUtilOctetsCmpfunction calls the SnmpUtilOctetsNCmpfunction.
Requirements
Header | snmp.h |
Library | snmpapi.lib |
Windows Embedded CE | Windows CE 3.0 and later |