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.

58 lines
1.5 KiB

  1. #ifndef _WNETCAPS_INCLUDED
  2. #define _WNETCAPS_INCLUDED
  3. UINT WNetGetCaps( UINT nIndex );
  4. #define WNNC_CONNECTION 0x00000006
  5. #define WNNC_CON_ADDCONNECTION 0x00000001
  6. #define WNNC_CON_CANCELCONNECTION 0x00000002
  7. #define WNNC_CON_GETCONNECTIONS 0x00000004
  8. #define WNNC_CON_BROWSEDIALOG 0x00000010
  9. #define WNNC_CON_RESTORECONNECTION 0x00000020
  10. #define WNNC_CON_ADDCONNECTION2 0x00000040
  11. #define WNNC_CON_ENUM 0x00000080
  12. #define WNNC_DIALOG 0x00000008
  13. #define WNNC_DLG_DEVICEMODE 0x00000001
  14. #define WNNC_DLG_ConnectDialog 0x00000004
  15. #define WNNC_DLG_DisconnectDialog 0x00000008
  16. #define WNNC_DLG_PROPERTYDIALOG 0x00000020
  17. #define WNNC_DLG_CONNECTIONDIALOG 0x00000040
  18. #define WNNC_ADMIN 0x00000009
  19. #define WNNC_ADM_GETDIRECTORYTYPE 0x00000001
  20. #define WNNC_ADM_DIRECTORYNOTIFY 0x00000002
  21. #define WNNC_ADM_LONGNAMES 0x00000004
  22. //
  23. // BROWSE DIALOG
  24. //
  25. #define WNBD_CONN_UNKNOWN 0x0
  26. #define WNBD_CONN_DISKTREE 0x1
  27. #define WNBD_CONN_PRINTQ 0x3
  28. #define WNBD_MAX_LENGTH 0x80 // path length, includes the NULL
  29. #define WNTYPE_DRIVE 1
  30. #define WNTYPE_FILE 2
  31. #define WNTYPE_PRINTER 3
  32. #define WNTYPE_COMM 4
  33. #define WNPS_FILE 0
  34. #define WNPS_DIR 1
  35. #define WNPS_MULT 2
  36. #define WNDT_NORMAL 0
  37. #define WNDT_NETWORK 1
  38. #define WNDN_MKDIR 1
  39. #define WNDN_RMDIR 2
  40. #define WNDN_MVDIR 3
  41. #endif // _WNETCAPS_INCLUDED