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.

88 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. Module Name:
  4. net\routing\netsh\ipx\ipxmon.h
  5. Abstract:
  6. Prototype for fns called in ipxmon.c
  7. Author:
  8. V Raman Created 7/10/98
  9. --*/
  10. #ifndef __IPXMON_H__
  11. #define __IPXMON_H__
  12. //
  13. // Handle to DLL
  14. //
  15. extern HANDLE g_hModule;
  16. //
  17. // handles to router
  18. //
  19. extern HANDLE g_hMprConfig;
  20. extern HANDLE g_hMprAdmin;
  21. extern HANDLE g_hMIBServer;
  22. //
  23. // Commit mode
  24. //
  25. extern BOOL g_bCommit;
  26. //
  27. // Router name
  28. //
  29. extern PWCHAR g_pwszRouter;
  30. //
  31. // global stuff used in multiple files
  32. //
  33. extern CMD_ENTRY g_IpxCmds[];
  34. extern ULONG g_ulNumTopCmds;
  35. extern ULONG g_ulNumGroups;
  36. extern CMD_GROUP_ENTRY g_IpxCmdGroups[];
  37. //
  38. // Helper functions passed in by the SHELL
  39. //
  40. NS_DLL_STOP_FN StopHelperDll;
  41. DWORD
  42. ConnectToRouter(
  43. IN LPCWSTR pwszRouter
  44. );
  45. DWORD
  46. MungeArguments(
  47. IN OUT LPWSTR *ppwcArguments,
  48. IN DWORD dwArgCount,
  49. OUT PBYTE *ppbNewArg,
  50. OUT PDWORD pdwNewArgCount,
  51. OUT PBOOL pbFreeArg
  52. );
  53. VOID
  54. FreeArgTable(
  55. IN DWORD dwArgCount,
  56. IN OUT LPWSTR *ppwcArgs
  57. );
  58. #endif