struct wksta_info_0 { unsigned short wki0_reserved_1; unsigned long wki0_reserved_2; unsigned char LSFAR * LSPTR wki0_root; unsigned char LSFAR * LSPTR wki0_computername; unsigned char LSFAR * LSPTR wki0_username; unsigned char LSFAR * LSPTR wki0_langroup; unsigned char wki0_ver_major; unsigned char wki0_ver_minor; unsigned long wki0_reserved_3; unsigned short wki0_charwait; unsigned long wki0_chartime; unsigned short wki0_charcount; unsigned short wki0_reserved_4; unsigned short wki0_reserved_5; unsigned short wki0_keepconn; unsigned short wki0_keepsearch; unsigned short wki0_maxthreads; unsigned short wki0_maxcmds; unsigned short wki0_reserved_6; unsigned short wki0_numworkbuf; unsigned short wki0_sizworkbuf; unsigned short wki0_maxwrkcache; unsigned short wki0_sesstimeout; unsigned short wki0_sizerror; unsigned short wki0_numalerts; unsigned short wki0_numservices; unsigned short wki0_errlogsz; unsigned short wki0_printbuftime; unsigned short wki0_numcharbuf; unsigned short wki0_sizcharbuf; unsigned char LSFAR * LSPTR wki0_logon_server; unsigned char LSFAR * LSPTR wki0_wrkheuristics; unsigned short wki0_mailslots; };
where:
Use the following formula to determine the maximum values for both the numworkbuf and the sizworkbuf parameters:
(sizworkbuf + 268) * numworkbuf <= 65515
The following values apply to both the numworkbuf and sizworkbuf parameters:
Default value:
Note: Each mailslot or semaphore registered by the NetAlertStart API is a different client, and the Alerter service registers at least three clients when it begins to run. For more information about alerts, see Alert Category.