MprAdminServerGetInfo

[This is preliminary documentation and subject to change.]

The MprAdminServerGetInfo function retrieves routing and RAS information from a specified server.

DWORD  MprAdminServerGetInfo (
  MPR_SERVER_HANDLE hMprServer,    // handle to router
  DWORD     dwLevel,               // level of information requested
  LPBYTE  * lplpbBuffer            // MPR_SERVER_0 structure
)

Parameters

hMprServer
Handle to the Windows NT router to query. Obtain this handle by calling MprAdminMIBServerConnect.
dwLevel
Level of the information returned in lplpbBuffer. Must be zero.
lplpbBuffer
Pointer to a pointer variable. On successful return, this pointer variable will point to an MPR_SERVER_0 structure. Free this memory by calling MprAdminBufferFree.

Return Values

ERROR_ACCESS_DENIED
The caller does not have sufficient privilege.
ERROR_INVALID_PARAMETER
The lplpbBuffer parameter is NULL.

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

MprAdminBufferFree, MPR_SERVER_0, MprAdminServerConnect