MprAdminMIBServerConnect

[This is preliminary documentation and subject to change.]

Call the MprAdminMIBServerConnect function to connect to the Windows NT 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.

DWORD  MprAdminMIBServerConnect(
  LPWSTR lpwsServerName,             // name of router
  MIB_SERVER_HANDLE * phMibServer    // handle to router
);

Parameters

lpwsServerNamer
Pointer to a Unicode string that contains the name of the remote server. If the caller specifies NULL for this parameter, the function will return a handle to the local server.
phMibServer
Pointer to a handle variable. On successful return, this variable will contain a handle to the server.

Return Values

NO_ERROR
Success

See Also

MprAdminMIBServerDisconnect