home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / lmerrlog.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  41KB  |  1,316 lines

  1. /*++ BUILD Version: 0002    // Increment this if a change has global effects
  2.  
  3. Copyright 1991-1998 Microsoft Corporation
  4.  
  5. Module Name:
  6.  
  7.     lmerrlog.h
  8.  
  9. Abstract:
  10.  
  11.     This module defines the API function prototypes and data structures
  12.     for the following groups of NT API functions:
  13.         NetErrorLog
  14.  
  15. Environment:
  16.  
  17.     User Mode - Win32
  18.  
  19. Notes:
  20.  
  21.     You must include NETCONS.H before this file, since this file depends
  22.     on values defined in NETCONS.H.
  23.  
  24. --*/
  25.  
  26. #ifndef _LMERRLOG_
  27. #define _LMERRLOG_
  28.  
  29. #ifdef __cplusplus
  30. extern "C" {
  31. #endif
  32.  
  33. //
  34. // Data Structures - Config
  35. //
  36.  
  37. typedef struct _ERROR_LOG {
  38.      DWORD         el_len;
  39.      DWORD         el_reserved;
  40.      DWORD         el_time;
  41.      DWORD         el_error;
  42.      LPWSTR        el_name;             // pointer to service name
  43.      LPWSTR        el_text;             // pointer to string array
  44.      LPBYTE        el_data;             // pointer to BYTE array
  45.      DWORD         el_data_size;        // byte count of el_data area
  46.      DWORD         el_nstrings;         // number of strings in el_text.
  47. } ERROR_LOG, *PERROR_LOG, *LPERROR_LOG;
  48.  
  49.  
  50. // Temporary to let users ifdef on this struct layout.
  51. #define REVISED_ERROR_LOG_STRUCT
  52.  
  53.  
  54. #ifndef _LMHLOGDEFINED_
  55. #define _LMHLOGDEFINED_
  56.  
  57. typedef struct _HLOG {
  58.      DWORD          time;
  59.      DWORD          last_flags;
  60.      DWORD          offset;
  61.      DWORD          rec_offset;
  62. } HLOG, *PHLOG, *LPHLOG;
  63.  
  64. #define LOGFLAGS_FORWARD    0
  65. #define LOGFLAGS_BACKWARD   0x1
  66. #define LOGFLAGS_SEEK       0x2
  67.  
  68. #endif
  69.  
  70. //
  71. // Function Prototypes - ErrorLog
  72. //
  73.  
  74. NET_API_STATUS NET_API_FUNCTION
  75. NetErrorLogClear (
  76.     IN LPCWSTR server,
  77.     IN LPCWSTR backupfile,
  78.     IN LPBYTE  reserved
  79.     );
  80.  
  81. NET_API_STATUS NET_API_FUNCTION
  82. NetErrorLogRead (
  83.     IN LPCWSTR server,
  84.     IN LPWSTR  reserved1,
  85.     IN LPHLOG  errloghandle,
  86.     IN DWORD   offset,
  87.     IN LPDWORD reserved2,
  88.     IN DWORD   reserved3,
  89.     IN DWORD offsetflag,
  90.     OUT LPBYTE * bufptr,
  91.     IN DWORD prefmaxlen,
  92.     OUT LPDWORD bytesread,
  93.     OUT LPDWORD totalbytes
  94.     );
  95.  
  96. NET_API_STATUS NET_API_FUNCTION
  97. NetErrorLogWrite (
  98.     IN LPBYTE  reserved1,
  99.     IN DWORD   code,
  100.     IN LPCWSTR component,
  101.     IN LPBYTE  buffer,
  102.     IN DWORD numbytes,
  103.     IN LPBYTE msgbuf,
  104.     IN DWORD strcount,
  105.     IN LPBYTE reserved2
  106.     );
  107.  
  108. //
  109. // Special Values and Constants
  110. //
  111.  
  112.  
  113. //
  114. //  Generic (could be used by more than one service)
  115. //   error log messages from 0 to 25
  116. //
  117. // Do not change the comments following the manifest constants without
  118. // understanding how mapmsg works.
  119. //
  120.  
  121. #define ERRLOG_BASE 3100        /* NELOG errors start here */
  122.  
  123. #define NELOG_Internal_Error        (ERRLOG_BASE + 0)
  124.     /*
  125.     * The operation failed because a network software error occurred.
  126.     */
  127.  
  128. #define NELOG_Resource_Shortage     (ERRLOG_BASE + 1)
  129.     /*
  130.     * The system ran out of a resource controlled by the %1 option.
  131.     */
  132.  
  133. #define NELOG_Unable_To_Lock_Segment    (ERRLOG_BASE + 2)
  134.     /*
  135.     * The service failed to obtain a long-term lock on the
  136.     *  segment for network control blocks (NCBs). The error code is the data.
  137.     */
  138.  
  139. #define NELOG_Unable_To_Unlock_Segment  (ERRLOG_BASE + 3)
  140.     /*
  141.     * The service failed to release the long-term lock on the
  142.     *  segment for network control blocks (NCBs). The error code is the data.
  143.     */
  144.  
  145. #define NELOG_Uninstall_Service     (ERRLOG_BASE + 4)
  146.     /*
  147.     * There was an error stopping service %1.
  148.     *  The error code from NetServiceControl is the data.
  149.     */
  150.  
  151. #define NELOG_Init_Exec_Fail        (ERRLOG_BASE + 5)
  152.     /*
  153.     * Initialization failed because of a system execution failure on
  154.     *  path %1. The system error code is the data.
  155.     */
  156.  
  157. #define NELOG_Ncb_Error         (ERRLOG_BASE + 6)
  158.     /*
  159.     * An unexpected network control block (NCB) was received. The NCB is the data.
  160.     */
  161.  
  162. #define NELOG_Net_Not_Started       (ERRLOG_BASE + 7)
  163.     /*
  164.     * The network is not started.
  165.     */
  166.  
  167. #define NELOG_Ioctl_Error       (ERRLOG_BASE + 8)
  168.     /*
  169.     * A DosDevIoctl or DosFsCtl to NETWKSTA.SYS failed.
  170.     * The data shown is in this format:
  171.     *     DWORD  approx CS:IP of call to ioctl or fsctl
  172.     *     WORD   error code
  173.     *     WORD   ioctl or fsctl number
  174.     */
  175.  
  176. #define NELOG_System_Semaphore      (ERRLOG_BASE + 9)
  177.     /*
  178.     * Unable to create or open system semaphore %1.
  179.     *  The error code is the data.
  180.     */
  181.  
  182. #define NELOG_Init_OpenCreate_Err   (ERRLOG_BASE + 10)
  183.     /*
  184.     * Initialization failed because of an open/create error on the
  185.     *  file %1. The system error code is the data.
  186.     */
  187.  
  188. #define NELOG_NetBios           (ERRLOG_BASE + 11)
  189.     /*
  190.     * An unexpected NetBIOS error occurred.
  191.     *  The error code is the data.
  192.     */
  193.  
  194. #define NELOG_SMB_Illegal       (ERRLOG_BASE + 12)
  195.     /*
  196.     * An illegal server message block (SMB) was received.
  197.     *  The SMB is the data.
  198.     */
  199.  
  200. #define NELOG_Service_Fail      (ERRLOG_BASE + 13)
  201.     /*
  202.     * Initialization failed because the requested service %1
  203.     *  could not be started.
  204.    */
  205.  
  206. #define NELOG_Entries_Lost      (ERRLOG_BASE + 14)
  207.     /*
  208.     * Some entries in the error log were lost because of a buffer
  209.     * overflow.
  210.     */
  211.  
  212.  
  213. //
  214. //  Server specific error log messages from 20 to 40
  215. //
  216.  
  217. #define NELOG_Init_Seg_Overflow     (ERRLOG_BASE + 20)
  218.     /*
  219.     * Initialization parameters controlling resource usage other
  220.     *  than net buffers are sized so that too much memory is needed.
  221.     */
  222.  
  223. #define NELOG_Srv_No_Mem_Grow       (ERRLOG_BASE + 21)
  224.     /*
  225.     * The server cannot increase the size of a memory segment.
  226.     */
  227.  
  228. #define NELOG_Access_File_Bad       (ERRLOG_BASE + 22)
  229.     /*
  230.     * Initialization failed because account file %1 is either incorrect
  231.     * or not present.
  232.     */
  233.  
  234. #define NELOG_Srvnet_Not_Started    (ERRLOG_BASE + 23)
  235.     /*
  236.     * Initialization failed because network %1 was not started.
  237.     */
  238.  
  239. #define NELOG_Init_Chardev_Err      (ERRLOG_BASE + 24)
  240.     /*
  241.     * The server failed to start. Either all three chdev
  242.     *  parameters must be zero or all three must be nonzero.
  243.     */
  244.  
  245. #define NELOG_Remote_API        (ERRLOG_BASE + 25)
  246.     /* A remote API request was halted due to the following
  247.     * invalid description string: %1.
  248.     */
  249.  
  250. #define NELOG_Ncb_TooManyErr        (ERRLOG_BASE + 26)
  251.     /* The network %1 ran out of network control blocks (NCBs).  You may need to increase NCBs
  252.     * for this network.  The following information includes the
  253.     * number of NCBs submitted by the server when this error occurred:
  254.     */
  255.  
  256. #define NELOG_Mailslot_err      (ERRLOG_BASE + 27)
  257.     /* The server cannot create the %1 mailslot needed to send
  258.     * the ReleaseMemory alert message.  The error received is:
  259.     */
  260.  
  261. #define NELOG_ReleaseMem_Alert      (ERRLOG_BASE + 28)
  262.     /* The server failed to register for the ReleaseMemory alert,
  263.     * with recipient %1. The error code from
  264.     * NetAlertStart is the data.
  265.     */
  266.  
  267. #define NELOG_AT_cannot_write       (ERRLOG_BASE + 29)
  268.     /* The server cannot update the AT schedule file. The file
  269.     * is corrupted.
  270.     */
  271.  
  272. #define NELOG_Cant_Make_Msg_File    (ERRLOG_BASE + 30)
  273.     /* The server encountered an error when calling
  274.     * NetIMakeLMFileName. The error code is the data.
  275.     */
  276.  
  277. #define NELOG_Exec_Netservr_NoMem   (ERRLOG_BASE + 31)
  278.     /* Initialization failed because of a system execution failure on
  279.     * path %1. There is not enough memory to start the process.
  280.     * The system error code is the data.
  281.     */
  282.  
  283. #define NELOG_Server_Lock_Failure   (ERRLOG_BASE + 32)
  284.     /* Longterm lock of the server buffers failed.
  285.     * Check swap disk's free space and restart the system to start the server.
  286.     */
  287.  
  288. //
  289. //  Message service and POPUP specific error log messages from 40 to 55
  290. //
  291.  
  292. #define NELOG_Msg_Shutdown      (ERRLOG_BASE + 40)
  293.     /*
  294.     * The service has stopped due to repeated consecutive
  295.     *  occurrences of a network control block (NCB) error.  The last bad NCB follows
  296.     *  in raw data.
  297.     */
  298.  
  299. #define NELOG_Msg_Sem_Shutdown      (ERRLOG_BASE + 41)
  300.     /*
  301.     * The Message server has stopped due to a lock on the
  302.     *  Message server shared data segment.
  303.     */
  304.  
  305. #define NELOG_Msg_Log_Err       (ERRLOG_BASE + 50)
  306.     /*
  307.     * A file system error occurred while opening or writing to the
  308.     *  system message log file %1. Message logging has been
  309.     *  switched off due to the error. The error code is the data.
  310.     */
  311.  
  312.  
  313.  
  314. #define NELOG_VIO_POPUP_ERR     (ERRLOG_BASE + 51)
  315.     /*
  316.     * Unable to display message POPUP due to system VIO call error.
  317.     *  The error code is the data.
  318.     */
  319.  
  320. #define NELOG_Msg_Unexpected_SMB_Type   (ERRLOG_BASE + 52)
  321.     /*
  322.     * An illegal server message block (SMB) was received.  The SMB is the data.
  323.     */
  324.  
  325. //
  326. //  Workstation specific error log messages from 60 to 75
  327. //
  328.  
  329.  
  330. #define NELOG_Wksta_Infoseg     (ERRLOG_BASE + 60)
  331.     /*
  332.     * The workstation information segment is bigger than 64K.
  333.     *  The size follows, in DWORD format:
  334.     */
  335.  
  336. #define NELOG_Wksta_Compname        (ERRLOG_BASE + 61)
  337.     /*
  338.     * The workstation was unable to get the name-number of the computer.
  339.     */
  340.  
  341. #define NELOG_Wksta_BiosThreadFailure   (ERRLOG_BASE + 62)
  342.     /*
  343.     * The workstation could not initialize the Async NetBIOS Thread.
  344.     *  The error code is the data.
  345.     */
  346.  
  347. #define NELOG_Wksta_IniSeg      (ERRLOG_BASE + 63)
  348.     /*
  349.     * The workstation could not open the initial shared segment.
  350.     *  The error code is the data.
  351.     */
  352.  
  353. #define NELOG_Wksta_HostTab_Full    (ERRLOG_BASE + 64)
  354.     /*
  355.     * The workstation host table is full.
  356.     */
  357.  
  358. #define NELOG_Wksta_Bad_Mailslot_SMB    (ERRLOG_BASE + 65)
  359.     /*
  360.     * A bad mailslot server message block (SMB) was received.  The SMB is the data.
  361.     */
  362.  
  363. #define NELOG_Wksta_UASInit     (ERRLOG_BASE + 66)
  364.     /*
  365.     * The workstation encountered an error while trying to start the user accounts database.
  366.     *  The error code is the data.
  367.     */
  368.  
  369. #define NELOG_Wksta_SSIRelogon      (ERRLOG_BASE + 67)
  370.     /*
  371.     * The workstation encountered an error while responding to an SSI revalidation request.
  372.     *  The function code and the error codes are the data.
  373.     */
  374.  
  375. //
  376. //  Alerter service specific error log messages from 70 to 79
  377. //
  378.  
  379.  
  380. #define NELOG_Build_Name        (ERRLOG_BASE + 70)
  381.     /*
  382.     * The Alerter service had a problem creating the list of
  383.     * alert recipients.  The error code is %1.
  384.     */
  385.  
  386. #define NELOG_Name_Expansion        (ERRLOG_BASE + 71)
  387.     /*
  388.     * There was an error expanding %1 as a group name. Try
  389.     *  splitting the group into two or more smaller groups.
  390.     */
  391.  
  392. #define NELOG_Message_Send      (ERRLOG_BASE + 72)
  393.     /*
  394.     * There was an error sending %2 the alert message -
  395.     *  (
  396.     *  %3 )
  397.     *  The error code is %1.
  398.     */
  399.  
  400. #define NELOG_Mail_Slt_Err      (ERRLOG_BASE + 73)
  401.     /*
  402.     * There was an error in creating or reading the alerter mailslot.
  403.     *  The error code is %1.
  404.     */
  405.  
  406. #define NELOG_AT_cannot_read        (ERRLOG_BASE + 74)
  407.     /*
  408.     * The server could not read the AT schedule file.
  409.     */
  410.  
  411. #define NELOG_AT_sched_err      (ERRLOG_BASE + 75)
  412.     /*
  413.     * The server found an invalid AT schedule record.
  414.     */
  415.  
  416. #define NELOG_AT_schedule_file_created  (ERRLOG_BASE + 76)
  417.     /*
  418.     * The server could not find an AT schedule file so it created one.
  419.     */
  420.  
  421. #define NELOG_Srvnet_NB_Open        (ERRLOG_BASE + 77)
  422.     /*
  423.     * The server could not access the %1 network with NetBiosOpen.
  424.     */
  425.  
  426. #define NELOG_AT_Exec_Err       (ERRLOG_BASE + 78)
  427.     /*
  428.     * The AT command processor could not run %1.
  429.    */
  430.  
  431. //
  432. //      Cache Lazy Write and HPFS386 specific error log messages from 80 to 89
  433. //
  434.  
  435. #define NELOG_Lazy_Write_Err            (ERRLOG_BASE + 80)
  436.         /*
  437.         * WARNING:  Because of a lazy-write error, drive %1 now
  438.         *  contains some corrupted data.  The cache is stopped.
  439.         */
  440.  
  441. #define NELOG_HotFix            (ERRLOG_BASE + 81)
  442.     /*
  443.     * A defective sector on drive %1 has been replaced (hotfixed).
  444.     * No data was lost.  You should run CHKDSK soon to restore full
  445.     * performance and replenish the volume's spare sector pool.
  446.     *
  447.     * The hotfix occurred while processing a remote request.
  448.     */
  449.  
  450. #define NELOG_HardErr_From_Server   (ERRLOG_BASE + 82)
  451.     /*
  452.     * A disk error occurred on the HPFS volume in drive %1.
  453.     * The error occurred while processing a remote request.
  454.     */
  455.  
  456. #define NELOG_LocalSecFail1 (ERRLOG_BASE + 83)
  457.     /*
  458.     * The user accounts database (NET.ACC) is corrupted.  The local security
  459.     * system is replacing the corrupted NET.ACC with the backup
  460.     * made at %1.
  461.     * Any updates made to the database after this time are lost.
  462.     *
  463.     */
  464.  
  465. #define NELOG_LocalSecFail2 (ERRLOG_BASE + 84)
  466.     /*
  467.     * The user accounts database (NET.ACC) is missing.  The local
  468.     * security system is restoring the backup database
  469.     * made at %1.
  470.     * Any updates made to the database made after this time are lost.
  471.     *
  472.     */
  473.  
  474. #define NELOG_LocalSecFail3 (ERRLOG_BASE + 85)
  475.     /*
  476.     * Local security could not be started because the user accounts database
  477.     * (NET.ACC) was missing or corrupted, and no usable backup
  478.     * database was present.
  479.     *
  480.     * THE SYSTEM IS NOT SECURE.
  481.     */
  482.  
  483. #define NELOG_LocalSecGeneralFail   (ERRLOG_BASE + 86)
  484.     /*
  485.     * Local security could not be started because an error
  486.     * occurred during initialization. The error code returned is %1.
  487.     *
  488.     * THE SYSTEM IS NOT SECURE.
  489.     *
  490.     */
  491.  
  492. //
  493. //  NETWKSTA.SYS specific error log messages from 90 to 99
  494. //
  495.  
  496. #define NELOG_NetWkSta_Internal_Error   (ERRLOG_BASE + 90)
  497.     /*
  498.     * A NetWksta internal error has occurred:
  499.     *  %1
  500.     */
  501.  
  502. #define NELOG_NetWkSta_No_Resource  (ERRLOG_BASE + 91)
  503.     /*
  504.     * The redirector is out of a resource: %1.
  505.     */
  506.  
  507. #define NELOG_NetWkSta_SMB_Err      (ERRLOG_BASE + 92)
  508.     /*
  509.     * A server message block (SMB) error occurred on the connection to %1.
  510.     *  The SMB header is the data.
  511.     */
  512.  
  513. #define NELOG_NetWkSta_VC_Err       (ERRLOG_BASE + 93)
  514.     /*
  515.     * A virtual circuit error occurred on the session to %1.
  516.     *  The network control block (NCB) command and return code is the data.
  517.     */
  518.  
  519. #define NELOG_NetWkSta_Stuck_VC_Err (ERRLOG_BASE + 94)
  520.     /*
  521.     * Hanging up a stuck session to %1.
  522.     */
  523.  
  524. #define NELOG_NetWkSta_NCB_Err      (ERRLOG_BASE + 95)
  525.     /*
  526.     * A network control block (NCB) error occurred (%1).
  527.     *  The NCB is the data.
  528.     */
  529.  
  530. #define NELOG_NetWkSta_Write_Behind_Err (ERRLOG_BASE + 96)
  531.     /*
  532.     * A write operation to %1 failed.
  533.     *  Data may have been lost.
  534.     */
  535.  
  536. #define NELOG_NetWkSta_Reset_Err    (ERRLOG_BASE + 97)
  537.     /*
  538.     * Reset of driver %1 failed to complete the network control block (NCB).
  539.     *  The NCB is the data.
  540.     */
  541.  
  542. #define NELOG_NetWkSta_Too_Many     (ERRLOG_BASE + 98)
  543.     /*
  544.     * The amount of resource %1 requested was more
  545.     *  than the maximum. The maximum amount was allocated.
  546.     */
  547.  
  548. //
  549. //  Spooler specific error log messages from 100 to 103
  550. //
  551.  
  552. #define NELOG_Srv_Thread_Failure        (ERRLOG_BASE + 104)
  553.     /*
  554.     * The server could not create a thread.
  555.     *  The THREADS parameter in the CONFIG.SYS file should be increased.
  556.     */
  557.  
  558. #define NELOG_Srv_Close_Failure         (ERRLOG_BASE + 105)
  559.     /*
  560.     * The server could not close %1.
  561.     *  The file is probably corrupted.
  562.     */
  563.  
  564. #define NELOG_ReplUserCurDir               (ERRLOG_BASE + 106)
  565.     /*
  566.     *The replicator cannot update directory %1. It has tree integrity
  567.     * and is the current directory for some process.
  568.     */
  569.  
  570. #define NELOG_ReplCannotMasterDir       (ERRLOG_BASE + 107)
  571.     /*
  572.     *The server cannot export directory %1 to client %2.
  573.     * It is exported from another server.
  574.     */
  575.  
  576. #define NELOG_ReplUpdateError           (ERRLOG_BASE + 108)
  577.     /*
  578.     *The replication server could not update directory %2 from the source
  579.     * on %3 due to error %1.
  580.     */
  581.  
  582. #define NELOG_ReplLostMaster            (ERRLOG_BASE + 109)
  583.     /*
  584.     *Master %1 did not send an update notice for directory %2 at the expected
  585.     * time.
  586.     */
  587.  
  588. #define NELOG_NetlogonAuthDCFail        (ERRLOG_BASE + 110)
  589.     /*
  590.     *Failed to authenticate with %2, a Windows NT domain controller for domain %1.
  591.     */
  592.  
  593. #define NELOG_ReplLogonFailed           (ERRLOG_BASE + 111)
  594.     /*
  595.     *The replicator attempted to log on at %2 as %1 and failed.
  596.     */
  597.  
  598. #define NELOG_ReplNetErr            (ERRLOG_BASE + 112)
  599.     /*
  600.     *  Network error %1 occurred.
  601.     */
  602.  
  603. #define NELOG_ReplMaxFiles            (ERRLOG_BASE + 113)
  604.     /*
  605.     *  Replicator limit for files in a directory has been exceeded.
  606.     */
  607.  
  608.  
  609. #define NELOG_ReplMaxTreeDepth            (ERRLOG_BASE + 114)
  610.     /*
  611.     *  Replicator limit for tree depth has been exceeded.
  612.     */
  613.  
  614. #define NELOG_ReplBadMsg             (ERRLOG_BASE + 115)
  615.     /*
  616.     *  Unrecognized message received in mailslot.
  617.     */
  618.  
  619. #define NELOG_ReplSysErr            (ERRLOG_BASE + 116)
  620.     /*
  621.     *  System error %1 occurred.
  622.     */
  623.  
  624. #define NELOG_ReplUserLoged          (ERRLOG_BASE + 117)
  625.     /*
  626.     *  Cannot log on. User is currently logged on and argument TRYUSER
  627.     *  is set to NO.
  628.     */
  629.  
  630. #define NELOG_ReplBadImport           (ERRLOG_BASE + 118)
  631.     /*
  632.     *  IMPORT path %1 cannot be found.
  633.     */
  634.  
  635. #define NELOG_ReplBadExport           (ERRLOG_BASE + 119)
  636.     /*
  637.     *  EXPORT path %1 cannot be found.
  638.     */
  639.  
  640. #define NELOG_ReplSignalFileErr           (ERRLOG_BASE + 120)
  641.     /*
  642.     *  Replicator failed to update signal file in directory %2 due to
  643.     *  %1 system error.
  644.     */
  645.  
  646. #define NELOG_DiskFT                (ERRLOG_BASE+121)
  647.     /*
  648.     * Disk Fault Tolerance Error
  649.     *
  650.     * %1
  651.     */
  652.  
  653. #define NELOG_ReplAccessDenied           (ERRLOG_BASE + 122)
  654.     /*
  655.     *  Replicator could not access %2
  656.     *  on %3 due to system error %1.
  657.     */
  658.  
  659. #define NELOG_NetlogonFailedPrimary      (ERRLOG_BASE + 123)
  660.     /*
  661.     *The primary domain controller for domain %1 has apparently failed.
  662.     */
  663.  
  664. #define NELOG_NetlogonPasswdSetFailed (ERRLOG_BASE + 124)
  665.     /*
  666.     * Changing machine account password for account %1 failed with
  667.     * the following error: %n%2
  668.     */
  669.  
  670. #define NELOG_NetlogonTrackingError      (ERRLOG_BASE + 125)
  671.     /*
  672.     *An error occurred while updating the logon or logoff information for %1.
  673.     */
  674.  
  675. #define NELOG_NetlogonSyncError          (ERRLOG_BASE + 126)
  676.     /*
  677.     *An error occurred while synchronizing with primary domain controller %1
  678.     */
  679.  
  680. //
  681. //  UPS service specific error log messages from 130 to 135
  682. //
  683.  
  684. #define NELOG_UPS_PowerOut      (ERRLOG_BASE + 130)
  685.     /*
  686.     * A power failure was detected at the server.
  687.     */
  688.  
  689. #define NELOG_UPS_Shutdown      (ERRLOG_BASE + 131)
  690.     /*
  691.     * The UPS service performed server shut down.
  692.     */
  693.  
  694. #define NELOG_UPS_CmdFileError      (ERRLOG_BASE + 132)
  695.     /*
  696.     * The UPS service did not complete execution of the
  697.     * user specified shut down command file.
  698.     */
  699.  
  700. #define NELOG_UPS_CannotOpenDriver  (ERRLOG_BASE+133)
  701.     /*
  702.     * The UPS driver could not be opened.  The error code is
  703.     * the data.
  704.     */
  705.  
  706. #define NELOG_UPS_PowerBack     (ERRLOG_BASE + 134)
  707.     /*
  708.     * Power has been restored.
  709.     */
  710.  
  711. #define NELOG_UPS_CmdFileConfig     (ERRLOG_BASE + 135)
  712.     /*
  713.     * There is a problem with a configuration of user specified
  714.     * shut down command file.
  715.     */
  716.  
  717. #define NELOG_UPS_CmdFileExec       (ERRLOG_BASE + 136)
  718.     /*
  719.     * The UPS service failed to execute a user specified shutdown
  720.     * command file %1.  The error code is the data.
  721.     */
  722.  
  723. //
  724. //  Remoteboot server specific error log messages are from 150 to 157
  725. //
  726.  
  727. #define NELOG_Missing_Parameter     (ERRLOG_BASE + 150)
  728.     /*
  729.     * Initialization failed because of an invalid or missing
  730.     *  parameter in the configuration file %1.
  731.     */
  732.  
  733. #define NELOG_Invalid_Config_Line   (ERRLOG_BASE + 151)
  734.     /*
  735.     * Initialization failed because of an invalid line in the
  736.     *  configuration file %1. The invalid line is the data.
  737.     */
  738.  
  739. #define NELOG_Invalid_Config_File   (ERRLOG_BASE + 152)
  740.     /*
  741.     * Initialization failed because of an error in the configuration
  742.     *  file %1.
  743.     */
  744.  
  745. #define NELOG_File_Changed      (ERRLOG_BASE + 153)
  746.     /*
  747.     * The file %1 has been changed after initialization.
  748.     *  The boot-block loading was temporarily terminated.
  749.     */
  750.  
  751. #define NELOG_Files_Dont_Fit        (ERRLOG_BASE + 154)
  752.     /*
  753.     * The files do not fit to the boot-block configuration
  754.     * file %1. Change the BASE and ORG definitions or the order
  755.     * of the files.
  756.     */
  757.  
  758. #define NELOG_Wrong_DLL_Version     (ERRLOG_BASE + 155)
  759.     /*
  760.     * Initialization failed because the dynamic-link
  761.     *  library %1 returned an incorrect version number.
  762.     */
  763.  
  764. #define NELOG_Error_in_DLL      (ERRLOG_BASE + 156)
  765.     /*
  766.     * There was an unrecoverable error in the dynamic-
  767.     *  link library of the service.
  768.     */
  769.  
  770. #define NELOG_System_Error      (ERRLOG_BASE + 157)
  771.     /*
  772.     * The system returned an unexpected error code.
  773.     *  The error code is the data.
  774.     */
  775.  
  776. #define NELOG_FT_ErrLog_Too_Large (ERRLOG_BASE + 158)
  777.     /*
  778.     * The fault-tolerance error log file, LANROOT\LOGS\FT.LOG,
  779.     *  is more than 64K.
  780.     */
  781.  
  782. #define NELOG_FT_Update_In_Progress (ERRLOG_BASE + 159)
  783.     /*
  784.     * The fault-tolerance error-log file, LANROOT\LOGS\FT.LOG, had the
  785.     * update in progress bit set upon opening, which means that the
  786.     * system crashed while working on the error log.
  787.     */
  788.  
  789.  
  790. //
  791. // Microsoft has created a generic error log entry for OEMs to use to
  792. // log errors from OEM value added services.  The code, which is the
  793. // 2nd arg to NetErrorLogWrite, is 3299.  This value is manifest in
  794. // NET/H/ERRLOG.H as NELOG_OEM_Code.  The text for error log entry
  795. // NELOG_OEM_Code is:  "%1 %2 %3 %4 %5 %6 %7 %8 %9.".
  796. //
  797. // Microsoft suggests that OEMs use the insertion strings as follows:
  798. // %1:  OEM System Name (e.g. 3+Open)
  799. // %2:  OEM Service Name (e.g. 3+Mail)
  800. // %3:  Severity level (e.g.  error, warning, etc.)
  801. // %4:  OEM error log entry sub-identifier  (e.g. error code #)
  802. // %5 - % 9:  Text.
  803. //
  804. // The call to NetErrorWrite must set nstrings = 9, and provide 9
  805. // ASCIIZ strings.  If the caller does not have 9 insertion strings,
  806. // provide null strings for the empty insertion strings.
  807. //
  808.  
  809. #define NELOG_OEM_Code              (ERRLOG_BASE + 199)
  810.     /*
  811.     * %1 %2 %3 %4 %5 %6 %7 %8 %9.
  812.     */
  813.  
  814. //
  815. // another error log range defined for NT Lanman.
  816. //
  817.  
  818. #define ERRLOG2_BASE 5700        /* New NT NELOG errors start here */
  819.  
  820. #define NELOG_NetlogonSSIInitError              (ERRLOG2_BASE + 0)
  821.     /*
  822.      * The Netlogon service could not initialize the replication data
  823.      * structures successfully. The service was terminated.  The following
  824.      * error occurred: %n%1
  825.      */
  826.  
  827. #define NELOG_NetlogonFailedToUpdateTrustList   (ERRLOG2_BASE + 1)
  828.     /*
  829.      * The Netlogon service failed to update the domain trust list.  The
  830.      * following error occurred: %n%1
  831.      */
  832.  
  833. #define NELOG_NetlogonFailedToAddRpcInterface   (ERRLOG2_BASE + 2)
  834.     /*
  835.      * The Netlogon service could not add the RPC interface.  The
  836.      * service was terminated. The following error occurred: %n%1
  837.      */
  838.  
  839. #define NELOG_NetlogonFailedToReadMailslot      (ERRLOG2_BASE + 3)
  840.     /*
  841.      * The Netlogon service could not read a mailslot message from %1 due
  842.      * to the following error: %n%2
  843.      */
  844.  
  845. #define NELOG_NetlogonFailedToRegisterSC        (ERRLOG2_BASE + 4)
  846.     /*
  847.      * The Netlogon service failed to register the service with the
  848.      * service controller. The service was terminated. The following
  849.      * error occurred: %n%1
  850.      */
  851.  
  852. #define NELOG_NetlogonChangeLogCorrupt          (ERRLOG2_BASE + 5)
  853.     /*
  854.      * The change log cache maintained by the Netlogon service for
  855.      * database changes is corrupted. The Netlogon service is resetting
  856.      * the change log.
  857.      */
  858.  
  859. #define NELOG_NetlogonFailedToCreateShare       (ERRLOG2_BASE + 6)
  860.     /*
  861.      * The Netlogon service could not create server share %1.  The following
  862.      * error occurred: %n%2
  863.      */
  864.  
  865. #define NELOG_NetlogonDownLevelLogonFailed      (ERRLOG2_BASE + 7)
  866.     /*
  867.      * The down-level logon request for the user %1 from %2 failed.
  868.      */
  869.  
  870. #define NELOG_NetlogonDownLevelLogoffFailed     (ERRLOG2_BASE + 8)
  871.     /*
  872.      * The down-level logoff request for the user %1 from %2 failed.
  873.      */
  874.  
  875. #define NELOG_NetlogonNTLogonFailed             (ERRLOG2_BASE + 9)
  876.     /*
  877.      * The Windows NT %1 logon request for the user %2\%3 from %4 (via %5)
  878.      * failed.
  879.      */
  880.  
  881. #define NELOG_NetlogonNTLogoffFailed            (ERRLOG2_BASE + 10)
  882.     /*
  883.      * The Windows NT %1 logoff request for the user %2\%3 from %4
  884.      * failed.
  885.      */
  886.  
  887. #define NELOG_NetlogonPartialSyncCallSuccess    (ERRLOG2_BASE + 11)
  888.     /*
  889.      * The partial synchronization request from the server %1 completed
  890.      * successfully. %2 changes(s) has(have) been returned to the
  891.      * caller.
  892.      */
  893.  
  894. #define NELOG_NetlogonPartialSyncCallFailed     (ERRLOG2_BASE + 12)
  895.     /*
  896.      * The partial synchronization request from the server %1 failed with
  897.      * the following error: %n%2
  898.      */
  899.  
  900. #define NELOG_NetlogonFullSyncCallSuccess       (ERRLOG2_BASE + 13)
  901.     /*
  902.      * The full synchronization request from the server %1 completed
  903.      * successfully. %2 object(s) has(have) been returned to
  904.      * the caller.
  905.      */
  906.  
  907. #define NELOG_NetlogonFullSyncCallFailed        (ERRLOG2_BASE + 14)
  908.     /*
  909.      * The full synchronization request from the server %1 failed with
  910.      * the following error: %n%2
  911.      */
  912.  
  913. #define NELOG_NetlogonPartialSyncSuccess        (ERRLOG2_BASE + 15)
  914.     /*
  915.      * The partial synchronization replication of the %1 database from the
  916.      * primary domain controller %2 completed successfully. %3 change(s) is(are)
  917.      * applied to the database.
  918.      */
  919.  
  920.  
  921. #define NELOG_NetlogonPartialSyncFailed         (ERRLOG2_BASE + 16)
  922.     /*
  923.      * The partial synchronization replication of the %1 database from the
  924.      * primary domain controller %2 failed with the following error: %n%3
  925.      */
  926.  
  927. #define NELOG_NetlogonFullSyncSuccess           (ERRLOG2_BASE + 17)
  928.     /*
  929.      * The full synchronization replication of the %1 database from the
  930.      * primary domain controller %2 completed successfully.
  931.      */
  932.  
  933.  
  934. #define NELOG_NetlogonFullSyncFailed            (ERRLOG2_BASE + 18)
  935.     /*
  936.      * The full synchronization replication of the %1 database from the
  937.      * primary domain controller %2 failed with the following error: %n%3
  938.      */
  939.  
  940. #define NELOG_NetlogonAuthNoDomainController    (ERRLOG2_BASE + 19)
  941.     /*
  942.      * No Windows NT Domain Controller is available for domain %1.
  943.      * (This event is expected and can be ignored when booting with
  944.      * the 'No Net' Hardware Profile.)  The following error occurred:%n%2
  945.      */
  946.  
  947. #define NELOG_NetlogonAuthNoTrustLsaSecret      (ERRLOG2_BASE + 20)
  948.     /*
  949.      * The session setup to the Windows NT Domain Controller %1 for the domain %2
  950.      * failed because the computer %3 does not have a local security database account.
  951.      */
  952.  
  953. #define NELOG_NetlogonAuthNoTrustSamAccount     (ERRLOG2_BASE + 21)
  954.     /*
  955.      * The session setup to the Windows NT Domain Controller %1 for the domain %2
  956.      * failed because the Windows NT Domain Controller does not have an account
  957.      * for the computer %3.
  958.      */
  959.  
  960. #define NELOG_NetlogonServerAuthFailed          (ERRLOG2_BASE + 22)
  961.     /*
  962.      * The session setup from the computer %1 failed to authenticate.
  963.      * The name of the account referenced in the security database is
  964.      * %2.  The following error occurred: %n%3
  965.      */
  966.  
  967. #define NELOG_NetlogonServerAuthNoTrustSamAccount (ERRLOG2_BASE + 23)
  968.     /*
  969.      * The session setup from the computer %1 failed because there is
  970.      * no trust account in the security database for this computer. The name of
  971.      * the account referenced in the security database is %2.
  972.      */
  973.  
  974. //
  975. // General log messages for NT services.
  976. //
  977.  
  978. #define NELOG_FailedToRegisterSC                  (ERRLOG2_BASE + 24)
  979.     /*
  980.      * Could not register control handler with service controller %1.
  981.      */
  982.  
  983. #define NELOG_FailedToSetServiceStatus            (ERRLOG2_BASE + 25)
  984.     /*
  985.      * Could not set service status with service controller %1.
  986.      */
  987.  
  988. #define NELOG_FailedToGetComputerName             (ERRLOG2_BASE + 26)
  989.     /*
  990.      * Could not find the computer name %1.
  991.      */
  992.  
  993. #define NELOG_DriverNotLoaded                     (ERRLOG2_BASE + 27)
  994.     /*
  995.      * Could not load %1 device driver.
  996.      */
  997.  
  998. #define NELOG_NoTranportLoaded                    (ERRLOG2_BASE + 28)
  999.     /*
  1000.      * Could not load any transport.
  1001.      */
  1002.  
  1003. //
  1004. // More Netlogon service events
  1005. //
  1006.  
  1007. #define NELOG_NetlogonFailedDomainDelta           (ERRLOG2_BASE + 29)
  1008.     /*
  1009.      * Replication of the %1 Domain Object "%2" from primary domain controller
  1010.      * %3 failed with the following error: %n%4
  1011.      */
  1012.  
  1013. #define NELOG_NetlogonFailedGlobalGroupDelta      (ERRLOG2_BASE + 30)
  1014.     /*
  1015.      * Replication of the %1 Global Group "%2" from primary domain controller
  1016.      * %3 failed with the following error: %n%4
  1017.      */
  1018.  
  1019. #define NELOG_NetlogonFailedLocalGroupDelta       (ERRLOG2_BASE + 31)
  1020.     /*
  1021.      * Replication of the %1 Local Group "%2" from primary domain controller
  1022.      * %3 failed with the following error: %n%4
  1023.      */
  1024.  
  1025. #define NELOG_NetlogonFailedUserDelta             (ERRLOG2_BASE + 32)
  1026.     /*
  1027.      * Replication of the %1 User "%2" from primary domain controller
  1028.      * %3 failed with the following error: %n%4
  1029.      */
  1030.  
  1031. #define NELOG_NetlogonFailedPolicyDelta           (ERRLOG2_BASE + 33)
  1032.     /*
  1033.      * Replication of the %1 Policy Object "%2" from primary domain controller
  1034.      * %3 failed with the following error: %n%4
  1035.      */
  1036.  
  1037. #define NELOG_NetlogonFailedTrustedDomainDelta    (ERRLOG2_BASE + 34)
  1038.     /*
  1039.      * Replication of the %1 Trusted Domain Object "%2" from primary domain controller
  1040.      * %3 failed with the following error: %n%4
  1041.      */
  1042.  
  1043. #define NELOG_NetlogonFailedAccountDelta          (ERRLOG2_BASE + 35)
  1044.     /*
  1045.      * Replication of the %1 Account Object "%2" from primary domain controller
  1046.      * %3 failed with the following error: %n%4
  1047.      */
  1048.  
  1049. #define NELOG_NetlogonFailedSecretDelta           (ERRLOG2_BASE + 36)
  1050.     /*
  1051.      * Replication of the %1 Secret "%2" from primary domain controller
  1052.      * %3 failed with the following error: %n%4
  1053.      */
  1054.  
  1055. #define NELOG_NetlogonSystemError                 (ERRLOG2_BASE + 37)
  1056.     /*
  1057.     * The system returned the following unexpected error code: %n%1
  1058.     */
  1059.  
  1060. #define NELOG_NetlogonDuplicateMachineAccounts    (ERRLOG2_BASE + 38)
  1061.     /*
  1062.     * Netlogon has detected two machine accounts for server "%1".
  1063.     * The server can be either a Windows NT Server that is a member of the
  1064.     * domain or the server can be a LAN Manager server with an account in the
  1065.     * SERVERS global group.  It cannot be both.
  1066.     */
  1067.  
  1068. #define NELOG_NetlogonTooManyGlobalGroups         (ERRLOG2_BASE + 39)
  1069.     /*
  1070.     * This domain has more global groups than can be replicated to a LanMan
  1071.     * BDC.  Either delete some of your global groups or remove the LanMan
  1072.     * BDCs from the domain.
  1073.     */
  1074.  
  1075. #define NELOG_NetlogonBrowserDriver               (ERRLOG2_BASE + 40)
  1076.     /*
  1077.     * The Browser driver returned the following error to Netlogon: %n%1
  1078.     */
  1079.  
  1080. #define NELOG_NetlogonAddNameFailure              (ERRLOG2_BASE + 41)
  1081.     /*
  1082.     * Netlogon could not register the %1<1B> name for the following reason: %n%2
  1083.     */
  1084.  
  1085. //
  1086. //  More Remoteboot service events.
  1087. //
  1088. #define NELOG_RplMessages                         (ERRLOG2_BASE + 42)
  1089.     /*
  1090.     * Service failed to retrieve messages needed to boot remote boot clients.
  1091.     */
  1092.  
  1093. #define NELOG_RplXnsBoot                          (ERRLOG2_BASE + 43)
  1094.     /*
  1095.     * Service experienced a severe error and can no longer provide remote boot
  1096.     * for 3Com 3Start remote boot clients.
  1097.     */
  1098.  
  1099. #define NELOG_RplSystem                           (ERRLOG2_BASE + 44)
  1100.     /*
  1101.     * Service experienced a severe system error and will shut itself down.
  1102.     */
  1103.  
  1104. #define NELOG_RplWkstaTimeout                     (ERRLOG2_BASE + 45)
  1105.     /*
  1106.     * Client with computer name %1 failed to acknowledge receipt of the
  1107.     * boot data.  Remote boot of this client was not completed.
  1108.     */
  1109.  
  1110. #define NELOG_RplWkstaFileOpen                    (ERRLOG2_BASE + 46)
  1111.     /*
  1112.     * Client with computer name %1 was not booted due to an error in opening
  1113.     * file %2.
  1114.     */
  1115.  
  1116. #define NELOG_RplWkstaFileRead                    (ERRLOG2_BASE + 47)
  1117.     /*
  1118.     * Client with computer name %1 was not booted due to an error in reading
  1119.     * file %2.
  1120.     */
  1121.  
  1122. #define NELOG_RplWkstaMemory                      (ERRLOG2_BASE + 48)
  1123.     /*
  1124.     * Client with computer name %1 was not booted due to insufficent memory
  1125.     * at the remote boot server.
  1126.     */
  1127.  
  1128. #define NELOG_RplWkstaFileChecksum                (ERRLOG2_BASE + 49)
  1129.     /*
  1130.     * Client with computer name %1 will be booted without using checksums
  1131.     * because checksum for file %2 could not be calculated.
  1132.     */
  1133.  
  1134. #define NELOG_RplWkstaFileLineCount               (ERRLOG2_BASE + 50)
  1135.     /*
  1136.     * Client with computer name %1 was not booted due to too many lines in
  1137.     * file %2.
  1138.     */
  1139.  
  1140. #define NELOG_RplWkstaBbcFile                     (ERRLOG2_BASE + 51)
  1141.     /*
  1142.     * Client with computer name %1 was not booted because the boot block
  1143.     * configuration file %2 for this client does not contain boot block
  1144.     * line and/or loader line.
  1145.     */
  1146.  
  1147. #define NELOG_RplWkstaFileSize                    (ERRLOG2_BASE + 52)
  1148.     /*
  1149.     * Client with computer name %1 was not booted due to a bad size of
  1150.     * file %2.
  1151.     */
  1152.  
  1153. #define NELOG_RplWkstaInternal                    (ERRLOG2_BASE + 53)
  1154.     /*
  1155.     * Client with computer name %1 was not booted due to remote boot
  1156.     * service internal error.
  1157.     */
  1158.  
  1159. #define NELOG_RplWkstaWrongVersion                (ERRLOG2_BASE + 54)
  1160.     /*
  1161.     * Client with computer name %1 was not booted because file %2 has an
  1162.     * invalid boot header.
  1163.     */
  1164.  
  1165. #define NELOG_RplWkstaNetwork                     (ERRLOG2_BASE + 55)
  1166.     /*
  1167.     * Client with computer name %1 was not booted due to network error.
  1168.     */
  1169.  
  1170. #define NELOG_RplAdapterResource                  (ERRLOG2_BASE + 56)
  1171.     /*
  1172.     * Client with adapter id %1 was not booted due to lack of resources.
  1173.     */
  1174.  
  1175. #define NELOG_RplFileCopy                         (ERRLOG2_BASE + 57)
  1176.     /*
  1177.     * Service experienced error copying file or directory %1.
  1178.     */
  1179.  
  1180. #define NELOG_RplFileDelete                       (ERRLOG2_BASE + 58)
  1181.     /*
  1182.     * Service experienced error deleting file or directory %1.
  1183.     */
  1184.  
  1185. #define NELOG_RplFilePerms                        (ERRLOG2_BASE + 59)
  1186.     /*
  1187.     * Service experienced error setting permissions on file or directory %1.
  1188.     */
  1189. #define NELOG_RplCheckConfigs                     (ERRLOG2_BASE + 60)
  1190.     /*
  1191.     * Service experienced error evaluating RPL configurations.
  1192.     */
  1193. #define NELOG_RplCreateProfiles                   (ERRLOG2_BASE + 61)
  1194.     /*
  1195.     * Service experienced error creating RPL profiles for all configurations.
  1196.     */
  1197. #define NELOG_RplRegistry                         (ERRLOG2_BASE + 62)
  1198.     /*
  1199.     * Service experienced error accessing registry.
  1200.     */
  1201. #define NELOG_RplReplaceRPLDISK                   (ERRLOG2_BASE + 63)
  1202.     /*
  1203.     * Service experienced error replacing possibly outdated RPLDISK.SYS.
  1204.     */
  1205. #define NELOG_RplCheckSecurity                    (ERRLOG2_BASE + 64)
  1206.     /*
  1207.     * Service experienced error adding security accounts or setting
  1208.     * file permissions.  These accounts are the RPLUSER local group
  1209.     * and the user accounts for the individual RPL workstations.
  1210.     */
  1211. #define NELOG_RplBackupDatabase                   (ERRLOG2_BASE + 65)
  1212.     /*
  1213.     * Service failed to back up its database.
  1214.     */
  1215. #define NELOG_RplInitDatabase                     (ERRLOG2_BASE + 66)
  1216.     /*
  1217.     * Service failed to initialize from its database.  The database may be
  1218.     * missing or corrupted.  Service will attempt restoring the database
  1219.     * from the backup.
  1220.     */
  1221. #define NELOG_RplRestoreDatabaseFailure           (ERRLOG2_BASE + 67)
  1222.     /*
  1223.     * Service failed to restore its database from the backup.  Service
  1224.     * will not start.
  1225.     */
  1226. #define NELOG_RplRestoreDatabaseSuccess           (ERRLOG2_BASE + 68)
  1227.     /*
  1228.     * Service sucessfully restored its database from the backup.
  1229.     */
  1230. #define NELOG_RplInitRestoredDatabase             (ERRLOG2_BASE + 69)
  1231.     /*
  1232.     * Service failed to initialize from its restored database.  Service
  1233.     * will not start.
  1234.     */
  1235.  
  1236. //
  1237. // More Netlogon and RPL service events
  1238. //
  1239. #define NELOG_NetlogonSessionTypeWrong            (ERRLOG2_BASE + 70)
  1240.     /*
  1241.      * The session setup to the Windows NT Domain Controller %1 from computer
  1242.      * %2 using account %4 failed.  %2 is declared to be a BDC in domain %3.
  1243.      * However, %2 tried to connect as either a DC in a trusted domain,
  1244.      * a member workstation in domain %3, or as a server in domain %3.
  1245.      * Use the Server Manager to remove the BDC account for %2.
  1246.      */
  1247. #define NELOG_RplUpgradeDBTo40                    (ERRLOG2_BASE + 71)
  1248.     /*
  1249.     * The Remoteboot database was in NT 3.5 / NT 3.51 format and NT is
  1250.     * attempting to convert it to NT 4.0 format. The JETCONV converter
  1251.     * will write to the Application event log when it is finished.
  1252.     */
  1253. #define NELOG_NetlogonLanmanBdcsNotAllowed        (ERRLOG2_BASE + 72)
  1254.     /*
  1255.      * Global group SERVERS exists in domain %1 and has members.
  1256.      * This group defines Lan Manager BDCs in the domain.
  1257.      * Lan Manager BDCs are not permitted in NT domains.
  1258.      */
  1259. #define NELOG_NetlogonNoDynamicDns                (ERRLOG2_BASE + 73)
  1260.     /*
  1261.      * The DNS server for this DC does not support dynamic DNS.
  1262.      * Add the DNS records from the file '%SystemRoot%\System32\Config\netlogon.dns'
  1263.      * to the DNS server serving the domain referenced in that file.
  1264.      */
  1265. #define NELOG_NetlogonDynamicDnsRegisterFailure   (ERRLOG2_BASE + 74)
  1266.     /*
  1267.      * Registration of the DNS name %1 failed with the following error: %n%2
  1268.      */
  1269.  
  1270. #define NELOG_NetlogonDynamicDnsDeregisterFailure (ERRLOG2_BASE + 75)
  1271.     /*
  1272.      * Deregistration of the DNS name %1 failed with the following error: %n%2
  1273.      */
  1274.  
  1275. #define NELOG_NetlogonFailedFileCreate            (ERRLOG2_BASE + 76)
  1276.     /*
  1277.      * Failed to create/open file %1 with the following error: %n%2
  1278.      */
  1279.  
  1280. #define NELOG_NetlogonGetSubnetToSite             (ERRLOG2_BASE + 77)
  1281.     /*
  1282.      * Netlogon got the following error while trying to get the subnet to site
  1283.      * mapping information from the DS: %n%1
  1284.      */
  1285.  
  1286. #define NELOG_NetlogonNoSiteForClient              (ERRLOG2_BASE + 78)
  1287.     /*
  1288.      * '%1' tried to determine its site by looking up its IP address ('%2')
  1289.      * in the Configuration\Sites\Subnets container in the DS.  No subnet matched
  1290.      * the IP address.  Consider adding a subnet object for this IP address.
  1291.      */
  1292.  
  1293. #define NELOG_NetlogonBadSiteName                  (ERRLOG2_BASE + 79)
  1294.     /*
  1295.      * The site name for this computer is '%1'.  That site name is not a valid
  1296.      * site name.  A site name must be a valid DNS label.
  1297.      * Rename the site to be a valid name.
  1298.      */
  1299.  
  1300. #define NELOG_NetlogonBadSubnetName                (ERRLOG2_BASE + 80)
  1301.     /*
  1302.      * The subnet object '%1' appears in the Configuration\Sites\Subnets
  1303.      * container in the DS.  The name is not syntactically valid.  The valid
  1304.      * syntax is xx.xx.xx.xx/yy where xx.xx.xx.xx is a valid IP subnet number
  1305.      * and yy is the number of bits in the subnet mask.
  1306.      *
  1307.      * Correct the name of the subnet object.
  1308.      */
  1309.  
  1310.  
  1311. #ifdef __cplusplus
  1312. }
  1313. #endif
  1314.  
  1315. #endif // _LMERRLOG_
  1316.