source: Daodan/MinGW/include/lmbrowsr.h@ 1089

Last change on this file since 1089 was 1046, checked in by alloc, 8 years ago

Daodan: Added Windows MinGW and build batch file

File size: 2.9 KB
RevLine 
[1046]1#ifndef _LMBROWSR_H
2#define _LMBROWSR_H
3#if __GNUC__ >=3
4#pragma GCC system_header
5#endif
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10#define BROWSER_ROLE_PDC 1
11#define BROWSER_ROLE_BDC 2
12typedef struct _BROWSER_STATISTICS {
13 LARGE_INTEGER StatisticsStartTime;
14 LARGE_INTEGER NumberOfServerAnnouncements;
15 LARGE_INTEGER NumberOfDomainAnnouncements;
16 ULONG NumberOfElectionPackets;
17 ULONG NumberOfMailslotWrites;
18 ULONG NumberOfGetBrowserServerListRequests;
19 ULONG NumberOfServerEnumerations;
20 ULONG NumberOfDomainEnumerations;
21 ULONG NumberOfOtherEnumerations;
22 ULONG NumberOfMissedServerAnnouncements;
23 ULONG NumberOfMissedMailslotDatagrams;
24 ULONG NumberOfMissedGetBrowserServerListRequests;
25 ULONG NumberOfFailedServerAnnounceAllocations;
26 ULONG NumberOfFailedMailslotAllocations;
27 ULONG NumberOfFailedMailslotReceives;
28 ULONG NumberOfFailedMailslotWrites;
29 ULONG NumberOfFailedMailslotOpens;
30 ULONG NumberOfDuplicateMasterAnnouncements;
31LARGE_INTEGER NumberOfIllegalDatagrams;
32} BROWSER_STATISTICS,*PBROWSER_STATISTICS,*LPBROWSER_STATISTICS;
33typedef struct _BROWSER_STATISTICS_100 {
34 LARGE_INTEGER StartTime;
35 LARGE_INTEGER NumberOfServerAnnouncements;
36 LARGE_INTEGER NumberOfDomainAnnouncements;
37 ULONG NumberOfElectionPackets;
38 ULONG NumberOfMailslotWrites;
39 ULONG NumberOfGetBrowserServerListRequests;
40 LARGE_INTEGER NumberOfIllegalDatagrams;
41} BROWSER_STATISTICS_100,*PBROWSER_STATISTICS_100;
42typedef struct _BROWSER_STATISTICS_101 {
43 LARGE_INTEGER StartTime;
44 LARGE_INTEGER NumberOfServerAnnouncements;
45 LARGE_INTEGER NumberOfDomainAnnouncements;
46 ULONG NumberOfElectionPackets;
47 ULONG NumberOfMailslotWrites;
48 ULONG NumberOfGetBrowserServerListRequests;
49 LARGE_INTEGER NumberOfIllegalDatagrams;
50 ULONG NumberOfMissedServerAnnouncements;
51 ULONG NumberOfMissedMailslotDatagrams;
52 ULONG NumberOfMissedGetBrowserServerListRequests;
53 ULONG NumberOfFailedServerAnnounceAllocations;
54 ULONG NumberOfFailedMailslotAllocations;
55 ULONG NumberOfFailedMailslotReceives;
56 ULONG NumberOfFailedMailslotWrites;
57 ULONG NumberOfFailedMailslotOpens;
58 ULONG NumberOfDuplicateMasterAnnouncements;
59} BROWSER_STATISTICS_101,*PBROWSER_STATISTICS_101;
60
61NET_API_STATUS WINAPI I_BrowserServerEnum(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,DWORD,LPCWSTR,PDWORD);
62NET_API_STATUS WINAPI I_BrowserServerEnumEx(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,DWORD,LPCWSTR,LPCWSTR);
63NET_API_STATUS I_BrowserQueryEmulatedDomains(LPWSTR,PBYTE*,PDWORD);
64NET_API_STATUS I_BrowserQueryOtherDomains(LPCWSTR,PBYTE*,PDWORD,PDWORD);
65NET_API_STATUS I_BrowserResetNetlogonState(LPCWSTR);
66NET_API_STATUS I_BrowserSetNetlogonState(LPWSTR,LPWSTR,LPWSTR,DWORD);
67NET_API_STATUS I_BrowserQueryStatistics(LPCWSTR,LPBROWSER_STATISTICS*);
68NET_API_STATUS I_BrowserResetStatistics(LPCWSTR);
69WORD I_BrowserServerEnumForXactsrv(LPCWSTR,LPCWSTR,ULONG,USHORT,PVOID,WORD,DWORD,PDWORD,PDWORD,DWORD,LPCWSTR,LPCWSTR,PWORD);
70NET_API_STATUS I_BrowserDebugTrace(PWCHAR,PCHAR);
71#ifdef __cplusplus
72}
73#endif
74#endif
Note: See TracBrowser for help on using the repository browser.