Annotation of mstools/h/lmbrowsr.h, revision 1.1

1.1     ! root        1: 
        !             2: /*++ BUILD Version: 0007    // Increment this if a change has global effects
        !             3: 
        !             4: Copyright (c) 1990-1993  Microsoft Corporation
        !             5: 
        !             6: Module Name:
        !             7: 
        !             8:     lmbrowsr.h
        !             9: 
        !            10: Abstract:
        !            11: 
        !            12:     This file contains information about browser stubbed versions of the
        !            13:     NetServer APIs.
        !            14:         Function Prototypes
        !            15:         Data Structures
        !            16:         Definition of special values
        !            17: 
        !            18: Author:
        !            19: 
        !            20:     Dan Lafferty (danl)  24-Jan-1991
        !            21: 
        !            22: Environment:
        !            23: 
        !            24:     User Mode - Win32
        !            25: 
        !            26: Notes:
        !            27: 
        !            28:     You must include NETCONS.H before this file, since this file depends
        !            29:     on values defined in NETCONS.H.
        !            30: 
        !            31: Revision History:
        !            32: 
        !            33:     25-Jan-1991  Danl
        !            34:         Ported from LM2.0
        !            35:     12-Feb-1991  danl
        !            36:         Changed info levels to match current spec - no more info level 3.
        !            37:     14-Apr-1991  w-shanku
        !            38:         Changed parmnum constants to be more consistent with OS/2 parmnums.
        !            39:     19-Apr-1991 JohnRo
        !            40:         Added OPTIONAL keywords to APIs.  Added SV_MAX_SRV_HEUR_LEN from LM 2.x
        !            41:     09-May-1991 JohnRo
        !            42:         Implement UNICODE.
        !            43:     22-May-1991 JohnRo
        !            44:         Added three new SV_TYPE equates from LM 2.x source.
        !            45:     23-May-1991 JohnRo
        !            46:         Added sv403_autopath.
        !            47:     26-May-1991 JohnRo
        !            48:         Corrected value of SV_ERRORALERT_PARMNUM.
        !            49:     18-Jun-1991 JohnRo
        !            50:         Changed sv102_disc to be signed, and changed SV_NODISC to be 32-bits.
        !            51:         Added sv102_licenses.
        !            52: 
        !            53: --*/
        !            54: 
        !            55: #ifndef _LMBROWSR_
        !            56: #define _LMBROWSR_
        !            57: 
        !            58: #ifdef __cplusplus
        !            59: extern "C" {
        !            60: #endif
        !            61: 
        !            62: 
        !            63: typedef struct _BROWSER_STATISTICS {
        !            64:     LARGE_INTEGER   StatisticsStartTime;
        !            65:     LARGE_INTEGER   NumberOfServerAnnouncements;
        !            66:     LARGE_INTEGER   NumberOfDomainAnnouncements;
        !            67:     ULONG           NumberOfElectionPackets;
        !            68:     ULONG           NumberOfMailslotWrites;
        !            69:     ULONG           NumberOfGetBrowserServerListRequests;
        !            70:     ULONG           NumberOfServerEnumerations;
        !            71:     ULONG           NumberOfDomainEnumerations;
        !            72:     ULONG           NumberOfOtherEnumerations;
        !            73:     ULONG           NumberOfMissedServerAnnouncements;
        !            74:     ULONG           NumberOfMissedMailslotDatagrams;
        !            75:     ULONG           NumberOfMissedGetBrowserServerListRequests;
        !            76:     ULONG           NumberOfFailedServerAnnounceAllocations;
        !            77:     ULONG           NumberOfFailedMailslotAllocations;
        !            78:     ULONG           NumberOfFailedMailslotReceives;
        !            79:     ULONG           NumberOfFailedMailslotWrites;
        !            80:     ULONG           NumberOfFailedMailslotOpens;
        !            81:     ULONG           NumberOfDuplicateMasterAnnouncements;
        !            82:     LARGE_INTEGER   NumberOfIllegalDatagrams;
        !            83: } BROWSER_STATISTICS, *PBROWSER_STATISTICS, *LPBROWSER_STATISTICS;
        !            84: 
        !            85: 
        !            86: //
        !            87: // Function Prototypes - BROWSER
        !            88: //
        !            89: 
        !            90: NET_API_STATUS NET_API_FUNCTION
        !            91: I_BrowserServerEnum (
        !            92:     IN  LPTSTR      servername OPTIONAL,
        !            93:     IN  LPTSTR      transport OPTIONAL,
        !            94:     IN  LPTSTR      clientname OPTIONAL,
        !            95:     IN  DWORD       level,
        !            96:     OUT LPBYTE      *bufptr,
        !            97:     IN  DWORD       prefmaxlen,
        !            98:     OUT LPDWORD     entriesread,
        !            99:     OUT LPDWORD     totalentries,
        !           100:     IN  DWORD       servertype,
        !           101:     IN  LPTSTR      domain OPTIONAL,
        !           102:     IN OUT LPDWORD  resume_handle OPTIONAL
        !           103:     );
        !           104: 
        !           105: 
        !           106: NET_API_STATUS
        !           107: I_BrowserQueryOtherDomains (
        !           108:     IN  LPTSTR      servername OPTIONAL,
        !           109:     OUT LPBYTE      *bufptr,
        !           110:     OUT LPDWORD     entriesread,
        !           111:     OUT LPDWORD     totalentries
        !           112:     );
        !           113: 
        !           114: NET_API_STATUS
        !           115: I_BrowserResetNetlogonState (
        !           116:     IN  LPTSTR      servername OPTIONAL
        !           117:     );
        !           118: 
        !           119: NET_API_STATUS
        !           120: I_BrowserQueryStatistics (
        !           121:     IN  LPTSTR      servername OPTIONAL,
        !           122:     OUT LPBROWSER_STATISTICS *statistics
        !           123:     );
        !           124: 
        !           125: NET_API_STATUS
        !           126: I_BrowserResetStatistics (
        !           127:     IN  LPTSTR      servername OPTIONAL
        !           128:     );
        !           129: 
        !           130: 
        !           131: WORD
        !           132: I_BrowserServerEnumForXactsrv(
        !           133:     IN LPTSTR TransportName OPTIONAL,
        !           134:     IN LPTSTR ClientName OPTIONAL,
        !           135: 
        !           136:     IN ULONG NtLevel,
        !           137:     IN USHORT ClientLevel,
        !           138: 
        !           139:     OUT PVOID Buffer,
        !           140:     IN WORD BufferLength,
        !           141:     IN DWORD PreferedMaximumLength,
        !           142: 
        !           143:     OUT LPDWORD EntriesRead,
        !           144:     OUT LPDWORD TotalEntries,
        !           145: 
        !           146:     IN DWORD ServerType,
        !           147:     IN LPTSTR Domain,
        !           148: 
        !           149:     OUT PWORD Converter
        !           150: 
        !           151:     );
        !           152: 
        !           153: #ifdef __cplusplus
        !           154: }
        !           155: #endif
        !           156: 
        !           157: #if DBG
        !           158: NET_API_STATUS
        !           159: I_BrowserDebugTrace(
        !           160:     PWCHAR Server,
        !           161:     PCHAR Buffer
        !           162:     );
        !           163: 
        !           164: #endif
        !           165: 
        !           166: #endif // _LMBROWSR_

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.