Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

79 lines
1.8 KiB

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. ipxcpif.h
  5. Abstract:
  6. This module contains the definitions of the APIs provided by the IPXCP
  7. DLL and the Router Manager DLL for inter-communication
  8. Author:
  9. Stefan Solomon 03/16/1995
  10. Revision History:
  11. --*/
  12. #ifndef _IPXCPIF_
  13. #define _IPXCPIF_
  14. // Configuration shared between ipxcp and the ipx router.
  15. typedef struct _IPXCP_ROUTER_CONFIG_PARAMS {
  16. BOOL ThisMachineOnly;
  17. BOOL WanNetDatabaseInitialized;
  18. BOOL EnableGlobalWanNet;
  19. UCHAR GlobalWanNet[4];
  20. } IPXCP_ROUTER_CONFIG_PARAMS, *PIPXCP_ROUTER_CONFIG_PARAMS;
  21. // Entry points into the IPXCP DLL called by the IPX Router Manager
  22. typedef struct _IPXCP_INTERFACE {
  23. // IPXCP configuration parameters needed by the IPX Router Manager
  24. IPXCP_ROUTER_CONFIG_PARAMS Params;
  25. // IPXCP Entry Points
  26. VOID (WINAPI *IpxcpRouterStarted)(VOID);
  27. VOID (WINAPI *IpxcpRouterStopped)(VOID);
  28. // IPX Router Manager Entry Points
  29. DWORD (WINAPI *RmCreateGlobalRoute)(PUCHAR Network);
  30. DWORD (WINAPI *RmAddLocalWkstaDialoutInterface)
  31. (IN LPWSTR InterfaceNamep,
  32. IN LPVOID InterfaceInfop,
  33. IN OUT PULONG InterfaceIndexp);
  34. DWORD (WINAPI *RmDeleteLocalWkstaDialoutInterface)(ULONG InterfaceIndex);
  35. DWORD (WINAPI *RmGetIpxwanInterfaceConfig)
  36. (ULONG InterfaceIndex,
  37. PULONG IpxwanConfigRequired);
  38. BOOL (WINAPI *RmIsRoute)(PUCHAR Network);
  39. DWORD (WINAPI *RmGetInternalNetNumber)(PUCHAR Network);
  40. DWORD (WINAPI *RmUpdateIpxcpConfig)(PIPXCP_ROUTER_CONFIG_PARAMS pParams);
  41. } IPXCP_INTERFACE, *PIPXCP_INTERFACE;
  42. #define IPXCP_BIND_ENTRY_POINT IpxcpBind
  43. #define IPXCP_BIND_ENTRY_POINT_STRING "IpxcpBind"
  44. typedef DWORD
  45. (WINAPI *PIPXCP_BIND)(PIPXCP_INTERFACE IpxcpInterface);
  46. #endif