Mprapi.h File Reference

#include <lmcons.h>
#include <ras.h>

Include dependency graph for Mprapi.h:

Go to the source code of this file.

Classes

struct  _MPR_INTERFACE_0
struct  _MPR_IPINIP_INTERFACE_0
struct  _MPR_TRANSPORT_0
struct  _MPR_IFTRANSPORT_0
struct  _MPR_SERVER_0
struct  _RAS_PORT_0
struct  _RAS_PORT_1
struct  _PPP_NBFCP_INFO
struct  _PPP_IPCP_INFO
struct  _PPP_IPCP_INFO2
struct  _PPP_IPXCP_INFO
struct  _PPP_ATCP_INFO
struct  _PPP_INFO
struct  _RAS_CONNECTION_0
struct  _RAS_CONNECTION_1
struct  _RAS_USER_0
struct  _RAS_USER_1

Defines

#define RRAS_SERVICE_NAME   TEXT("RemoteAccess")
#define PID_IPX   0x0000002B
#define PID_IP   0x00000021
#define PID_NBF   0x0000003F
#define PID_ATALK   0x00000029
#define MAX_INTERFACE_NAME_LEN   256
#define MAX_TRANSPORT_NAME_LEN   40
#define MAX_MEDIA_NAME   16
#define MAX_PORT_NAME   16
#define MAX_DEVICE_NAME   128
#define MAX_PHONE_NUMBER_LEN   128
#define MAX_DEVICETYPE_NAME   16
#define MPR_INTERFACE_OUT_OF_RESOURCES   0x00000001
#define MPR_INTERFACE_ADMIN_DISABLED   0x00000002
#define MPR_INTERFACE_CONNECTION_FAILURE   0x00000004
#define MPR_INTERFACE_SERVICE_PAUSED   0x00000008
#define MPR_INTERFACE_DIALOUT_HOURS_RESTRICTION   0x00000010
#define MPR_INTERFACE_NO_MEDIA_SENSE   0x00000020
#define MPR_INTERFACE_NO_DEVICE   0x00000040
#define IPADDRESSLEN   15
#define IPXADDRESSLEN   22
#define ATADDRESSLEN   32
#define PPP_IPCP_VJ   0x00000001
#define RAS_FLAGS_PPP_CONNECTION   0x00000001
#define RAS_FLAGS_MESSENGER_PRESENT   0x00000002
#define RAS_FLAGS_RAS_CONNECTION   0x00000004
#define RASPRIV_NoCallback   0x01
#define RASPRIV_AdminSetCallback   0x02
#define RASPRIV_CallerSetCallback   0x04
#define RASPRIV_DialinPrivilege   0x08
#define RASPRIV2_DialinPolicy   0x1
#define RASPRIV_CallbackType
#define MprInfoBlockExists(h, t)   (MprInfoBlockFind((h),(t),NULL,NULL,NULL) == NO_ERROR)

Typedefs

typedef enum _ROUTER_INTERFACE_TYPE ROUTER_INTERFACE_TYPE
typedef enum
_ROUTER_CONNECTION_STATE 
ROUTER_CONNECTION_STATE
typedef struct _MPR_INTERFACE_0 MPR_INTERFACE_0
typedef struct _MPR_INTERFACE_0PMPR_INTERFACE_0
typedef struct
_MPR_IPINIP_INTERFACE_0 
MPR_IPINIP_INTERFACE_0
typedef struct
_MPR_IPINIP_INTERFACE_0
PMPR_IPINIP_INTERFACE_0
typedef struct _MPR_TRANSPORT_0 MPR_TRANSPORT_0
typedef struct _MPR_TRANSPORT_0PMPR_TRANSPORT_0
typedef struct _MPR_IFTRANSPORT_0 MPR_IFTRANSPORT_0
typedef struct _MPR_IFTRANSPORT_0PMPR_IFTRANSPORT_0
typedef struct _MPR_SERVER_0 MPR_SERVER_0
typedef struct _MPR_SERVER_0PMPR_SERVER_0
typedef enum _RAS_PORT_CONDITION RAS_PORT_CONDITION
typedef enum
_RAS_HARDWARE_CONDITION 
RAS_HARDWARE_CONDITION
typedef struct _RAS_PORT_0 RAS_PORT_0
typedef struct _RAS_PORT_0PRAS_PORT_0
typedef struct _RAS_PORT_1 RAS_PORT_1
typedef struct _RAS_PORT_1PRAS_PORT_1
typedef struct _PPP_NBFCP_INFO PPP_NBFCP_INFO
typedef struct _PPP_IPCP_INFO PPP_IPCP_INFO
typedef struct _PPP_IPCP_INFO2 PPP_IPCP_INFO2
typedef struct _PPP_IPXCP_INFO PPP_IPXCP_INFO
typedef struct _PPP_ATCP_INFO PPP_ATCP_INFO
typedef struct _PPP_INFO PPP_INFO
typedef struct _RAS_CONNECTION_0 RAS_CONNECTION_0
typedef struct _RAS_CONNECTION_0PRAS_CONNECTION_0
typedef struct _RAS_CONNECTION_1 RAS_CONNECTION_1
typedef struct _RAS_CONNECTION_1PRAS_CONNECTION_1
typedef struct _RAS_USER_0 RAS_USER_0
typedef struct _RAS_USER_0PRAS_USER_0
typedef struct _RAS_USER_1 RAS_USER_1
typedef struct _RAS_USER_1PRAS_USER_1
typedef HANDLE RAS_SERVER_HANDLE
typedef HANDLE MPR_SERVER_HANDLE
typedef HANDLE MIB_SERVER_HANDLE

Enumerations

enum  _ROUTER_INTERFACE_TYPE {
  ROUTER_IF_TYPE_CLIENT, ROUTER_IF_TYPE_HOME_ROUTER, ROUTER_IF_TYPE_FULL_ROUTER, ROUTER_IF_TYPE_DEDICATED,
  ROUTER_IF_TYPE_INTERNAL, ROUTER_IF_TYPE_LOOPBACK, ROUTER_IF_TYPE_TUNNEL1, ROUTER_IF_TYPE_DIALOUT
}
enum  _ROUTER_CONNECTION_STATE { ROUTER_IF_STATE_UNREACHABLE, ROUTER_IF_STATE_DISCONNECTED, ROUTER_IF_STATE_CONNECTING, ROUTER_IF_STATE_CONNECTED }
enum  _RAS_PORT_CONDITION {
  RAS_PORT_NON_OPERATIONAL, RAS_PORT_DISCONNECTED, RAS_PORT_CALLING_BACK, RAS_PORT_LISTENING,
  RAS_PORT_AUTHENTICATING, RAS_PORT_AUTHENTICATED, RAS_PORT_INITIALIZING
}
enum  _RAS_HARDWARE_CONDITION { RAS_HARDWARE_OPERATIONAL, RAS_HARDWARE_FAILURE }

Functions

DWORD APIENTRY MprAdminConnectionEnum (IN RAS_SERVER_HANDLE hRasServer, IN DWORD dwLevel, OUT LPBYTE *lplpbBuffer, IN DWORD dwPrefMaxLen, OUT LPDWORD lpdwEntriesRead, OUT LPDWORD lpdwTotalEntries, IN LPDWORD lpdwResumeHandle OPTIONAL)
DWORD APIENTRY MprAdminPortEnum (IN RAS_SERVER_HANDLE hRasServer, IN DWORD dwLevel, IN HANDLE hConnection, OUT LPBYTE *lplpbBuffer, IN DWORD dwPrefMaxLen, OUT LPDWORD lpdwEntriesRead, OUT LPDWORD lpdwTotalEntries, IN LPDWORD lpdwResumeHandle OPTIONAL)
DWORD APIENTRY MprAdminConnectionGetInfo (IN RAS_SERVER_HANDLE hRasServer, IN DWORD dwLevel, IN HANDLE hConnection, OUT LPBYTE *lplpbBuffer)
DWORD APIENTRY MprAdminPortGetInfo (IN RAS_SERVER_HANDLE hRasServer, IN DWORD dwLevel, IN HANDLE hPort, OUT LPBYTE *lplpbBuffer)
DWORD APIENTRY MprAdminConnectionClearStats (IN RAS_SERVER_HANDLE hRasServer, IN HANDLE hConnection)
DWORD APIENTRY MprAdminPortClearStats (IN RAS_SERVER_HANDLE hRasServer, IN HANDLE hPort)
DWORD APIENTRY MprAdminPortReset (IN RAS_SERVER_HANDLE hRasServer, IN HANDLE hPort)
DWORD APIENTRY MprAdminPortDisconnect (IN RAS_SERVER_HANDLE hRasServer, IN HANDLE hPort)
BOOL APIENTRY MprAdminAcceptNewConnection (IN RAS_CONNECTION_0 *pRasConnection0, IN RAS_CONNECTION_1 *pRasConnection1)
BOOL APIENTRY MprAdminAcceptNewLink (IN RAS_PORT_0 *pRasPort0, IN RAS_PORT_1 *pRasPort1)
VOID APIENTRY MprAdminConnectionHangupNotification (IN RAS_CONNECTION_0 *pRasConnection0, IN RAS_CONNECTION_1 *pRasConnection1)
VOID APIENTRY MprAdminLinkHangupNotification (IN RAS_PORT_0 *pRasPort0, IN RAS_PORT_1 *pRasPort1)
DWORD APIENTRY MprAdminGetIpAddressForUser (IN WCHAR *lpwszUserName, IN WCHAR *lpwszPortName, IN OUT DWORD *lpdwIpAddress, OUT BOOL *bNotifyRelease)
VOID APIENTRY MprAdminReleaseIpAddress (IN WCHAR *lpszUserName, IN WCHAR *lpszPortName, IN DWORD *lpdwIpAddress)
DWORD APIENTRY MprAdminUserGetInfo (IN const WCHAR *lpszServer, IN const WCHAR *lpszUser, IN DWORD dwLevel, OUT LPBYTE lpbBuffer)
DWORD APIENTRY MprAdminUserSetInfo (IN const WCHAR *lpszServer, IN const WCHAR *lpszUser, IN DWORD dwLevel, IN const LPBYTE lpbBuffer)
DWORD APIENTRY MprAdminGetPDCServer (IN const WCHAR *lpszDomain, IN const WCHAR *lpszServer, OUT LPWSTR lpszPDCServer)
BOOL APIENTRY MprAdminIsServiceRunning (IN LPWSTR lpwsServerName)
DWORD APIENTRY MprAdminServerConnect (IN LPWSTR lpwsServerName OPTIONAL, OUT MPR_SERVER_HANDLE *phMprServer)
VOID APIENTRY MprAdminServerDisconnect (IN MPR_SERVER_HANDLE hMprServer)
DWORD APIENTRY MprAdminBufferFree (IN LPVOID pBuffer)
DWORD APIENTRY MprAdminGetErrorString (IN DWORD dwError, OUT LPWSTR *lpwsErrorString)
DWORD APIENTRY MprAdminServerGetInfo (IN MPR_SERVER_HANDLE hMprServer, IN DWORD dwLevel, OUT LPBYTE *lplpbBuffer)
DWORD APIENTRY MprAdminTransportSetInfo (IN MPR_SERVER_HANDLE hMprServer, IN DWORD dwTransportId, IN LPBYTE pGlobalInfo OPTIONAL, IN DWORD dwGlobalInfoSize, IN LPBYTE pClientInterfaceInfo OPTIONAL, IN DWORD dwClientInterfaceInfoSize)
DWORD APIENTRY MprAdminTransportGetInfo (IN MPR_SERVER_HANDLE hMprServer, IN DWORD dwTransportId, OUT LPBYTE *ppGlobalInfo OPTIONAL, OUT LPDWORD lpdwGlobalInfoSize OPTIONAL, OUT LPBYTE *ppClientInterfaceInfo OPTIONAL, OUT LPDWORD lpdwClientInterfaceInfoSize OPTIONAL)
DWORD APIENTRY MprAdminInterfaceGetHandle (IN MPR_SERVER_HANDLE hMprServer, IN LPWSTR lpwsInterfaceName, OUT HANDLE *phInterface, IN BOOL fIncludeClientInterfaces)
DWORD APIENTRY MprAdminInterfaceCreate (IN MPR_SERVER_HANDLE hMprServer, IN DWORD dwLevel, IN LPBYTE lpbBuffer, OUT HANDLE *phInterface)
DWORD APIENTRY MprAdminInterfaceGetInfo (IN MPR_SERVER_HANDLE hMprServer, IN HANDLE hInterface, IN DWORD dwLevel, IN LPBYTE *lplpbBuffer)
DWORD APIENTRY MprAdminInterfaceSetInfo (IN MPR_SERVER_HANDLE hMprServer, IN HANDLE hInterface, IN DWORD dwLevel, IN LPBYTE lpbBuffer)
DWORD APIENTRY MprAdminInterfaceDelete (IN MPR_SERVER_HANDLE hMprServer, IN HANDLE hInterface)
DWORD APIENTRY MprAdminInterfaceTransportRemove (IN MPR_SERVER_HANDLE hMprServer, IN HANDLE hInterface, IN DWORD dwTransportId)
DWORD APIENTRY MprAdminInterfaceTransportAdd (IN MPR_SERVER_HANDLE hMprServer, IN HANDLE hInterface, IN DWORD dwTransportId, IN LPBYTE pInterfaceInfo, IN DWORD dwInterfaceInfoSize)
DWORD APIENTRY MprAdminInterfaceTransportGetInfo (IN MPR_SERVER_HANDLE hMprServer, IN HANDLE hInterface, IN DWORD dwTransportId, OUT LPBYTE *ppInterfaceInfo, OUT LPDWORD lpdwpInterfaceInfoSize OPTIONAL)
DWORD APIENTRY MprAdminInterfaceTransportSetInfo (IN MPR_SERVER_HANDLE hMprServer, IN HANDLE hInterface, IN DWORD dwTransportId, IN LPBYTE pInterfaceInfo, IN DWORD dwInterfaceInfoSize)
DWORD APIENTRY MprAdminInterfaceEnum (IN MPR_SERVER_HANDLE hMprServer, IN DWORD dwLevel, OUT LPBYTE *lplpbBuffer, IN DWORD dwPrefMaxLen, OUT LPDWORD lpdwEntriesRead, OUT LPDWORD lpdwTotalEntries, IN LPDWORD lpdwResumeHandle OPTIONAL)
DWORD APIENTRY MprSetupIpInIpInterfaceFriendlyNameEnum (IN PWCHAR pwszMachineName, OUT LPBYTE *lplpBuffer, OUT LPDWORD lpdwEntriesRead)
DWORD APIENTRY MprSetupIpInIpInterfaceFriendlyNameFree (IN LPVOID lpBuffer)
DWORD APIENTRY MprSetupIpInIpInterfaceFriendlyNameCreate (PWCHAR pwszMachineName, PMPR_IPINIP_INTERFACE_0 pNameInformation)
DWORD APIENTRY MprSetupIpInIpInterfaceFriendlyNameDelete (IN PWCHAR pwszMachineName, IN GUID *pGuid)
DWORD APIENTRY MprAdminInterfaceSetCredentials (IN LPWSTR lpwsServer OPTIONAL, IN LPWSTR lpwsInterfaceName, IN LPWSTR lpwsUserName OPTIONAL, IN LPWSTR lpwsDomainName OPTIONAL, IN LPWSTR lpwsPassword OPTIONAL)
DWORD APIENTRY MprAdminInterfaceGetCredentials (IN LPWSTR lpwsServer OPTIONAL, IN LPWSTR lpwsInterfaceName, OUT LPWSTR lpwsUserName OPTIONAL, OUT LPWSTR lpwsPassword OPTIONAL, OUT LPWSTR lpwsDomainName OPTIONAL)
DWORD APIENTRY MprAdminInterfaceConnect (IN MPR_SERVER_HANDLE hMprServer, IN HANDLE hInterface, IN HANDLE hEvent, IN BOOL fSynchronous)
DWORD APIENTRY MprAdminInterfaceDisconnect (IN MPR_SERVER_HANDLE hMprServer, IN HANDLE hInterface)
DWORD APIENTRY MprAdminInterfaceUpdateRoutes (IN MPR_SERVER_HANDLE hMprServer, IN HANDLE hInterface, IN DWORD dwProtocolId, IN HANDLE hEvent)
DWORD APIENTRY MprAdminInterfaceQueryUpdateResult (IN MPR_SERVER_HANDLE hMprServer, IN HANDLE hInterface, IN DWORD dwProtocolId, OUT LPDWORD lpdwUpdateResult)
DWORD APIENTRY MprAdminInterfaceUpdatePhonebookInfo (IN MPR_SERVER_HANDLE hMprServer, IN HANDLE hInterface)
DWORD APIENTRY MprAdminMIBServerConnect (IN LPWSTR lpwsServerName OPTIONAL, OUT MIB_SERVER_HANDLE *phMibServer)
VOID APIENTRY MprAdminMIBServerDisconnect (IN MIB_SERVER_HANDLE hMibServer)
DWORD APIENTRY MprAdminMIBEntryCreate (IN MIB_SERVER_HANDLE hMibServer, IN DWORD dwPid, IN DWORD dwRoutingPid, IN LPVOID lpEntry, IN DWORD dwEntrySize)
DWORD APIENTRY MprAdminMIBEntryDelete (IN MIB_SERVER_HANDLE hMibServer, IN DWORD dwProtocolId, IN DWORD dwRoutingPid, IN LPVOID lpEntry, IN DWORD dwEntrySize)
DWORD APIENTRY MprAdminMIBEntrySet (IN MIB_SERVER_HANDLE hMibServer, IN DWORD dwProtocolId, IN DWORD dwRoutingPid, IN LPVOID lpEntry, IN DWORD dwEntrySize)
DWORD APIENTRY MprAdminMIBEntryGet (IN MIB_SERVER_HANDLE hMibServer, IN DWORD dwProtocolId, IN DWORD dwRoutingPid, IN LPVOID lpInEntry, IN DWORD dwInEntrySize, OUT LPVOID *lplpOutEntry, OUT LPDWORD lpOutEntrySize)
DWORD APIENTRY MprAdminMIBEntryGetFirst (IN MIB_SERVER_HANDLE hMibServer, IN DWORD dwProtocolId, IN DWORD dwRoutingPid, IN LPVOID lpInEntry, IN DWORD dwInEntrySize, OUT LPVOID *lplpOutEntry, OUT LPDWORD lpOutEntrySize)
DWORD APIENTRY MprAdminMIBEntryGetNext (IN MIB_SERVER_HANDLE hMibServer, IN DWORD dwProtocolId, IN DWORD dwRoutingPid, IN LPVOID lpInEntry, IN DWORD dwInEntrySize, OUT LPVOID *lplpOutEntry, OUT LPDWORD lpOutEntrySize)
DWORD APIENTRY MprAdminMIBGetTrapInfo (IN MIB_SERVER_HANDLE hMibServer, IN DWORD dwProtocolId, IN DWORD dwRoutingPid, IN LPVOID lpInData, IN DWORD dwInDataSize, OUT LPVOID *lplpOutData, IN OUT LPDWORD lpOutDataSize)
DWORD APIENTRY MprAdminMIBSetTrapInfo (IN DWORD dwProtocolId, IN DWORD dwRoutingPid, IN HANDLE hEvent, IN LPVOID lpInData, IN DWORD dwInDataSize, OUT LPVOID *lplpOutData, IN OUT LPDWORD lpOutDataSize)
DWORD APIENTRY MprAdminMIBBufferFree (IN LPVOID pBuffer)
DWORD APIENTRY MprConfigServerInstall (IN DWORD dwLevel, IN PVOID pBuffer)
DWORD APIENTRY MprConfigServerConnect (IN LPWSTR lpwsServerName, OUT HANDLE *phMprConfig)
VOID APIENTRY MprConfigServerDisconnect (IN HANDLE hMprConfig)
DWORD APIENTRY MprConfigServerRefresh (IN HANDLE hMprConfig)
DWORD APIENTRY MprConfigBufferFree (IN LPVOID pBuffer)
DWORD APIENTRY MprConfigServerGetInfo (IN HANDLE hMprConfig, IN DWORD dwLevel, OUT LPBYTE *lplpbBuffer)
DWORD APIENTRY MprConfigServerBackup (IN HANDLE hMprConfig, IN LPWSTR lpwsPath)
DWORD APIENTRY MprConfigServerRestore (IN HANDLE hMprConfig, IN LPWSTR lpwsPath)
DWORD APIENTRY MprConfigTransportCreate (IN HANDLE hMprConfig, IN DWORD dwTransportId, IN LPWSTR lpwsTransportName OPTIONAL, IN LPBYTE pGlobalInfo, IN DWORD dwGlobalInfoSize, IN LPBYTE pClientInterfaceInfo OPTIONAL, IN DWORD dwClientInterfaceInfoSize OPTIONAL, IN LPWSTR lpwsDLLPath, OUT HANDLE *phRouterTransport)
DWORD APIENTRY MprConfigTransportDelete (IN HANDLE hMprConfig, IN HANDLE hRouterTransport)
DWORD APIENTRY MprConfigTransportGetHandle (IN HANDLE hMprConfig, IN DWORD dwTransportId, OUT HANDLE *phRouterTransport)
DWORD APIENTRY MprConfigTransportSetInfo (IN HANDLE hMprConfig, IN HANDLE hRouterTransport, IN LPBYTE pGlobalInfo OPTIONAL, IN DWORD dwGlobalInfoSize OPTIONAL, IN LPBYTE pClientInterfaceInfo OPTIONAL, IN DWORD dwClientInterfaceInfoSize OPTIONAL, IN LPWSTR lpwsDLLPath OPTIONAL)
DWORD APIENTRY MprConfigTransportGetInfo (IN HANDLE hMprConfig, IN HANDLE hRouterTransport, IN OUT LPBYTE *ppGlobalInfo OPTIONAL, OUT LPDWORD lpdwGlobalInfoSize OPTIONAL, IN OUT LPBYTE *ppClientInterfaceInfo OPTIONAL, OUT LPDWORD lpdwClientInterfaceInfoSize OPTIONAL, IN OUT LPWSTR *lplpwsDLLPath OPTIONAL)
DWORD APIENTRY MprConfigTransportEnum (IN HANDLE hMprConfig, IN DWORD dwLevel, IN OUT LPBYTE *lplpBuffer, IN DWORD dwPrefMaxLen, OUT LPDWORD lpdwEntriesRead, OUT LPDWORD lpdwTotalEntries, IN OUT LPDWORD lpdwResumeHandle OPTIONAL)
DWORD APIENTRY MprConfigInterfaceCreate (IN HANDLE hMprConfig, IN DWORD dwLevel, IN LPBYTE lpbBuffer, OUT HANDLE *phRouterInterface)
DWORD APIENTRY MprConfigInterfaceDelete (IN HANDLE hMprConfig, IN HANDLE hRouterInterface)
DWORD APIENTRY MprConfigInterfaceGetHandle (IN HANDLE hMprConfig, IN LPWSTR lpwsInterfaceName, OUT HANDLE *phRouterInterface)
DWORD APIENTRY MprConfigInterfaceGetInfo (IN HANDLE hMprConfig, IN HANDLE hRouterInterface, IN DWORD dwLevel, IN OUT LPBYTE *lplpBuffer, OUT LPDWORD lpdwBufferSize)
DWORD APIENTRY MprConfigInterfaceSetInfo (IN HANDLE hMprConfig, IN HANDLE hRouterInterface, IN DWORD dwLevel, IN LPBYTE lpbBuffer)
DWORD APIENTRY MprConfigInterfaceEnum (IN HANDLE hMprConfig, IN DWORD dwLevel, IN OUT LPBYTE *lplpBuffer, IN DWORD dwPrefMaxLen, OUT LPDWORD lpdwEntriesRead, OUT LPDWORD lpdwTotalEntries, IN OUT LPDWORD lpdwResumeHandle OPTIONAL)
DWORD APIENTRY MprConfigInterfaceTransportAdd (IN HANDLE hMprConfig, IN HANDLE hRouterInterface, IN DWORD dwTransportId, IN LPWSTR lpwsTransportName OPTIONAL, IN LPBYTE pInterfaceInfo, IN DWORD dwInterfaceInfoSize, OUT HANDLE *phRouterIfTransport)
DWORD APIENTRY MprConfigInterfaceTransportRemove (IN HANDLE hMprConfig, IN HANDLE hRouterInterface, IN HANDLE hRouterIfTransport)
DWORD APIENTRY MprConfigInterfaceTransportGetHandle (IN HANDLE hMprConfig, IN HANDLE hRouterInterface, IN DWORD dwTransportId, OUT HANDLE *phRouterIfTransport)
DWORD APIENTRY MprConfigInterfaceTransportGetInfo (IN HANDLE hMprConfig, IN HANDLE hRouterInterface, IN HANDLE hRouterIfTransport, IN OUT LPBYTE *ppInterfaceInfo OPTIONAL, OUT LPDWORD lpdwInterfaceInfoSize OPTIONAL)
DWORD APIENTRY MprConfigInterfaceTransportSetInfo (IN HANDLE hMprConfig, IN HANDLE hRouterInterface, IN HANDLE hRouterIfTransport, IN LPBYTE pInterfaceInfo OPTIONAL, IN DWORD dwInterfaceInfoSize OPTIONAL)
DWORD APIENTRY MprConfigInterfaceTransportEnum (IN HANDLE hMprConfig, IN HANDLE hRouterInterface, IN DWORD dwLevel, IN OUT LPBYTE *lplpBuffer, IN DWORD dwPrefMaxLen, OUT LPDWORD lpdwEntriesRead, OUT LPDWORD lpdwTotalEntries, IN OUT LPDWORD lpdwResumeHandle OPTIONAL)
DWORD APIENTRY MprConfigGetFriendlyName (IN HANDLE hMprConfig, IN PWCHAR pszGuidName, OUT PWCHAR pszBuffer, IN DWORD dwBufferSize)
DWORD APIENTRY MprConfigGetGuidName (IN HANDLE hMprConfig, IN PWCHAR pszFriendlyName, OUT PWCHAR pszBuffer, IN DWORD dwBufferSize)
DWORD APIENTRY MprInfoCreate (IN DWORD dwVersion, OUT LPVOID *lplpNewHeader)
DWORD APIENTRY MprInfoDelete (IN LPVOID lpHeader)
DWORD APIENTRY MprInfoRemoveAll (IN LPVOID lpHeader, OUT LPVOID *lplpNewHeader)
DWORD APIENTRY MprInfoDuplicate (IN LPVOID lpHeader, OUT LPVOID *lplpNewHeader)
DWORD APIENTRY MprInfoBlockAdd (IN LPVOID lpHeader, IN DWORD dwInfoType, IN DWORD dwItemSize, IN DWORD dwItemCount, IN LPBYTE lpItemData, OUT LPVOID *lplpNewHeader)
DWORD APIENTRY MprInfoBlockRemove (IN LPVOID lpHeader, IN DWORD dwInfoType, OUT LPVOID *lplpNewHeader)
DWORD APIENTRY MprInfoBlockSet (IN LPVOID lpHeader, IN DWORD dwInfoType, IN DWORD dwItemSize, IN DWORD dwItemCount, IN LPBYTE lpItemData, OUT LPVOID *lplpNewHeader)
DWORD APIENTRY MprInfoBlockFind (IN LPVOID lpHeader, IN DWORD dwInfoType, OUT LPDWORD lpdwItemSize, OUT LPDWORD lpdwItemCount, OUT LPBYTE *lplpItemData)
DWORD APIENTRY MprInfoBlockQuerySize (IN LPVOID lpHeader)


Define Documentation

#define ATADDRESSLEN   32

Definition at line 638 of file Mprapi.h.

#define IPADDRESSLEN   15

Definition at line 636 of file Mprapi.h.

#define IPXADDRESSLEN   22

Definition at line 637 of file Mprapi.h.

#define MAX_DEVICE_NAME   128

Definition at line 176 of file Mprapi.h.

#define MAX_DEVICETYPE_NAME   16

Definition at line 178 of file Mprapi.h.

#define MAX_INTERFACE_NAME_LEN   256

Definition at line 172 of file Mprapi.h.

#define MAX_MEDIA_NAME   16

Definition at line 174 of file Mprapi.h.

#define MAX_PHONE_NUMBER_LEN   128

Definition at line 177 of file Mprapi.h.

#define MAX_PORT_NAME   16

Definition at line 175 of file Mprapi.h.

#define MAX_TRANSPORT_NAME_LEN   40

Definition at line 173 of file Mprapi.h.

#define MPR_INTERFACE_ADMIN_DISABLED   0x00000002

Definition at line 212 of file Mprapi.h.

#define MPR_INTERFACE_CONNECTION_FAILURE   0x00000004

Definition at line 213 of file Mprapi.h.

#define MPR_INTERFACE_DIALOUT_HOURS_RESTRICTION   0x00000010

Definition at line 215 of file Mprapi.h.

#define MPR_INTERFACE_NO_DEVICE   0x00000040

Definition at line 217 of file Mprapi.h.

#define MPR_INTERFACE_NO_MEDIA_SENSE   0x00000020

Definition at line 216 of file Mprapi.h.

#define MPR_INTERFACE_OUT_OF_RESOURCES   0x00000001

Definition at line 211 of file Mprapi.h.

#define MPR_INTERFACE_SERVICE_PAUSED   0x00000008

Definition at line 214 of file Mprapi.h.

#define MprInfoBlockExists ( h,
 )     (MprInfoBlockFind((h),(t),NULL,NULL,NULL) == NO_ERROR)

Definition at line 1814 of file Mprapi.h.

#define PID_ATALK   0x00000029

Definition at line 170 of file Mprapi.h.

#define PID_IP   0x00000021

Definition at line 168 of file Mprapi.h.

#define PID_IPX   0x0000002B

Definition at line 167 of file Mprapi.h.

#define PID_NBF   0x0000003F

Definition at line 169 of file Mprapi.h.

#define PPP_IPCP_VJ   0x00000001

Definition at line 659 of file Mprapi.h.

#define RAS_FLAGS_MESSENGER_PRESENT   0x00000002

Definition at line 786 of file Mprapi.h.

#define RAS_FLAGS_PPP_CONNECTION   0x00000001

Definition at line 785 of file Mprapi.h.

#define RAS_FLAGS_RAS_CONNECTION   0x00000004

Definition at line 789 of file Mprapi.h.

#define RASPRIV2_DialinPolicy   0x1

Definition at line 864 of file Mprapi.h.

#define RASPRIV_AdminSetCallback   0x02

Definition at line 856 of file Mprapi.h.

#define RASPRIV_CallbackType

#define RASPRIV_CallerSetCallback   0x04

Definition at line 857 of file Mprapi.h.

#define RASPRIV_DialinPrivilege   0x08

Definition at line 858 of file Mprapi.h.

#define RASPRIV_NoCallback   0x01

Definition at line 855 of file Mprapi.h.

#define RRAS_SERVICE_NAME   TEXT("RemoteAccess")

Definition at line 161 of file Mprapi.h.


Typedef Documentation

typedef HANDLE MIB_SERVER_HANDLE

Definition at line 891 of file Mprapi.h.

typedef struct _MPR_SERVER_0 MPR_SERVER_0

typedef HANDLE MPR_SERVER_HANDLE

Definition at line 890 of file Mprapi.h.

typedef struct _MPR_SERVER_0 * PMPR_SERVER_0

typedef struct _PPP_ATCP_INFO PPP_ATCP_INFO

typedef struct _PPP_INFO PPP_INFO

typedef struct _PPP_IPCP_INFO PPP_IPCP_INFO

typedef struct _RAS_PORT_0 * PRAS_PORT_0

typedef struct _RAS_PORT_1 * PRAS_PORT_1

typedef struct _RAS_USER_0 * PRAS_USER_0

typedef struct _RAS_USER_1 * PRAS_USER_1

typedef struct _RAS_PORT_0 RAS_PORT_0

typedef struct _RAS_PORT_1 RAS_PORT_1

typedef HANDLE RAS_SERVER_HANDLE

Definition at line 889 of file Mprapi.h.

typedef struct _RAS_USER_0 RAS_USER_0

typedef struct _RAS_USER_1 RAS_USER_1


Enumeration Type Documentation

Enumerator:
RAS_HARDWARE_OPERATIONAL 
RAS_HARDWARE_FAILURE 

Definition at line 588 of file Mprapi.h.

Enumerator:
RAS_PORT_NON_OPERATIONAL 
RAS_PORT_DISCONNECTED 
RAS_PORT_CALLING_BACK 
RAS_PORT_LISTENING 
RAS_PORT_AUTHENTICATING 
RAS_PORT_AUTHENTICATED 
RAS_PORT_INITIALIZING 

Definition at line 571 of file Mprapi.h.

Enumerator:
ROUTER_IF_STATE_UNREACHABLE 
ROUTER_IF_STATE_DISCONNECTED 
ROUTER_IF_STATE_CONNECTING 
ROUTER_IF_STATE_CONNECTED 

Definition at line 202 of file Mprapi.h.

Enumerator:
ROUTER_IF_TYPE_CLIENT 
ROUTER_IF_TYPE_HOME_ROUTER 
ROUTER_IF_TYPE_FULL_ROUTER 
ROUTER_IF_TYPE_DEDICATED 
ROUTER_IF_TYPE_INTERNAL 
ROUTER_IF_TYPE_LOOPBACK 
ROUTER_IF_TYPE_TUNNEL1 
ROUTER_IF_TYPE_DIALOUT 

Definition at line 188 of file Mprapi.h.


Function Documentation

BOOL APIENTRY MprAdminAcceptNewConnection ( IN RAS_CONNECTION_0 pRasConnection0,
IN RAS_CONNECTION_1 pRasConnection1 
)

BOOL APIENTRY MprAdminAcceptNewLink ( IN RAS_PORT_0 pRasPort0,
IN RAS_PORT_1 pRasPort1 
)

DWORD APIENTRY MprAdminBufferFree ( IN LPVOID  pBuffer  ) 

DWORD APIENTRY MprAdminConnectionClearStats ( IN RAS_SERVER_HANDLE  hRasServer,
IN HANDLE  hConnection 
)

DWORD APIENTRY MprAdminConnectionEnum ( IN RAS_SERVER_HANDLE  hRasServer,
IN DWORD  dwLevel,
OUT LPBYTE *  lplpbBuffer,
IN DWORD  dwPrefMaxLen,
OUT LPDWORD  lpdwEntriesRead,
OUT LPDWORD  lpdwTotalEntries,
IN LPDWORD lpdwResumeHandle  OPTIONAL 
)

DWORD APIENTRY MprAdminConnectionGetInfo ( IN RAS_SERVER_HANDLE  hRasServer,
IN DWORD  dwLevel,
IN HANDLE  hConnection,
OUT LPBYTE *  lplpbBuffer 
)

VOID APIENTRY MprAdminConnectionHangupNotification ( IN RAS_CONNECTION_0 pRasConnection0,
IN RAS_CONNECTION_1 pRasConnection1 
)

DWORD APIENTRY MprAdminGetErrorString ( IN DWORD  dwError,
OUT LPWSTR *  lpwsErrorString 
)

DWORD APIENTRY MprAdminGetIpAddressForUser ( IN WCHAR *  lpwszUserName,
IN WCHAR *  lpwszPortName,
IN OUT DWORD *  lpdwIpAddress,
OUT BOOL *  bNotifyRelease 
)

DWORD APIENTRY MprAdminGetPDCServer ( IN const WCHAR *  lpszDomain,
IN const WCHAR *  lpszServer,
OUT LPWSTR  lpszPDCServer 
)

DWORD APIENTRY MprAdminInterfaceConnect ( IN MPR_SERVER_HANDLE  hMprServer,
IN HANDLE  hInterface,
IN HANDLE  hEvent,
IN BOOL  fSynchronous 
)

DWORD APIENTRY MprAdminInterfaceCreate ( IN MPR_SERVER_HANDLE  hMprServer,
IN DWORD  dwLevel,
IN LPBYTE  lpbBuffer,
OUT HANDLE *  phInterface 
)

DWORD APIENTRY MprAdminInterfaceDelete ( IN MPR_SERVER_HANDLE  hMprServer,
IN HANDLE  hInterface 
)

DWORD APIENTRY MprAdminInterfaceDisconnect ( IN MPR_SERVER_HANDLE  hMprServer,
IN HANDLE  hInterface 
)

DWORD APIENTRY MprAdminInterfaceEnum ( IN MPR_SERVER_HANDLE  hMprServer,
IN DWORD  dwLevel,
OUT LPBYTE *  lplpbBuffer,
IN DWORD  dwPrefMaxLen,
OUT LPDWORD  lpdwEntriesRead,
OUT LPDWORD  lpdwTotalEntries,
IN LPDWORD lpdwResumeHandle  OPTIONAL 
)

DWORD APIENTRY MprAdminInterfaceGetCredentials ( IN LPWSTR lpwsServer  OPTIONAL,
IN LPWSTR  lpwsInterfaceName,
OUT LPWSTR lpwsUserName  OPTIONAL,
OUT LPWSTR lpwsPassword  OPTIONAL,
OUT LPWSTR lpwsDomainName  OPTIONAL 
)

DWORD APIENTRY MprAdminInterfaceGetHandle ( IN MPR_SERVER_HANDLE  hMprServer,
IN LPWSTR  lpwsInterfaceName,
OUT HANDLE *  phInterface,
IN BOOL  fIncludeClientInterfaces 
)

DWORD APIENTRY MprAdminInterfaceGetInfo ( IN MPR_SERVER_HANDLE  hMprServer,
IN HANDLE  hInterface,
IN DWORD  dwLevel,
IN LPBYTE *  lplpbBuffer 
)

DWORD APIENTRY MprAdminInterfaceQueryUpdateResult ( IN MPR_SERVER_HANDLE  hMprServer,
IN HANDLE  hInterface,
IN DWORD  dwProtocolId,
OUT LPDWORD  lpdwUpdateResult 
)

DWORD APIENTRY MprAdminInterfaceSetCredentials ( IN LPWSTR lpwsServer  OPTIONAL,
IN LPWSTR  lpwsInterfaceName,
IN LPWSTR lpwsUserName  OPTIONAL,
IN LPWSTR lpwsDomainName  OPTIONAL,
IN LPWSTR lpwsPassword  OPTIONAL 
)

DWORD APIENTRY MprAdminInterfaceSetInfo ( IN MPR_SERVER_HANDLE  hMprServer,
IN HANDLE  hInterface,
IN DWORD  dwLevel,
IN LPBYTE  lpbBuffer 
)

DWORD APIENTRY MprAdminInterfaceTransportAdd ( IN MPR_SERVER_HANDLE  hMprServer,
IN HANDLE  hInterface,
IN DWORD  dwTransportId,
IN LPBYTE  pInterfaceInfo,
IN DWORD  dwInterfaceInfoSize 
)

DWORD APIENTRY MprAdminInterfaceTransportGetInfo ( IN MPR_SERVER_HANDLE  hMprServer,
IN HANDLE  hInterface,
IN DWORD  dwTransportId,
OUT LPBYTE *  ppInterfaceInfo,
OUT LPDWORD lpdwpInterfaceInfoSize  OPTIONAL 
)

DWORD APIENTRY MprAdminInterfaceTransportRemove ( IN MPR_SERVER_HANDLE  hMprServer,
IN HANDLE  hInterface,
IN DWORD  dwTransportId 
)

DWORD APIENTRY MprAdminInterfaceTransportSetInfo ( IN MPR_SERVER_HANDLE  hMprServer,
IN HANDLE  hInterface,
IN DWORD  dwTransportId,
IN LPBYTE  pInterfaceInfo,
IN DWORD  dwInterfaceInfoSize 
)

DWORD APIENTRY MprAdminInterfaceUpdatePhonebookInfo ( IN MPR_SERVER_HANDLE  hMprServer,
IN HANDLE  hInterface 
)

DWORD APIENTRY MprAdminInterfaceUpdateRoutes ( IN MPR_SERVER_HANDLE  hMprServer,
IN HANDLE  hInterface,
IN DWORD  dwProtocolId,
IN HANDLE  hEvent 
)

BOOL APIENTRY MprAdminIsServiceRunning ( IN LPWSTR  lpwsServerName  ) 

VOID APIENTRY MprAdminLinkHangupNotification ( IN RAS_PORT_0 pRasPort0,
IN RAS_PORT_1 pRasPort1 
)

DWORD APIENTRY MprAdminMIBBufferFree ( IN LPVOID  pBuffer  ) 

DWORD APIENTRY MprAdminMIBEntryCreate ( IN MIB_SERVER_HANDLE  hMibServer,
IN DWORD  dwPid,
IN DWORD  dwRoutingPid,
IN LPVOID  lpEntry,
IN DWORD  dwEntrySize 
)

DWORD APIENTRY MprAdminMIBEntryDelete ( IN MIB_SERVER_HANDLE  hMibServer,
IN DWORD  dwProtocolId,
IN DWORD  dwRoutingPid,
IN LPVOID  lpEntry,
IN DWORD  dwEntrySize 
)

DWORD APIENTRY MprAdminMIBEntryGet ( IN MIB_SERVER_HANDLE  hMibServer,
IN DWORD  dwProtocolId,
IN DWORD  dwRoutingPid,
IN LPVOID  lpInEntry,
IN DWORD  dwInEntrySize,
OUT LPVOID *  lplpOutEntry,
OUT LPDWORD  lpOutEntrySize 
)

DWORD APIENTRY MprAdminMIBEntryGetFirst ( IN MIB_SERVER_HANDLE  hMibServer,
IN DWORD  dwProtocolId,
IN DWORD  dwRoutingPid,
IN LPVOID  lpInEntry,
IN DWORD  dwInEntrySize,
OUT LPVOID *  lplpOutEntry,
OUT LPDWORD  lpOutEntrySize 
)

DWORD APIENTRY MprAdminMIBEntryGetNext ( IN MIB_SERVER_HANDLE  hMibServer,
IN DWORD  dwProtocolId,
IN DWORD  dwRoutingPid,
IN LPVOID  lpInEntry,
IN DWORD  dwInEntrySize,
OUT LPVOID *  lplpOutEntry,
OUT LPDWORD  lpOutEntrySize 
)

DWORD APIENTRY MprAdminMIBEntrySet ( IN MIB_SERVER_HANDLE  hMibServer,
IN DWORD  dwProtocolId,
IN DWORD  dwRoutingPid,
IN LPVOID  lpEntry,
IN DWORD  dwEntrySize 
)

DWORD APIENTRY MprAdminMIBGetTrapInfo ( IN MIB_SERVER_HANDLE  hMibServer,
IN DWORD  dwProtocolId,
IN DWORD  dwRoutingPid,
IN LPVOID  lpInData,
IN DWORD  dwInDataSize,
OUT LPVOID *  lplpOutData,
IN OUT LPDWORD  lpOutDataSize 
)

DWORD APIENTRY MprAdminMIBServerConnect ( IN LPWSTR lpwsServerName  OPTIONAL,
OUT MIB_SERVER_HANDLE phMibServer 
)

VOID APIENTRY MprAdminMIBServerDisconnect ( IN MIB_SERVER_HANDLE  hMibServer  ) 

DWORD APIENTRY MprAdminMIBSetTrapInfo ( IN DWORD  dwProtocolId,
IN DWORD  dwRoutingPid,
IN HANDLE  hEvent,
IN LPVOID  lpInData,
IN DWORD  dwInDataSize,
OUT LPVOID *  lplpOutData,
IN OUT LPDWORD  lpOutDataSize 
)

DWORD APIENTRY MprAdminPortClearStats ( IN RAS_SERVER_HANDLE  hRasServer,
IN HANDLE  hPort 
)

DWORD APIENTRY MprAdminPortDisconnect ( IN RAS_SERVER_HANDLE  hRasServer,
IN HANDLE  hPort 
)

DWORD APIENTRY MprAdminPortEnum ( IN RAS_SERVER_HANDLE  hRasServer,
IN DWORD  dwLevel,
IN HANDLE  hConnection,
OUT LPBYTE *  lplpbBuffer,
IN DWORD  dwPrefMaxLen,
OUT LPDWORD  lpdwEntriesRead,
OUT LPDWORD  lpdwTotalEntries,
IN LPDWORD lpdwResumeHandle  OPTIONAL 
)

DWORD APIENTRY MprAdminPortGetInfo ( IN RAS_SERVER_HANDLE  hRasServer,
IN DWORD  dwLevel,
IN HANDLE  hPort,
OUT LPBYTE *  lplpbBuffer 
)

DWORD APIENTRY MprAdminPortReset ( IN RAS_SERVER_HANDLE  hRasServer,
IN HANDLE  hPort 
)

VOID APIENTRY MprAdminReleaseIpAddress ( IN WCHAR *  lpszUserName,
IN WCHAR *  lpszPortName,
IN DWORD *  lpdwIpAddress 
)

DWORD APIENTRY MprAdminServerConnect ( IN LPWSTR lpwsServerName  OPTIONAL,
OUT MPR_SERVER_HANDLE phMprServer 
)

VOID APIENTRY MprAdminServerDisconnect ( IN MPR_SERVER_HANDLE  hMprServer  ) 

DWORD APIENTRY MprAdminServerGetInfo ( IN MPR_SERVER_HANDLE  hMprServer,
IN DWORD  dwLevel,
OUT LPBYTE *  lplpbBuffer 
)

DWORD APIENTRY MprAdminTransportGetInfo ( IN MPR_SERVER_HANDLE  hMprServer,
IN DWORD  dwTransportId,
OUT LPBYTE *ppGlobalInfo  OPTIONAL,
OUT LPDWORD lpdwGlobalInfoSize  OPTIONAL,
OUT LPBYTE *ppClientInterfaceInfo  OPTIONAL,
OUT LPDWORD lpdwClientInterfaceInfoSize  OPTIONAL 
)

DWORD APIENTRY MprAdminTransportSetInfo ( IN MPR_SERVER_HANDLE  hMprServer,
IN DWORD  dwTransportId,
IN LPBYTE pGlobalInfo  OPTIONAL,
IN DWORD  dwGlobalInfoSize,
IN LPBYTE pClientInterfaceInfo  OPTIONAL,
IN DWORD  dwClientInterfaceInfoSize 
)

DWORD APIENTRY MprAdminUserGetInfo ( IN const WCHAR *  lpszServer,
IN const WCHAR *  lpszUser,
IN DWORD  dwLevel,
OUT LPBYTE  lpbBuffer 
)

DWORD APIENTRY MprAdminUserSetInfo ( IN const WCHAR *  lpszServer,
IN const WCHAR *  lpszUser,
IN DWORD  dwLevel,
IN const LPBYTE  lpbBuffer 
)

DWORD APIENTRY MprConfigBufferFree ( IN LPVOID  pBuffer  ) 

DWORD APIENTRY MprConfigGetFriendlyName ( IN HANDLE  hMprConfig,
IN PWCHAR  pszGuidName,
OUT PWCHAR  pszBuffer,
IN DWORD  dwBufferSize 
)

DWORD APIENTRY MprConfigGetGuidName ( IN HANDLE  hMprConfig,
IN PWCHAR  pszFriendlyName,
OUT PWCHAR  pszBuffer,
IN DWORD  dwBufferSize 
)

DWORD APIENTRY MprConfigInterfaceCreate ( IN HANDLE  hMprConfig,
IN DWORD  dwLevel,
IN LPBYTE  lpbBuffer,
OUT HANDLE *  phRouterInterface 
)

DWORD APIENTRY MprConfigInterfaceDelete ( IN HANDLE  hMprConfig,
IN HANDLE  hRouterInterface 
)

DWORD APIENTRY MprConfigInterfaceEnum ( IN HANDLE  hMprConfig,
IN DWORD  dwLevel,
IN OUT LPBYTE *  lplpBuffer,
IN DWORD  dwPrefMaxLen,
OUT LPDWORD  lpdwEntriesRead,
OUT LPDWORD  lpdwTotalEntries,
IN OUT LPDWORD lpdwResumeHandle  OPTIONAL 
)

DWORD APIENTRY MprConfigInterfaceGetHandle ( IN HANDLE  hMprConfig,
IN LPWSTR  lpwsInterfaceName,
OUT HANDLE *  phRouterInterface 
)

DWORD APIENTRY MprConfigInterfaceGetInfo ( IN HANDLE  hMprConfig,
IN HANDLE  hRouterInterface,
IN DWORD  dwLevel,
IN OUT LPBYTE *  lplpBuffer,
OUT LPDWORD  lpdwBufferSize 
)

DWORD APIENTRY MprConfigInterfaceSetInfo ( IN HANDLE  hMprConfig,
IN HANDLE  hRouterInterface,
IN DWORD  dwLevel,
IN LPBYTE  lpbBuffer 
)

DWORD APIENTRY MprConfigInterfaceTransportAdd ( IN HANDLE  hMprConfig,
IN HANDLE  hRouterInterface,
IN DWORD  dwTransportId,
IN LPWSTR lpwsTransportName  OPTIONAL,
IN LPBYTE  pInterfaceInfo,
IN DWORD  dwInterfaceInfoSize,
OUT HANDLE *  phRouterIfTransport 
)

DWORD APIENTRY MprConfigInterfaceTransportEnum ( IN HANDLE  hMprConfig,
IN HANDLE  hRouterInterface,
IN DWORD  dwLevel,
IN OUT LPBYTE *  lplpBuffer,
IN DWORD  dwPrefMaxLen,
OUT LPDWORD  lpdwEntriesRead,
OUT LPDWORD  lpdwTotalEntries,
IN OUT LPDWORD lpdwResumeHandle  OPTIONAL 
)

DWORD APIENTRY MprConfigInterfaceTransportGetHandle ( IN HANDLE  hMprConfig,
IN HANDLE  hRouterInterface,
IN DWORD  dwTransportId,
OUT HANDLE *  phRouterIfTransport 
)

DWORD APIENTRY MprConfigInterfaceTransportGetInfo ( IN HANDLE  hMprConfig,
IN HANDLE  hRouterInterface,
IN HANDLE  hRouterIfTransport,
IN OUT LPBYTE *ppInterfaceInfo  OPTIONAL,
OUT LPDWORD lpdwInterfaceInfoSize  OPTIONAL 
)

DWORD APIENTRY MprConfigInterfaceTransportRemove ( IN HANDLE  hMprConfig,
IN HANDLE  hRouterInterface,
IN HANDLE  hRouterIfTransport 
)

DWORD APIENTRY MprConfigInterfaceTransportSetInfo ( IN HANDLE  hMprConfig,
IN HANDLE  hRouterInterface,
IN HANDLE  hRouterIfTransport,
IN LPBYTE pInterfaceInfo  OPTIONAL,
IN DWORD dwInterfaceInfoSize  OPTIONAL 
)

DWORD APIENTRY MprConfigServerBackup ( IN HANDLE  hMprConfig,
IN LPWSTR  lpwsPath 
)

DWORD APIENTRY MprConfigServerConnect ( IN LPWSTR  lpwsServerName,
OUT HANDLE *  phMprConfig 
)

VOID APIENTRY MprConfigServerDisconnect ( IN HANDLE  hMprConfig  ) 

DWORD APIENTRY MprConfigServerGetInfo ( IN HANDLE  hMprConfig,
IN DWORD  dwLevel,
OUT LPBYTE *  lplpbBuffer 
)

DWORD APIENTRY MprConfigServerInstall ( IN DWORD  dwLevel,
IN PVOID  pBuffer 
)

DWORD APIENTRY MprConfigServerRefresh ( IN HANDLE  hMprConfig  ) 

DWORD APIENTRY MprConfigServerRestore ( IN HANDLE  hMprConfig,
IN LPWSTR  lpwsPath 
)

DWORD APIENTRY MprConfigTransportCreate ( IN HANDLE  hMprConfig,
IN DWORD  dwTransportId,
IN LPWSTR lpwsTransportName  OPTIONAL,
IN LPBYTE  pGlobalInfo,
IN DWORD  dwGlobalInfoSize,
IN LPBYTE pClientInterfaceInfo  OPTIONAL,
IN DWORD dwClientInterfaceInfoSize  OPTIONAL,
IN LPWSTR  lpwsDLLPath,
OUT HANDLE *  phRouterTransport 
)

DWORD APIENTRY MprConfigTransportDelete ( IN HANDLE  hMprConfig,
IN HANDLE  hRouterTransport 
)

DWORD APIENTRY MprConfigTransportEnum ( IN HANDLE  hMprConfig,
IN DWORD  dwLevel,
IN OUT LPBYTE *  lplpBuffer,
IN DWORD  dwPrefMaxLen,
OUT LPDWORD  lpdwEntriesRead,
OUT LPDWORD  lpdwTotalEntries,
IN OUT LPDWORD lpdwResumeHandle  OPTIONAL 
)

DWORD APIENTRY MprConfigTransportGetHandle ( IN HANDLE  hMprConfig,
IN DWORD  dwTransportId,
OUT HANDLE *  phRouterTransport 
)

DWORD APIENTRY MprConfigTransportGetInfo ( IN HANDLE  hMprConfig,
IN HANDLE  hRouterTransport,
IN OUT LPBYTE *ppGlobalInfo  OPTIONAL,
OUT LPDWORD lpdwGlobalInfoSize  OPTIONAL,
IN OUT LPBYTE *ppClientInterfaceInfo  OPTIONAL,
OUT LPDWORD lpdwClientInterfaceInfoSize  OPTIONAL,
IN OUT LPWSTR *lplpwsDLLPath  OPTIONAL 
)

DWORD APIENTRY MprConfigTransportSetInfo ( IN HANDLE  hMprConfig,
IN HANDLE  hRouterTransport,
IN LPBYTE pGlobalInfo  OPTIONAL,
IN DWORD dwGlobalInfoSize  OPTIONAL,
IN LPBYTE pClientInterfaceInfo  OPTIONAL,
IN DWORD dwClientInterfaceInfoSize  OPTIONAL,
IN LPWSTR lpwsDLLPath  OPTIONAL 
)

DWORD APIENTRY MprInfoBlockAdd ( IN LPVOID  lpHeader,
IN DWORD  dwInfoType,
IN DWORD  dwItemSize,
IN DWORD  dwItemCount,
IN LPBYTE  lpItemData,
OUT LPVOID *  lplpNewHeader 
)

DWORD APIENTRY MprInfoBlockFind ( IN LPVOID  lpHeader,
IN DWORD  dwInfoType,
OUT LPDWORD  lpdwItemSize,
OUT LPDWORD  lpdwItemCount,
OUT LPBYTE *  lplpItemData 
)

DWORD APIENTRY MprInfoBlockQuerySize ( IN LPVOID  lpHeader  ) 

DWORD APIENTRY MprInfoBlockRemove ( IN LPVOID  lpHeader,
IN DWORD  dwInfoType,
OUT LPVOID *  lplpNewHeader 
)

DWORD APIENTRY MprInfoBlockSet ( IN LPVOID  lpHeader,
IN DWORD  dwInfoType,
IN DWORD  dwItemSize,
IN DWORD  dwItemCount,
IN LPBYTE  lpItemData,
OUT LPVOID *  lplpNewHeader 
)

DWORD APIENTRY MprInfoCreate ( IN DWORD  dwVersion,
OUT LPVOID *  lplpNewHeader 
)

DWORD APIENTRY MprInfoDelete ( IN LPVOID  lpHeader  ) 

DWORD APIENTRY MprInfoDuplicate ( IN LPVOID  lpHeader,
OUT LPVOID *  lplpNewHeader 
)

DWORD APIENTRY MprInfoRemoveAll ( IN LPVOID  lpHeader,
OUT LPVOID *  lplpNewHeader 
)

DWORD APIENTRY MprSetupIpInIpInterfaceFriendlyNameCreate ( PWCHAR  pwszMachineName,
PMPR_IPINIP_INTERFACE_0  pNameInformation 
)

DWORD APIENTRY MprSetupIpInIpInterfaceFriendlyNameDelete ( IN PWCHAR  pwszMachineName,
IN GUID *  pGuid 
)

DWORD APIENTRY MprSetupIpInIpInterfaceFriendlyNameEnum ( IN PWCHAR  pwszMachineName,
OUT LPBYTE *  lplpBuffer,
OUT LPDWORD  lpdwEntriesRead 
)

DWORD APIENTRY MprSetupIpInIpInterfaceFriendlyNameFree ( IN LPVOID  lpBuffer  ) 


Generated on Tue Jul 7 16:19:55 2009 for CoreLibrary by  doxygen 1.5.6