MprAdminMIBServerConnect function (mprapi.h)
The MprAdminMIBServerConnect function establishes a connection to the router being administered. This call should be made before any other calls to the server. The handle returned by this function is used in subsequent MIB calls.
Syntax
DWORD MprAdminMIBServerConnect(
[in] LPWSTR lpwsServerName,
[out] MIB_SERVER_HANDLE *phMibServer
);
Parameters
[in] lpwsServerName
Pointer to a Unicode string that specifies the name of the remote server. If the caller specifies NULL for this parameter, the function returns a handle to the local server.
[out] phMibServer
Pointer to a handle variable. This variable receives a handle to the server.
Return value
If the function succeeds, the return value is NO_ERROR.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for