PMIB_GET_NEXT callback function (routprot.h)

The MibGetNext function passes a SNMP MIB-style Get Next Request to the routing protocol.

Syntax

PMIB_GET_NEXT PmibGetNext;

DWORD PmibGetNext(
  [in]  ULONG InputDataSize,
  [in]  PVOID InputData,
  [out] PULONG OutputDataSize,
  [out] PVOID OutputData
)
{...}

Parameters

[in] InputDataSize

Specifies the size of the data for the Get Next Request.

[in] InputData

Pointer to the data for the Get Next Request.

[out] OutputDataSize

Pointer to a ULONG variable:

On input: This variable that contains the size of the output buffer.

On output: This variable contains the size of data placed in the output buffer. If the initial size was not large enough, the variable contains the buffer size required to hold all of the output data.

[out] OutputData

Pointer to a buffer that receives the data from the MIB entry.

Return value

If the function succeeds, the return value is NO_ERROR.

If the function fails, the return value is one of the following error codes.

Value Description
ERROR_CAN_NOT_COMPLETE
The routing protocol could not complete the request.
ERROR_INVALID_PARAMETER
The size or content of the data is inappropriate for the request.
ERROR_INSUFFICIENT_BUFFER
The size of the output buffer provided is not large enough to hold the requested information. The required size is returned in the ULONG variable pointed to by the OutputDataSize parameter.
 
 

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header routprot.h

See also

MibGet

MibGetFirst

MibSet

Routing Protocol Interface Functions

Routing Protocol Interface Reference