MprAdminMIBEntryCreate

[This is preliminary documentation and subject to change.]

The MprAdminMIBEntryCreate function creates an entry for one of the variables exported by a routing protocol or router manager.

DWORD  MprAdminMIBEntryCreate(
  MIB_SERVER_HANDLE hMibServer,    // handle to router
  DWORD dwTransportId,             // transport/router manager ID
  DWORD dwRoutingPid,              // routing protocol ID
  LPVOID lpEntry,                  // opaque data structure
  DWORD dwEntrySize                // size of opaque data structure
);

Parameters

hMibServer
A handle to the Windows NT router on which to execute this call. Obtain this handle by calling MprAdminMIBServerConnect.
dwTransportId
Identifies the router manager that exported the variable.
dwRoutingPid
Identifies the routing protocol that exported the variable.
lpEntry
Pointer to an opaque data structure. The data structure's format is determined by the module servicing the call. The data structure should contain information to identify the variable being created and the value to assign to the variable.
dwEntrySize
Specifies the size, in bytes, of the data pointed to by the lpEntry parameter.

Return Values

NO_ERROR
Success
ERROR_ACCESS_DENIED
The caller does not have sufficient privilege.
ERROR_CANNOT_COMPLETE
The dwRoutingPid variable doesn't match any installed routing protocol.
ERROR_NOT_ENOUGH_MEMORY
Insufficient resources to complete the operation.
ERROR_UNKNOWN_PROTOCOL_ID
The dwTransportId value does not match any installed router manager.

Remarks

Do not pass in NULL for the lpEntry parameter, as the resulting behavior is undefined.

See Also

MprAdminMIBServerConnect, MprAdminMIBEntryDelete, Protocol Identifiers, Transport Identifiers