SnmpUtilOctetsCmp function
[SNMP is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, use Windows Remote Management, which is the Microsoft implementation of WS-Man.]
The SnmpUtilOctetsCmp function compares two octet strings. This function is an element of the SNMP Utility API.
Syntax
SNMPAPI SnmpUtilOctetsCmp( _In_ AsnOctetString *pOctets1, _In_ AsnOctetString *pOctets2 );
Parameters
- pOctets1 [in]
-
Pointer to an AsnOctetString structure to compare.
- pOctets2 [in]
-
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
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 10/30/2012