다음을 통해 공유


SnmpTfxOpen (Windows CE 5.0)

Send Feedback

This function initializes 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(DWORDnumViews,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

OS Versions: Windows CE 3.0 and later.
Header: Snmpexts.h.
Link Library: Snmpapi.lib.

See Also

SnmpTfxClose | SnmpTfxQuery | SnmpExtensionInit

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.