MprAdminMIBEntryCreate function (mprapi.h)
The MprAdminMIBEntryCreate function creates an entry for one of the variables exported by a routing protocol or router manager.
Syntax
DWORD MprAdminMIBEntryCreate(
[in] MIB_SERVER_HANDLE hMibServer,
[out] DWORD dwPid,
[in] DWORD dwRoutingPid,
[in] LPVOID lpEntry,
[in] DWORD dwEntrySize
);
Parameters
[in] hMibServer
Handle to the router on which to execute this call. Obtain this handle by calling MprAdminMIBServerConnect.
[out] dwPid
Receives the router manager that exported the variable.
[in] dwRoutingPid
Specifies the routing protocol that exported the variable.
[in] lpEntry
Pointer to an opaque data structure. The data structure's format is determined by the router manager or router manager client servicing the call. The data structure should contain information that specifies the variable being created and the value to assign to the variable.
[in] dwEntrySize
Specifies the size, in bytes, of the data pointed to by the lpEntry parameter.
Return value
If the function succeeds, the return value is NO_ERROR.
If the function fails, the return value is one of the following values.
Value | Description |
---|---|
|
The caller does not have sufficient privileges. |
|
The dwRoutingPid variable does not match any installed routing protocol. |
|
Insufficient resources to complete the operation. |
|
The dwTransportId value does not match any installed router manager. |
Remarks
Do not pass in NULL for the lpEntry parameter because the resulting behavior is undefined.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | mprapi.h |
Library | Mprapi.lib |
DLL | Mprapi.dll |
See also
Router Management MIB Functions