SNMP Manager Programmer's Guide
Programming Examples
SNMP Manager Programmer’s Guide–134249
2-119
SNMPHOST Header File
GetPrinterStatus() Retrieves the value of hrPrinterStatus from a structure of
type DEV_ENTRY_T
GetDiskCapacity() Retrieves the value of hrDiskStorageCapacity from a
structure of type DEV_ENTRY_T
oidstring2oid() Converts an OID formatted like a string ("1.3.2") to an
array of longs and returns a component count
oidcmp2() Compares one OID with a second OID to determine
whether it is greater than, less than, or equal to the
second OID
dev_status_to_str() Converts the integer value of hrDeviceStatus to a string
prn_status_to_str() Converts the integer value of hrPrinterStatus to a string