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.

64 lines
878 B

  1. /*++
  2. Copyright(c) 1995 Microsoft Corporation
  3. MODULE NAME
  4. netmap.h
  5. ABSTRACT
  6. Network map definitions
  7. AUTHOR
  8. Anthony Discolo (adiscolo) 18-May-1996
  9. REVISION HISTORY
  10. --*/
  11. BOOLEAN
  12. InitializeNetworkMap(VOID);
  13. VOID
  14. UninitializeNetworkMap(VOID);
  15. VOID
  16. LockNetworkMap(VOID);
  17. VOID
  18. UnlockNetworkMap(VOID);
  19. BOOLEAN
  20. AddNetworkAddress(
  21. IN LPTSTR pszNetwork,
  22. IN LPTSTR pszAddress,
  23. IN DWORD dwTag
  24. );
  25. VOID
  26. ClearNetworkMap(VOID);
  27. BOOLEAN
  28. UpdateNetworkMap(
  29. IN BOOLEAN bForce
  30. );
  31. BOOLEAN
  32. IsNetworkConnected(VOID);
  33. BOOLEAN
  34. GetNetworkConnected(
  35. IN LPTSTR pszNetwork,
  36. OUT PBOOLEAN pbConnected
  37. );
  38. BOOLEAN
  39. SetNetworkConnected(
  40. IN LPTSTR pszNetwork,
  41. IN BOOLEAN bConnected
  42. );
  43. DWORD
  44. GetNetworkConnectionTag(
  45. IN LPTSTR pszNetwork,
  46. IN BOOLEAN bIncrement
  47. );