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.

80 lines
1.6 KiB

  1. /*++
  2. Copyright (c) 1999, Microsoft Corporation
  3. Module Name:
  4. sample\networkmanager.h
  5. Abstract:
  6. The file contains the interface to the network manager.
  7. --*/
  8. #ifndef _NETWORK_MANAGER_H_
  9. #define _NETWORK_MANAGER_H_
  10. VOID
  11. WINAPI
  12. NM_CallbackNetworkEvent (
  13. IN PVOID pvContext,
  14. IN BOOLEAN bTimerOrWaitFired);
  15. VOID
  16. WINAPI
  17. NM_CallbackPeriodicTimer (
  18. IN PVOID pvContext,
  19. IN BOOLEAN bTimerOrWaitFired);
  20. DWORD
  21. NM_AddInterface (
  22. IN LPWSTR pwszInterfaceName,
  23. IN DWORD dwInterfaceIndex,
  24. IN WORD wAccessType,
  25. IN PVOID pvInterfaceInfo);
  26. DWORD
  27. NM_DeleteInterface (
  28. IN DWORD dwInterfaceIndex);
  29. DWORD
  30. NM_InterfaceStatus (
  31. IN DWORD dwInterfaceIndex,
  32. IN BOOL bInterfaceActive,
  33. IN DWORD dwStatusType,
  34. IN PVOID pvStatusInfo);
  35. DWORD
  36. NM_GetInterfaceInfo (
  37. IN DWORD dwInterfaceIndex,
  38. IN PVOID pvInterfaceInfo,
  39. IN OUT PULONG pulBufferSize,
  40. OUT PULONG pulStructureVersion,
  41. OUT PULONG pulStructureSize,
  42. OUT PULONG pulStructureCount);
  43. DWORD
  44. NM_SetInterfaceInfo (
  45. IN DWORD dwInterfaceIndex,
  46. IN PVOID pvInterfaceInfo);
  47. DWORD
  48. NM_DoUpdateRoutes (
  49. IN DWORD dwInterfaceIndex
  50. );
  51. DWORD
  52. NM_ProcessRouteChange (
  53. VOID);
  54. #endif // _NETWORK_MANAGER_H_