Share via


SnmpTfxOpen

The SnmpTfxClose function initialises the SnmpTfx framework application. This function is an element of the SNMPTfx API. It must be called from the SnmpExtensionInit subagent routine

SnmpTfxHandle WINAPI SnmpTfxOpen (
DWORD numViews, 
SnmpMibView *supportedViews );

Parameters

  • numViews
    Count of the number of disjoint MIB trees to be defined in this subagent. Each rooted MIB OID should be defined as a separate MIB view.
  • supportedViews
    Array of SnmpMibView structures that define the layout for each of the supported MIB views.

Return Values

The SnmpTfxOpen function returns a HANDLE value that is used to associate further calls to the SnmpTfxQuery function, while a request to the extension agent is being processed.

Remarks

The SnmpTfxOpen function should be called from the subagent's SnmpExtensionInit routine. You should store the handle in the subagent's global storage, so that it can be use to process a request to the extension agent.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 3.0 and later Snmpexts.h   Snmpapi.lib

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

SnmpTfxClose, SnmpTfxQuery, SnmpExtensionInit

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.