Leaked source code of windows server 2003
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.

65 lines
1.7 KiB

  1. /*******************************************************************/
  2. /* Copyright(c) 1993 Microsoft Corporation */
  3. /*******************************************************************/
  4. //***
  5. //
  6. // Filename: ipxcpcom.h
  7. //
  8. // Description: ipxcp/ipxwan common stuff
  9. //
  10. //
  11. // Author: Stefan Solomon (stefans) November 2, 1995.
  12. //
  13. // Revision History:
  14. //
  15. //***
  16. #ifndef _IPXCPCOM_
  17. #define _IPXCPCOM_
  18. #define INVALID_NETWORK_INDEX 0xFFFFFFFF
  19. typedef struct _IPXWAN_INTERFACE {
  20. // IPXCP configuration parameters needed by IPXWAN
  21. ULONG EnableUnnumberedWanLinks;
  22. // IPXCP Entry Points
  23. DWORD (WINAPI *IpxcpGetWanNetNumber)(IN OUT PUCHAR Network,
  24. IN OUT PULONG AllocatedNetworkIndexp,
  25. IN ULONG InterfaceType);
  26. VOID (WINAPI *IpxcpReleaseWanNetNumber)(ULONG AllocatedNetworkIndex);
  27. DWORD (WINAPI *IpxcpConfigDone)(ULONG ConnectionId,
  28. PUCHAR Network,
  29. PUCHAR LocalNode,
  30. PUCHAR RemoteNode,
  31. BOOL Success);
  32. VOID (WINAPI *IpxcpGetInternalNetNumber)(PUCHAR Network);
  33. ULONG (WINAPI *IpxcpGetInterfaceType)(ULONG ConnectionId);
  34. DWORD (WINAPI *IpxcpGetRemoteNode)(ULONG ConnectionId,
  35. PUCHAR RemoteNode);
  36. BOOL (WINAPI *IpxcpIsRoute)(PUCHAR Network);
  37. } IPXWAN_INTERFACE, *PIPXWAN_INTERFACE;
  38. // IPXWAN Entry Point
  39. #define IPXWAN_BIND_ENTRY_POINT IpxwanBind
  40. #define IPXWAN_UNBIND_ENTRY_POINT IpxwanUnbind
  41. #define IPXWAN_BIND_ENTRY_POINT_STRING "IpxwanBind"
  42. #define IPXWAN_UNBIND_ENTRY_POINT_STRING "IpxwanUnbind"
  43. typedef DWORD (*PIPXWAN_BIND)(PIPXWAN_INTERFACE IpxWanIfp);
  44. typedef VOID (*PIPXWAN_UNBIND)(VOID);
  45. #endif