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.

39 lines
1.2 KiB

  1. //Copyright (c) 1998 - 1999 Microsoft Corporation
  2. #define API_FUNCTION API_RET_TYPE far pascal
  3. #pragma pack(1)
  4. struct server_info_1 {
  5. char sv1_name[CNLEN + 1];
  6. unsigned char sv1_version_major; /* Major version # of net */
  7. unsigned char sv1_version_minor; /* Minor version # of net */
  8. unsigned long sv1_type; /* Server type */
  9. char far * sv1_comment; /* Exported server comment */
  10. }; /* server_info_1 */
  11. struct wksta_info_10 {
  12. char far * wki10_computername;
  13. char far * wki10_username;
  14. char far * wki10_langroup;
  15. unsigned char wki10_ver_major;
  16. unsigned char wki10_ver_minor;
  17. char far * wki10_logon_domain;
  18. char far * wki10_oth_domains;
  19. }; /* wksta_info_10 */
  20. #pragma pack()
  21. extern API_FUNCTION
  22. NetServerEnum2 ( const char far * pszServer,
  23. short sLevel,
  24. char far * pbBuffer,
  25. unsigned short cbBuffer,
  26. unsigned short far * pcEntriesRead,
  27. unsigned short far * pcTotalAvail,
  28. unsigned long flServerType,
  29. char far * pszDomain );