Resource Handle Objects

[This is preliminary documentation and subject to change.]

The structure of a resource object is restricted to the Microsoft WinSNMP implementation. A WinSNMP manager application can access a resource object with a handle.

The implementation can allocate one of the following types of resource handles for a WinSNMP manager application.

Handle type Description
HSNMP_SESSION Handle to a WinSNMP session
HSNMP_ENTITY Handle to an SNMP entity
HSNMP_CONTEXT Handle to a WinSNMP context
HSNMP_PDU Handle to a protocol data unit
HSNMP_VBL Handle to a variable binding list

A WinSNMP manager application can request that the implementation create or delete resource handles, but the implementation performs the operation. For additional information about freeing individual resources, see the SnmpFreeDescriptor, SnmpFreeVbl, SnmpFreePdu, SnmpFreeEntity, and SnmpFreeContext functions.