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.

80 lines
1.6 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1998 - 2001
  5. //
  6. // File : hnetmon.h
  7. //
  8. // Contents :
  9. //
  10. // Notes :
  11. //
  12. // Author : Raghu Gatta (rgatta) 11 May 2001
  13. //
  14. //----------------------------------------------------------------------------
  15. #define BRIDGEMON_HELPER_VERSION 1
  16. //
  17. // We need separate GUID's for each context we are registering,
  18. // because each context has a different parent. Contexts that
  19. // have identical parents need not have differing GUID's
  20. //
  21. const GUID g_BridgeGuid = { /* 00770721-44ea-11d5-93ba-00b0d022dd1f */
  22. 0x00770721,
  23. 0x44ea,
  24. 0x11d5,
  25. {0x93, 0xba, 0x00, 0xb0, 0xd0, 0x22, 0xdd, 0x1f}
  26. };
  27. const GUID g_RootGuid = NETSH_ROOT_GUID;
  28. //
  29. // Function prototypes.
  30. //
  31. DWORD
  32. WINAPI
  33. InitHelperDll(
  34. IN DWORD dwNetshVersion,
  35. OUT PVOID pReserved
  36. );
  37. DWORD
  38. WINAPI
  39. BridgeStartHelper(
  40. IN CONST GUID * pguidParent,
  41. IN DWORD dwVersion
  42. );
  43. DWORD
  44. WINAPI
  45. BridgeStopHelper(
  46. IN DWORD dwReserved
  47. );
  48. DWORD
  49. WINAPI
  50. BridgeCommit(
  51. IN DWORD dwAction
  52. );
  53. DWORD
  54. WINAPI
  55. BridgeConnect(
  56. IN LPCWSTR pwszMachine
  57. );
  58. DWORD
  59. WINAPI
  60. BridgeDump(
  61. IN LPCWSTR pwszRouter,
  62. IN OUT LPWSTR *ppwcArguments,
  63. IN DWORD dwArgCount,
  64. IN LPCVOID pvData
  65. );
  66. //
  67. // externs
  68. //
  69. extern HANDLE g_hModule;