comparison win32/lmerr.d @ 1:4a9dcbd9e54f

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