windows-nt/Source/XPSP1/NT/termsrv/common/inc/serverenum.h

40 lines
1.2 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
//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 );