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

//Copyright (c) 1998 - 1999 Microsoft Corporation
#define API_FUNCTION API_RET_TYPE far pascal
#pragma pack(1)
struct server_info_1 {
char sv1_name[CNLEN + 1];
unsigned char sv1_version_major; /* Major version # of net */
unsigned char sv1_version_minor; /* Minor version # of net */
unsigned long sv1_type; /* Server type */
char far * sv1_comment; /* Exported server comment */
}; /* server_info_1 */
struct wksta_info_10 {
char far * wki10_computername;
char far * wki10_username;
char far * wki10_langroup;
unsigned char wki10_ver_major;
unsigned char wki10_ver_minor;
char far * wki10_logon_domain;
char far * wki10_oth_domains;
}; /* wksta_info_10 */
#pragma pack()
extern API_FUNCTION
NetServerEnum2 ( const char far * pszServer,
short sLevel,
char far * pbBuffer,
unsigned short cbBuffer,
unsigned short far * pcEntriesRead,
unsigned short far * pcTotalAvail,
unsigned long flServerType,
char far * pszDomain );