1 | #ifndef _LMBROWSR_H
|
---|
2 | #define _LMBROWSR_H
|
---|
3 | #if __GNUC__ >=3
|
---|
4 | #pragma GCC system_header
|
---|
5 | #endif
|
---|
6 |
|
---|
7 | #ifdef __cplusplus
|
---|
8 | extern "C" {
|
---|
9 | #endif
|
---|
10 | #define BROWSER_ROLE_PDC 1
|
---|
11 | #define BROWSER_ROLE_BDC 2
|
---|
12 | typedef 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;
|
---|
31 | LARGE_INTEGER NumberOfIllegalDatagrams;
|
---|
32 | } BROWSER_STATISTICS,*PBROWSER_STATISTICS,*LPBROWSER_STATISTICS;
|
---|
33 | typedef 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;
|
---|
42 | typedef 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 |
|
---|
61 | NET_API_STATUS WINAPI I_BrowserServerEnum(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,DWORD,LPCWSTR,PDWORD);
|
---|
62 | NET_API_STATUS WINAPI I_BrowserServerEnumEx(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,DWORD,LPCWSTR,LPCWSTR);
|
---|
63 | NET_API_STATUS I_BrowserQueryEmulatedDomains(LPWSTR,PBYTE*,PDWORD);
|
---|
64 | NET_API_STATUS I_BrowserQueryOtherDomains(LPCWSTR,PBYTE*,PDWORD,PDWORD);
|
---|
65 | NET_API_STATUS I_BrowserResetNetlogonState(LPCWSTR);
|
---|
66 | NET_API_STATUS I_BrowserSetNetlogonState(LPWSTR,LPWSTR,LPWSTR,DWORD);
|
---|
67 | NET_API_STATUS I_BrowserQueryStatistics(LPCWSTR,LPBROWSER_STATISTICS*);
|
---|
68 | NET_API_STATUS I_BrowserResetStatistics(LPCWSTR);
|
---|
69 | WORD I_BrowserServerEnumForXactsrv(LPCWSTR,LPCWSTR,ULONG,USHORT,PVOID,WORD,DWORD,PDWORD,PDWORD,DWORD,LPCWSTR,LPCWSTR,PWORD);
|
---|
70 | NET_API_STATUS I_BrowserDebugTrace(PWCHAR,PCHAR);
|
---|
71 | #ifdef __cplusplus
|
---|
72 | }
|
---|
73 | #endif
|
---|
74 | #endif
|
---|