PMIB_GET_TRAP_INFO callback function (routprot.h)
The MibGetTrapInfo function queries the module that set a trap event for more information about the trap.
The PMIB_GET_TRAP_INFO type defines a pointer to this callback function. MibGetTrapInfo is a placeholder for the application-defined function name.
Syntax
PMIB_GET_TRAP_INFO PmibGetTrapInfo;
DWORD PmibGetTrapInfo(
[in] ULONG InputDataSize,
[in] PVOID InputData,
[out] PULONG OutputDataSize,
[out] PVOID OutputData
)
{...}
Parameters
[in] InputDataSize
Specifies a ULONG variable that specifies the size in bytes of the data pointed to by InputData.
[in] InputData
Pointer to the input data.
[out] OutputDataSize
Pointer to a ULONG variable that receives the size in bytes of the data pointed to by * OutputData.
[out] OutputData
Receives the address of a pointer to the output data.
Return value
If the functions succeeds, the return value is NO_ERROR
If the function fails, the return value is one of the following error codes.
Value | Description |
---|---|
|
The caller does not have sufficient privileges. |
|
Insufficient resources to complete the operation. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | routprot.h |