PRB: SnmpMgrGetTrap() FailsLast reviewed: September 29, 1995Article ID: Q130564 |
The information in this article applies to:
SYMPTOMSIf an SNMP manager application calls SnmpMgrGetTrap() to recieve traps and there are traps available, it returns FALSE. If the application calls GetLastError(), the error code returned is 42 (SNMP_MGMTAPI_TRAP_ERRORS).
RESOLUTIONThe SNMP Manager API SnmpMgrGetTrapListen() must be called before calling SnmpMgrGetTrap(). The event handle returned by SnmpMgrGetTrapListen() can then be ignored to poll for traps.
STATUSThis behavior is by design.
REFERENCESFor more information, please see the Microsoft Windows NT SNMP Programmer's Reference (PROGREF.RTF).
|
Additional reference words: 3.50
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |