struct stat_workstation_0 {
unsigned long stw0_start;
unsigned long stw0_numNCB_r;
unsigned long stw0_numNCB_s;
unsigned long stw0_numNCB_a;
unsigned long stw0_fiNCB_r;
unsigned long stw0_fiNCB_s;
unsigned long stw0_fiNCB_a;
unsigned long stw0_fcNCB_r;
unsigned long stw0_fcNCB_s;
unsigned long stw0_fcNCB_a;
unsigned long stw0_sesstart;
unsigned long stw0_sessfailcon;
unsigned long stw0_sessbroke;
unsigned long stw0_uses;
unsigned long stw0_usefail;
unsigned long stw0_autorec;
unsigned long stw0_bytessent_r_hi;
unsigned long stw0_bytessent_r_lo;
unsigned long stw0_bytesrcvd_r_hi;
unsigned long stw0_bytesrcvd_r_lo;
unsigned long stw0_bytessent_s_hi;
unsigned long stw0_bytessent_s_lo;
unsigned long stw0_bytesrcvd_s_hi;
unsigned long stw0_bytesrcvd_s_lo;
unsigned long stw0_bytessent_a_hi;
unsigned long stw0_bytessent_a_lo;
unsigned long stw0_bytesrcvd_a_hi;
unsigned long stw0_bytesrcvd_a_lo;
unsigned long stw0_reqbufneed;
unsigned long stw0_bigbufneed;
};
where:
These fields count total bytes in all NCBs sent and received for all three categories: issued, failed issue, and failed completion. Server information is included to provide an accurate total.
Note: For all the NCB-related and bytes-count counters:
Those with the suffix _r are from the redirector. These NCBs are issued by the redirector as part of the normal process of maintaining remote network connections.
Those with the suffix _s are server-related. These NCBs are sent by the redirector on behalf of the server to maintain shared resource connections.
Those with the suffix _a are application-generated. These NCBs can be caused by applications calling NetBiosSubmit, the use of second-class mailslots, server announcements (sending and receiving), and so on.
Note: A value of -1 or 0xFFFFFFFF for any field means that information is not available. A value of -2 or 0xFFFFFFFE means that the field has overflowed.