MprAdminServerConnect

[This is preliminary documentation and subject to change.]

Call the MprAdminServerConnect function to connect to the Windows NT router to administer. Call this function before making any other calls to the server. Use the handle returned in subsequent calls to administer interfaces on the server.

DWORD  MprAdminServerConnect(
  LPWSTR lpwsServerName,             // name of router
  MPR_SERVER_HANDLE * phMprServer    // handle to router
)

Parameters

lpwsServerName
Pointer to a Unicode string that contains the name of the remote server.
phMprServer
Pointer to a HANDLE variable that, on successful return, contains a handle to the server. Use this handle in subsequent calls to administer the server.

Return Values

NO_ERROR
Success

QuickInfo

  Windows NT: Use version 5.0 and later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in mprapi.h.
  Import Library: Link with mprapi.lib.

See Also

MprAdminServerDisconnect