wined3d: Sanitise clear flags passed to blitters.
[wine.git] / include / lmstats.h
blob82071a860d42a47af834da6e7c9fc8553fe0d23d
1 /*
2 * Copyright 2003 Geoff Thorpe
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __WINE_LMSTATS_H
20 #define __WINE_LMSTATS_H
22 #include <lmcons.h>
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
28 typedef struct _STAT_WORKSTATION_0 {
29 LARGE_INTEGER StatisticsStartTime;
30 LARGE_INTEGER BytesReceived;
31 LARGE_INTEGER SmbsReceived;
32 LARGE_INTEGER PagingReadBytesRequested;
33 LARGE_INTEGER NonPagingReadBytesRequested;
34 LARGE_INTEGER CacheReadBytesRequested;
35 LARGE_INTEGER NetworkReadBytesRequested;
36 LARGE_INTEGER BytesTransmitted;
37 LARGE_INTEGER SmbsTransmitted;
38 LARGE_INTEGER PagingWriteBytesRequested;
39 LARGE_INTEGER NonPagingWriteBytesRequested;
40 LARGE_INTEGER CacheWriteBytesRequested;
41 LARGE_INTEGER NetworkWriteBytesRequested;
42 DWORD InitiallyFailedOperations;
43 DWORD FailedCompletionOperations;
44 DWORD ReadOperations;
45 DWORD RandomReadOperations;
46 DWORD ReadSmbs;
47 DWORD LargeReadSmbs;
48 DWORD SmallReadSmbs;
49 DWORD WriteOperations;
50 DWORD RandomWriteOperations;
51 DWORD WriteSmbs;
52 DWORD LargeWriteSmbs;
53 DWORD SmallWriteSmbs;
54 DWORD RawReadsDenied;
55 DWORD RawWritesDenied;
56 DWORD NetworkErrors;
57 DWORD Sessions;
58 DWORD FailedSessions;
59 DWORD Reconnects;
60 DWORD CoreConnects;
61 DWORD Lanman20Connects;
62 DWORD Lanman21Connects;
63 DWORD LanmanNtConnects;
64 DWORD ServerDisconnects;
65 DWORD HungSessions;
66 DWORD UseCount;
67 DWORD FailedUseCount;
68 DWORD CurrentCommands;
69 } STAT_WORKSTATION_0, *PSTAT_WORKSTATION_0, *LPSTAT_WORKSTATION_0;
71 typedef struct _STAT_SERVER_0 {
72 DWORD sts0_start;
73 DWORD sts0_fopens;
74 DWORD sts0_devopens;
75 DWORD sts0_jobsqueued;
76 DWORD sts0_sopens;
77 DWORD sts0_stimedout;
78 DWORD sts0_serrorout;
79 DWORD sts0_pwerrors;
80 DWORD sts0_permerrors;
81 DWORD sts0_syserrors;
82 DWORD sts0_bytessent_low;
83 DWORD sts0_bytessent_high;
84 DWORD sts0_bytesrcvd_low;
85 DWORD sts0_bytesrcvd_high;
86 DWORD sts0_avresponse;
87 DWORD sts0_reqbufneed;
88 DWORD sts0_bigbufneed;
89 } STAT_SERVER_0, *PSTAT_SERVER_0, *LPSTAT_SERVER_0;
91 NET_API_STATUS WINAPI NetStatisticsGet(LPWSTR server, LPWSTR service, DWORD level,
92 DWORD options, LPBYTE *bufptr);
94 #ifdef __cplusplus
96 #endif
98 #endif