📄 lm.pas
字号:
// FTADMIN API error codes
// NERR_BASE + (425-434)
// (Currently not used in NT);
// Browser service API error codes
// NERR_BASE + (450-475)
{$EXTERNALSYM NERR_BrowserConfiguredToNotRun}
NERR_BrowserConfiguredToNotRun = (NERR_BASE+450);
// The browser service was configured with MaintainServerList=No.
// Additional Remoteboot error codes.
// NERR_BASE + (510-550);
{$EXTERNALSYM NERR_RplNoAdaptersStarted}
NERR_RplNoAdaptersStarted = (NERR_BASE+510);
//Service failed to start since none of the network adapters started with this service.
{$EXTERNALSYM NERR_RplBadRegistry}
NERR_RplBadRegistry = (NERR_BASE+511);
//Service failed to start due to bad startup information in the registry.
{$EXTERNALSYM NERR_RplBadDatabase}
NERR_RplBadDatabase = (NERR_BASE+512);
//Service failed to start because its database is absent or corrupt.
{$EXTERNALSYM NERR_RplRplfilesShare}
NERR_RplRplfilesShare = (NERR_BASE+513);
//Service failed to start because RPLFILES share is absent.
{$EXTERNALSYM NERR_RplNotRplServer}
NERR_RplNotRplServer = (NERR_BASE+514);
//Service failed to start because RPLUSER group is absent.
{$EXTERNALSYM NERR_RplCannotEnum}
NERR_RplCannotEnum = (NERR_BASE+515);
//Cannot enumerate service records.
{$EXTERNALSYM NERR_RplWkstaInfoCorrupted}
NERR_RplWkstaInfoCorrupted = (NERR_BASE+516);
//Workstation record information has been corrupted.
{$EXTERNALSYM NERR_RplWkstaNotFound}
NERR_RplWkstaNotFound = (NERR_BASE+517);
//Workstation record was not found.
{$EXTERNALSYM NERR_RplWkstaNameUnavailable}
NERR_RplWkstaNameUnavailable = (NERR_BASE+518);
//Workstation name is in use by some other workstation.
{$EXTERNALSYM NERR_RplProfileInfoCorrupted}
NERR_RplProfileInfoCorrupted = (NERR_BASE+519);
//Profile record information has been corrupted.
{$EXTERNALSYM NERR_RplProfileNotFound}
NERR_RplProfileNotFound = (NERR_BASE+520);
//Profile record was not found.
{$EXTERNALSYM NERR_RplProfileNameUnavailable}
NERR_RplProfileNameUnavailable = (NERR_BASE+521);
//Profile name is in use by some other profile.
{$EXTERNALSYM NERR_RplProfileNotEmpty}
NERR_RplProfileNotEmpty = (NERR_BASE+522);
//There are workstations using this profile.
{$EXTERNALSYM NERR_RplConfigInfoCorrupted}
NERR_RplConfigInfoCorrupted = (NERR_BASE+523);
//Configuration record information has been corrupted.
{$EXTERNALSYM NERR_RplConfigNotFound}
NERR_RplConfigNotFound = (NERR_BASE+524);
//Configuration record was not found.
{$EXTERNALSYM NERR_RplAdapterInfoCorrupted}
NERR_RplAdapterInfoCorrupted = (NERR_BASE+525);
//Adapter id record information has been corrupted.
{$EXTERNALSYM NERR_RplInternal}
NERR_RplInternal = (NERR_BASE+526);
//An internal service error has occurred.
{$EXTERNALSYM NERR_RplVendorInfoCorrupted}
NERR_RplVendorInfoCorrupted = (NERR_BASE+527);
//Vendor id record information has been corrupted.
{$EXTERNALSYM NERR_RplBootInfoCorrupted}
NERR_RplBootInfoCorrupted = (NERR_BASE+528);
//Boot block record information has been corrupted.
{$EXTERNALSYM NERR_RplWkstaNeedsUserAcct}
NERR_RplWkstaNeedsUserAcct = (NERR_BASE+529);
//The user account for this workstation record is missing.
{$EXTERNALSYM NERR_RplNeedsRPLUSERAcct}
NERR_RplNeedsRPLUSERAcct = (NERR_BASE+530);
//The RPLUSER local group could not be found.
{$EXTERNALSYM NERR_RplBootNotFound}
NERR_RplBootNotFound = (NERR_BASE+531);
//Boot block record was not found.
{$EXTERNALSYM NERR_RplIncompatibleProfile}
NERR_RplIncompatibleProfile = (NERR_BASE+532);
//Chosen profile is incompatible with this workstation.
{$EXTERNALSYM NERR_RplAdapterNameUnavailable}
NERR_RplAdapterNameUnavailable = (NERR_BASE+533);
//Chosen network adapter id is in use by some other workstation.
{$EXTERNALSYM NERR_RplConfigNotEmpty}
NERR_RplConfigNotEmpty = (NERR_BASE+534);
//There are profiles using this configuration.
{$EXTERNALSYM NERR_RplBootInUse}
NERR_RplBootInUse = (NERR_BASE+535);
//There are workstations, profiles or configurations using this boot block.
{$EXTERNALSYM NERR_RplBackupDatabase}
NERR_RplBackupDatabase = (NERR_BASE+536);
//Service failed to backup Remoteboot database.
{$EXTERNALSYM NERR_RplAdapterNotFound}
NERR_RplAdapterNotFound = (NERR_BASE+537);
//Adapter record was not found.
{$EXTERNALSYM NERR_RplVendorNotFound}
NERR_RplVendorNotFound = (NERR_BASE+538);
//Vendor record was not found.
{$EXTERNALSYM NERR_RplVendorNameUnavailable}
NERR_RplVendorNameUnavailable = (NERR_BASE+539);
//Vendor name is in use by some other vendor record.
{$EXTERNALSYM NERR_RplBootNameUnavailable}
NERR_RplBootNameUnavailable = (NERR_BASE+540);
//(boot name, vendor id); is in use by some other boot block record.
{$EXTERNALSYM NERR_RplConfigNameUnavailable}
NERR_RplConfigNameUnavailable = (NERR_BASE+541);
//Configuration name is in use by some other configuration.
// **INTERNAL_ONLY**
// Dfs API error codes.
// NERR_BASE + (560-590);
{$EXTERNALSYM NERR_DfsInternalCorruption}
NERR_DfsInternalCorruption = (NERR_BASE+560);
//The internal database maintained by the Dfs service is corrupt
{$EXTERNALSYM NERR_DfsVolumeDataCorrupt}
NERR_DfsVolumeDataCorrupt = (NERR_BASE+561);
//One of the records in the internal Dfs database is corrupt
{$EXTERNALSYM NERR_DfsNoSuchVolume}
NERR_DfsNoSuchVolume = (NERR_BASE+562);
//There is no volume whose entry path matches the input Entry Path
{$EXTERNALSYM NERR_DfsVolumeAlreadyExists}
NERR_DfsVolumeAlreadyExists = (NERR_BASE+563);
//A volume with the given name already exists
{$EXTERNALSYM NERR_DfsAlreadyShared}
NERR_DfsAlreadyShared = (NERR_BASE+564);
//The server share specified is already shared in the Dfs
{$EXTERNALSYM NERR_DfsNoSuchShare}
NERR_DfsNoSuchShare = (NERR_BASE+565);
//The indicated server share does not support the indicated Dfs volume
{$EXTERNALSYM NERR_DfsNotALeafVolume}
NERR_DfsNotALeafVolume = (NERR_BASE+566);
//The operation is not valid on a non-leaf volume
{$EXTERNALSYM NERR_DfsLeafVolume}
NERR_DfsLeafVolume = (NERR_BASE+567);
//The operation is not valid on a leaf volume
{$EXTERNALSYM NERR_DfsVolumeHasMultipleServers}
NERR_DfsVolumeHasMultipleServers = (NERR_BASE+568);
//The operation is ambiguous because the volume has multiple servers
{$EXTERNALSYM NERR_DfsCantCreateJunctionPoint}
NERR_DfsCantCreateJunctionPoint = (NERR_BASE+569);
//Unable to create a junction point
{$EXTERNALSYM NERR_DfsServerNotDfsAware}
NERR_DfsServerNotDfsAware = (NERR_BASE+570);
//The server is not Dfs Aware
{$EXTERNALSYM NERR_DfsBadRenamePath}
NERR_DfsBadRenamePath = (NERR_BASE+571);
//The specified rename target path is invalid
{$EXTERNALSYM NERR_DfsVolumeIsOffline}
NERR_DfsVolumeIsOffline = (NERR_BASE+572);
//The specified Dfs volume is offline
{$EXTERNALSYM NERR_DfsNoSuchServer}
NERR_DfsNoSuchServer = (NERR_BASE+573);
//The specified server is not a server for this volume
{$EXTERNALSYM NERR_DfsCyclicalName}
NERR_DfsCyclicalName = (NERR_BASE+574);
//A cycle in the Dfs name was detected
{$EXTERNALSYM NERR_DfsNotSupportedInServerDfs}
NERR_DfsNotSupportedInServerDfs = (NERR_BASE+575);
//The operation is not supported on a server-based Dfs
{$EXTERNALSYM NERR_DfsDuplicateService}
NERR_DfsDuplicateService = (NERR_BASE+576);
//This volume is already supported by the specified server-share
{$EXTERNALSYM NERR_DfsCantRemoveLastServerShare}
NERR_DfsCantRemoveLastServerShare = (NERR_BASE+577);
//Can't remove the last server-share supporting this volume
{$EXTERNALSYM NERR_DfsVolumeIsInterDfs}
NERR_DfsVolumeIsInterDfs = (NERR_BASE+578);
//The operation is not supported for an Inter-Dfs volume
{$EXTERNALSYM NERR_DfsInconsistent}
NERR_DfsInconsistent = (NERR_BASE+579);
//The internal state of the Dfs Service has become inconsistent
{$EXTERNALSYM NERR_DfsServerUpgraded}
NERR_DfsServerUpgraded = (NERR_BASE+580);
//The Dfs Service has been installed on the specified server
{$EXTERNALSYM NERR_DfsDataIsIdentical}
NERR_DfsDataIsIdentical = (NERR_BASE+581);
//The Dfs data being reconciled is identical
{$EXTERNALSYM NERR_DfsCantRemoveDfsRoot}
NERR_DfsCantRemoveDfsRoot = (NERR_BASE+582);
//The Dfs root volume cannot be deleted - Uninstall Dfs if required
{$EXTERNALSYM NERR_DfsChildOrParentInDfs}
NERR_DfsChildOrParentInDfs = (NERR_BASE+583);
//A child or parent directory of the share is already in a Dfs
{$EXTERNALSYM NERR_DfsInternalError}
NERR_DfsInternalError = (NERR_BASE+590);
//Dfs internal error
// Net setup error codes.
// NERR_BASE + (591-600);
{$EXTERNALSYM NERR_SetupAlreadyJoined}
NERR_SetupAlreadyJoined = (NERR_BASE+591);
//This machine is already joined to a domain.
{$EXTERNALSYM NERR_SetupNotJoined}
NERR_SetupNotJoined = (NERR_BASE+592);
//This machine is not currently joined to a domain.
{$EXTERNALSYM NERR_SetupDomainController}
NERR_SetupDomainController = (NERR_BASE+593);
//This machine is a domain controller and cannot be unjoined from a domain.
{$EXTERNALSYM NERR_DefaultJoinRequired}
NERR_DefaultJoinRequired = (NERR_BASE+594);
//*The destination domain controller does not support creating machine accounts in OUs.
{$EXTERNALSYM NERR_InvalidWorkgroupName}
NERR_InvalidWorkgroupName = (NERR_BASE+595);
//*The specified workgroup name is invalid
{$EXTERNALSYM NERR_NameUsesIncompatibleCodePage}
NERR_NameUsesIncompatibleCodePage = (NERR_BASE+596);
//*The specified computer name is incompatible with the default language used on the domain controller.
{$EXTERNALSYM NERR_ComputerAccountNotFound}
NERR_ComputerAccountNotFound = (NERR_BASE+597);
//*The specified computer account could not be found.
// ***********WARNING ****************
// *The range 2750-2799 has been *
// *allocated to the IBM LAN Server *
// ***********************************
// ***********WARNING ****************
// *The range 2900-2999 has been *
// *reserved for Microsoft OEMs *
// ***********************************
// **END_INTERNAL**
{$EXTERNALSYM MAX_NERR}
MAX_NERR = (NERR_BASE+899);
// This is the last error in NERR range.
// Translated from LMCONS.H
// String Lengths for various LanMan names
const
{$EXTERNALSYM CNLEN}
CNLEN = 15; // Computer name length
{$EXTERNALSYM LM20_CNLEN}
LM20_CNLEN = 15; // LM 2.0 Computer name length
{$EXTERNALSYM DNLEN}
DNLEN = CNLEN; // Maximum domain name length
{$EXTERNALSYM LM20_DNLEN}
LM20_DNLEN = LM20_CNLEN; // LM 2.0 Maximum domain name length
{$EXTERNALSYM UNCLEN}
UNCLEN = (CNLEN+2); // UNC computer name length
{$EXTERNALSYM LM20_UNCLEN}
LM20_UNCLEN = (LM20_CNLEN+2); // LM 2.0 UNC computer name length
{$EXTERNALSYM NNLEN}
NNLEN = 80; // Net name length (share name)
{$EXTERNALSYM LM20_NNLEN}
LM20_NNLEN = 12; // LM 2.0 Net name length
{$EXTERNALSYM RMLEN}
RMLEN = (UNCLEN+1+NNLEN); // Max remote name length
{$EXTERNALSYM LM20_RMLEN}
LM20_RMLEN = (LM20_UNCLEN+1+LM20_NNLEN); // LM 2.0 Max remote name length
{$EXTERNALSYM SNLEN}
SNLEN = 80; // Service name length
{$EXTERNALSYM LM20_SNLEN}
LM20_SNLEN = 15; // LM 2.0 Service name length
{$EXTERNALSYM STXTLEN}
STXTLEN = 256; // Service text length
{$EXTERNALSYM LM20_STXTLEN}
LM20_STXTLEN = 63; // LM 2.0 Service text length
{$EXTERNALSYM PATHLEN}
PATHLEN = 256; // Max. path (not including drive name)
{$EXTERNALSYM LM20_PATHLEN}
LM20_PATHLEN = 256; // LM 2.0 Max. path
{$EXTERNALSYM DEVLEN}
DEVLEN = 80; // Device name length
{$EXTERNALSYM LM20_DEVLEN}
LM20_DEVLEN = 8; // LM 2.0 Device name length
{$EXTERNALSYM EVLEN}
EVLEN = 16; // Event name length
// User, Group and Password lengths
{$EXTERNALSYM UNLEN}
UNLEN = 256; // Maximum user name length
{$EXTERNALSYM LM20_UNLEN}
LM20_UNLEN = 20; // LM 2.0 Maximum user name length
{$EXTERNALSYM GNLEN}
GNLEN = UNLEN; // Group name
{$EXTERNALSYM LM20_GNLEN}
LM20_GNLEN = LM20_UNLEN; // LM 2.0 Group name
{$EXTERNALSYM PWLEN}
PWLEN = 256; // Maximum password length
{$EXTERNALSYM LM20_PWLEN}
LM20_PWLEN = 14; // LM 2.0 Maximum password length
{$EXTERNALSYM SHPWLEN}
SHPWLEN = 8; // Share password length (bytes)
{$EXTERNALSYM CLTYPE_LEN}
CLTYPE_LEN = 12; // Length of client type string
{$EXTERNALSYM MAXCOMMENTSZ}
MAXCOMMENTSZ = 256; // Multipurpose comment length
{$EXTERNALSYM LM20_MAXCOMMENTSZ}
LM20_MAXCOMMENTSZ = 48; // LM 2.0 Multipurpose comment length
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -