1 /**
2  * Windows API header module
3  *
4  * Translated from MinGW Windows headers
5  *
6  * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
7  * Source: $(DRUNTIMESRC core/sys/windows/_lmerr.d)
8  */
9 /// Automatically imported and edited from the druntime module
10 /// core.sys.windows.lmerr for the auto-generated win32 package.
11 module win32.lmerr;
12 //version (Windows):
13 @system:
14 
15 import win32.winerror;
16 
17 enum {
18     NERR_Success                      = 0,
19     NERR_BASE                         = 2100,
20     NERR_NetNotStarted                = NERR_BASE + 2,
21     NERR_UnknownServer,
22     NERR_ShareMem,
23     NERR_NoNetworkResource,
24     NERR_RemoteOnly,
25     NERR_DevNotRedirected,
26     NERR_ServerNotStarted             = NERR_BASE + 14,
27     NERR_ItemNotFound,
28     NERR_UnknownDevDir,
29     NERR_RedirectedPath,
30     NERR_DuplicateShare,
31     NERR_NoRoom,
32     NERR_TooManyItems                 = NERR_BASE + 21,
33     NERR_InvalidMaxUsers,
34     NERR_BufTooSmall,
35     NERR_RemoteErr                    = NERR_BASE + 27,
36     NERR_LanmanIniError               = NERR_BASE + 31,
37     NERR_NetworkError                 = NERR_BASE + 36,
38     NERR_WkstaInconsistentState,
39     NERR_WkstaNotStarted,
40     NERR_BrowserNotStarted,
41     NERR_InternalError,
42     NERR_BadTransactConfig,
43     NERR_InvalidAPI,
44     NERR_BadEventName,
45     NERR_DupNameReboot,
46     NERR_CfgCompNotFound              = NERR_BASE + 46,
47     NERR_CfgParamNotFound,
48     NERR_LineTooLong                  = NERR_BASE + 49,
49     NERR_QNotFound,
50     NERR_JobNotFound,
51     NERR_DestNotFound,
52     NERR_DestExists,
53     NERR_QExists,
54     NERR_QNoRoom,
55     NERR_JobNoRoom,
56     NERR_DestNoRoom,
57     NERR_DestIdle,
58     NERR_DestInvalidOp,
59     NERR_ProcNoRespond,
60     NERR_SpoolerNotLoaded,
61     NERR_DestInvalidState,
62     NERR_QInvalidState,
63     NERR_JobInvalidState,
64     NERR_SpoolNoMemory,
65     NERR_DriverNotFound,
66     NERR_DataTypeInvalid,
67     NERR_ProcNotFound,
68     NERR_ServiceTableLocked           = NERR_BASE + 80,
69     NERR_ServiceTableFull,
70     NERR_ServiceInstalled,
71     NERR_ServiceEntryLocked,
72     NERR_ServiceNotInstalled,
73     NERR_BadServiceName,
74     NERR_ServiceCtlTimeout,
75     NERR_ServiceCtlBusy,
76     NERR_BadServiceProgName,
77     NERR_ServiceNotCtrl,
78     NERR_ServiceKillProc,
79     NERR_ServiceCtlNotValid,
80     NERR_NotInDispatchTbl,
81     NERR_BadControlRecv,
82     NERR_ServiceNotStarting,
83     NERR_AlreadyLoggedOn              = NERR_BASE + 100,
84     NERR_NotLoggedOn,
85     NERR_BadUsername,
86     NERR_BadPassword,
87     NERR_UnableToAddName_W,
88     NERR_UnableToAddName_F,
89     NERR_UnableToDelName_W,
90     NERR_UnableToDelName_F,
91     NERR_LogonsPaused                 = NERR_BASE + 109,
92     NERR_LogonServerConflict,
93     NERR_LogonNoUserPath,
94     NERR_LogonScriptError,
95     NERR_StandaloneLogon              = NERR_BASE + 114,
96     NERR_LogonServerNotFound,
97     NERR_LogonDomainExists,
98     NERR_NonValidatedLogon,
99     NERR_ACFNotFound                  = NERR_BASE + 119,
100     NERR_GroupNotFound,
101     NERR_UserNotFound,
102     NERR_ResourceNotFound,
103     NERR_GroupExists,
104     NERR_UserExists,
105     NERR_ResourceExists,
106     NERR_NotPrimary,
107     NERR_ACFNotLoaded,
108     NERR_ACFNoRoom,
109     NERR_ACFFileIOFail,
110     NERR_ACFTooManyLists,
111     NERR_UserLogon,
112     NERR_ACFNoParent,
113     NERR_CanNotGrowSegment,
114     NERR_SpeGroupOp,
115     NERR_NotInCache,
116     NERR_UserInGroup,
117     NERR_UserNotInGroup,
118     NERR_AccountUndefined,
119     NERR_AccountExpired,
120     NERR_InvalidWorkstation,
121     NERR_InvalidLogonHours,
122     NERR_PasswordExpired,
123     NERR_PasswordCantChange,
124     NERR_PasswordHistConflict,
125     NERR_PasswordTooShort,
126     NERR_PasswordTooRecent,
127     NERR_InvalidDatabase,
128     NERR_DatabaseUpToDate,
129     NERR_SyncRequired,
130     NERR_UseNotFound,
131     NERR_BadAsgType,
132     NERR_DeviceIsShared,
133     NERR_NoComputerName               = NERR_BASE + 170,
134     NERR_MsgAlreadyStarted,
135     NERR_MsgInitFailed,
136     NERR_NameNotFound,
137     NERR_AlreadyForwarded,
138     NERR_AddForwarded,
139     NERR_AlreadyExists,
140     NERR_TooManyNames,
141     NERR_DelComputerName,
142     NERR_LocalForward,
143     NERR_GrpMsgProcessor,
144     NERR_PausedRemote,
145     NERR_BadReceive,
146     NERR_NameInUse,
147     NERR_MsgNotStarted,
148     NERR_NotLocalName,
149     NERR_NoForwardName,
150     NERR_RemoteFull,
151     NERR_NameNotForwarded,
152     NERR_TruncatedBroadcast,
153     NERR_InvalidDevice                = NERR_BASE + 194,
154     NERR_WriteFault,
155     NERR_DuplicateName                = NERR_BASE + 197,
156     NERR_DeleteLater,
157     NERR_IncompleteDel,
158     NERR_MultipleNets,
159     NERR_NetNameNotFound              = NERR_BASE + 210,
160     NERR_DeviceNotShared,
161     NERR_ClientNameNotFound,
162     NERR_FileIdNotFound               = NERR_BASE + 214,
163     NERR_ExecFailure,
164     NERR_TmpFile,
165     NERR_TooMuchData,
166     NERR_DeviceShareConflict,
167     NERR_BrowserTableIncomplete,
168     NERR_NotLocalDomain,
169     NERR_DevInvalidOpCode             = NERR_BASE + 231,
170     NERR_DevNotFound,
171     NERR_DevNotOpen,
172     NERR_BadQueueDevString,
173     NERR_BadQueuePriority,
174     NERR_NoCommDevs                   = NERR_BASE + 237,
175     NERR_QueueNotFound,
176     NERR_BadDevString                 = NERR_BASE + 240,
177     NERR_BadDev,
178     NERR_InUseBySpooler,
179     NERR_CommDevInUse,
180     NERR_InvalidComputer              = NERR_BASE + 251,
181     NERR_MaxLenExceeded               = NERR_BASE + 254,
182     NERR_BadComponent                 = NERR_BASE + 256,
183     NERR_CantType,
184     NERR_TooManyEntries               = NERR_BASE + 262,
185     NERR_ProfileFileTooBig            = NERR_BASE + 270,
186     NERR_ProfileOffset,
187     NERR_ProfileCleanup,
188     NERR_ProfileUnknownCmd,
189     NERR_ProfileLoadErr,
190     NERR_ProfileSaveErr,
191     NERR_LogOverflow                  = NERR_BASE + 277,
192     NERR_LogFileChanged,
193     NERR_LogFileCorrupt,
194     NERR_SourceIsDir,
195     NERR_BadSource,
196     NERR_BadDest,
197     NERR_DifferentServers,
198     NERR_RunSrvPaused                 = NERR_BASE + 285,
199     NERR_ErrCommRunSrv                = NERR_BASE + 289,
200     NERR_ErrorExecingGhost            = NERR_BASE + 291,
201     NERR_ShareNotFound,
202     NERR_InvalidLana                  = NERR_BASE + 300,
203     NERR_OpenFiles,
204     NERR_ActiveConns,
205     NERR_BadPasswordCore,
206     NERR_DevInUse,
207     NERR_LocalDrive,
208     NERR_AlertExists                  = NERR_BASE + 330,
209     NERR_TooManyAlerts,
210     NERR_NoSuchAlert,
211     NERR_BadRecipient,
212     NERR_AcctLimitExceeded,
213     NERR_InvalidLogSeek               = NERR_BASE + 340,
214     NERR_BadUasConfig                 = NERR_BASE + 350,
215     NERR_InvalidUASOp,
216     NERR_LastAdmin,
217     NERR_DCNotFound,
218     NERR_LogonTrackingError,
219     NERR_NetlogonNotStarted,
220     NERR_CanNotGrowUASFile,
221     NERR_TimeDiffAtDC,
222     NERR_PasswordMismatch,
223     NERR_NoSuchServer                 = NERR_BASE + 360,
224     NERR_NoSuchSession,
225     NERR_NoSuchConnection,
226     NERR_TooManyServers,
227     NERR_TooManySessions,
228     NERR_TooManyConnections,
229     NERR_TooManyFiles,
230     NERR_NoAlternateServers,
231     NERR_TryDownLevel                 = NERR_BASE + 370,
232     NERR_UPSDriverNotStarted          = NERR_BASE + 380,
233     NERR_UPSInvalidConfig,
234     NERR_UPSInvalidCommPort,
235     NERR_UPSSignalAsserted,
236     NERR_UPSShutdownFailed,
237     NERR_BadDosRetCode                = NERR_BASE + 400,
238     NERR_ProgNeedsExtraMem,
239     NERR_BadDosFunction,
240     NERR_RemoteBootFailed,
241     NERR_BadFileCheckSum,
242     NERR_NoRplBootSystem,
243     NERR_RplLoadrNetBiosErr,
244     NERR_RplLoadrDiskErr,
245     NERR_ImageParamErr,
246     NERR_TooManyImageParams,
247     NERR_NonDosFloppyUsed,
248     NERR_RplBootRestart,
249     NERR_RplSrvrCallFailed,
250     NERR_CantConnectRplSrvr,
251     NERR_CantOpenImageFile,
252     NERR_CallingRplSrvr,
253     NERR_StartingRplBoot,
254     NERR_RplBootServiceTerm,
255     NERR_RplBootStartFailed,
256     NERR_RPL_CONNECTED,
257     NERR_BrowserConfiguredToNotRun    = NERR_BASE + 450,
258     NERR_RplNoAdaptersStarted         = NERR_BASE + 510,
259     NERR_RplBadRegistry,
260     NERR_RplBadDatabase,
261     NERR_RplRplfilesShare,
262     NERR_RplNotRplServer,
263     NERR_RplCannotEnum,
264     NERR_RplWkstaInfoCorrupted,
265     NERR_RplWkstaNotFound,
266     NERR_RplWkstaNameUnavailable,
267     NERR_RplProfileInfoCorrupted,
268     NERR_RplProfileNotFound,
269     NERR_RplProfileNameUnavailable,
270     NERR_RplProfileNotEmpty,
271     NERR_RplConfigInfoCorrupted,
272     NERR_RplConfigNotFound,
273     NERR_RplAdapterInfoCorrupted,
274     NERR_RplInternal,
275     NERR_RplVendorInfoCorrupted,
276     NERR_RplBootInfoCorrupted,
277     NERR_RplWkstaNeedsUserAcct,
278     NERR_RplNeedsRPLUSERAcct,
279     NERR_RplBootNotFound,
280     NERR_RplIncompatibleProfile,
281     NERR_RplAdapterNameUnavailable,
282     NERR_RplConfigNotEmpty,
283     NERR_RplBootInUse,
284     NERR_RplBackupDatabase,
285     NERR_RplAdapterNotFound,
286     NERR_RplVendorNotFound,
287     NERR_RplVendorNameUnavailable,
288     NERR_RplBootNameUnavailable,
289     NERR_RplConfigNameUnavailable,
290     NERR_DfsInternalCorruption        = NERR_BASE + 560,
291     NERR_DfsVolumeDataCorrupt,
292     NERR_DfsNoSuchVolume,
293     NERR_DfsVolumeAlreadyExists,
294     NERR_DfsAlreadyShared,
295     NERR_DfsNoSuchShare,
296     NERR_DfsNotALeafVolume,
297     NERR_DfsLeafVolume,
298     NERR_DfsVolumeHasMultipleServers,
299     NERR_DfsCantCreateJunctionPoint,
300     NERR_DfsServerNotDfsAware,
301     NERR_DfsBadRenamePath,
302     NERR_DfsVolumeIsOffline,
303     NERR_DfsNoSuchServer,
304     NERR_DfsCyclicalName,
305     NERR_DfsNotSupportedInServerDfs,
306     NERR_DfsDuplicateService,
307     NERR_DfsCantRemoveLastServerShare,
308     NERR_DfsVolumeIsInterDfs,
309     NERR_DfsInconsistent,
310     NERR_DfsServerUpgraded,
311     NERR_DfsDataIsIdentical,
312     NERR_DfsCantRemoveDfsRoot,
313     NERR_DfsChildOrParentInDfs,
314     NERR_DfsInternalError             = NERR_BASE + 590,
315     MAX_NERR                          = NERR_BASE + 899
316 }