MprAdminMIBEntrySet

[This is preliminary documentation and subject to change.]

The MprAdminMIBEntrySet function sets the value of one of the variables exported by a routing protocol or router manager.

DWORD  MprAdminMIBEntrySet(
  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
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 set and the value to be assigned to the variable.
dwEntrySize
Specifies the size, in bytes, of the data pointed to by the lpEntry parameter.

Return Values

NO_ERROR
The entry was set successfully.
ERROR_ACCESS_DENIED
The caller does not have sufficient privilege.
ERROR_CANNOT_COMPLETE
The dwRoutingPid variable doesn't match any installed routing protocol.
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, MprAdminMIBEntryGet, Protocol Identifiers, Transport Identifiers