home *** CD-ROM | disk | FTP | other *** search
/ PC World 2001 March / PCWorld_2001-03_cd.bin / Software / TemaCD / devc / _SETUP.5 / Group3 / lmbrowsr.h < prev    next >
C/C++ Source or Header  |  1999-11-07  |  3KB  |  71 lines

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