MprAdminMIBGetTrapInfo function (mprapi.h)
The MprAdminMIBGetTrapInfo function queries the module that set a trap event for more information about the trap.
DWORD MprAdminMIBGetTrapInfo( [in] MIB_SERVER_HANDLE hMibServer, [in] DWORD dwProtocolId, [in] DWORD dwRoutingPid, [in] LPVOID lpInData, [in] DWORD dwInDataSize, [out] LPVOID *lplpOutData, [in, out] LPDWORD lpOutDataSize );
Handle to the router on which to execute this call. Obtain this handle by calling MprAdminMIBServerConnect.
Specifies a DWORD variable that contains the protocol family identifier.
Specifies a DWORD variable that contains the identifier of the routing protocol.
Specifies the address of the input data.
Specifies a DWORD variable that contains the size, in, bytes of the data pointed to by lpInData.
Receives, the address of a pointer to the output data.
[in, out] lpOutDataSize
On input, pointer to a DWORD variable.
On output, receives the size, in bytes, of the data pointed to by * lplpOutData.
If the functions succeeds, the return value is NO_ERROR
If the function fails, the return value is one of the following error codes.
||The caller does not have sufficient privileges.|
||The dwTransportId value does not match any installed router manager.|
||Insufficient resources to complete the operation.|
|Minimum supported client||None supported|
|Minimum supported server||Windows 2000 Server [desktop apps only]|