Desktop Functions: Smart Device Functions:
|
Search Results for "NERR_" in [All]mpr
NERR_Success = 0,/* Success */
NERR_Success = 0 Constants2: NERR_ advapi32
NERR_Success = 0,
NERR_InvalidComputer = 2351,
NERR_BadPassword = 2203,
NERR_UserNotFound = 2221,
NERR_AccountLockedOut = 2702,
NERR_PasswordTooRecent = 2246,
NERR_PasswordHistConflict = 2244,
NERR_PasswordTooShort = 2245,
NERR_PasswordTooLong = 2703,
NERR_PasswordNotComplexEnough = 2704,
NERR_PasswordFilterError = 2705,
NERR_PasswordMustChange = 2701,
NERR_PasswordExpired = 2242
if (status == NET_API_STATUS.NERR_Success)
if (outputArgs.ValidationStatus == NET_API_STATUS.NERR_Success) Enums
NERR_Success = 0,
NERR_InvalidComputer = 2351,
NERR_NotPrimary = 2226,
NERR_SpeGroupOp = 2234,
NERR_LastAdmin = 2452,
NERR_BadPassword = 2203,
NERR_PasswordTooShort = 2245,
NERR_UserNotFound = 2221,
NERR_Success = 0
NERR_InvalidComputer = 2351
NERR_NotPrimary = 2226
NERR_SpeGroupOp = 2234
NERR_LastAdmin = 2452
NERR_BadPassword = 2203
NERR_PasswordTooShort = 2245
NERR_UserNotFound = 2221 netapi325: NetDfsEnum
/// <returns>If the function succeeds, the return value is NERR_Success. If no more entries are available to be enumerated, the return value is ERROR_NO_MORE_ITEMS. If the function fails, the return value is a system error code</returns> 6: NetDfsRemove
/// <returns>If the function succeeds, the return value is NERR_Success. If the function fails, the return value is a system error code</returns>
''' <returns>If the function succeeds, the return value is NERR_Success. If the function fails, the return value is a system error code</returns> NET_API_STATUS - Possible return values are NERR_Success and ERROR_NOT_ENOUGH_MEMORY
NERR_Success = 0
If status = NET_API_STATUS.NERR_Success Then
case 2123: //NERR_BufTooSmall
case 2351: //NERR_InvalidComputer
case 0: //NERR_Success
private const int NERR_GroupNotFound = 2220;
internal const int NERR_Success = 0x000;
if (result == Win32ErrorCodes.NERR_Success || result == Win32ErrorCodes.MemberInAlias) 11: NetLocalGroupDel
internal const int NERR_Success = 0x000;
if (result == Win32ErrorCodes.NERR_Success || result == Win32ErrorCodes.MemberNotInAlias)
case 2123: //NERR_BufTooSmall
case 2351: //NERR_InvalidComputer
case 0: //NERR_Success
private static readonly int NERR_Success = 0;
private static readonly int NERR_Base = 2100;
private static readonly int NERR_InvalidComputer = NERR_Base + 251;
private static readonly int NERR_BufTooSmall = NERR_Base + 23;
if (res != NERR_Success)
else if(res == NERR_InvalidComputer)
Trace.WriteLine("NERR_InvalidComputer");
else if(res == NERR_BufTooSmall)
Trace.WriteLine("NERR_BufTooSmall");
''' <returns>If the function succeeds, the return value is NERR_Success.
''' NERR_NameNotFound The user name could not be found.
''' NERR_NetworkError A general failure occurred in the network hardware.
const int NERR_Success = 0;
const int NERR_BASE = 2100;
const int NERR_NameNotFound = (NERR_BASE+173); // The message alias could not be found on the network.
const int NERR_NetworkError = (NERR_BASE+36); // A general network error occurred.
if (retVal == NERR_NameNotFound)
Console.WriteLine ("Error: NERR_NameNotFound") ;
else if (retVal == NERR_NetworkError)
Console.WriteLine ("Error: NERR_NetworkError") ;
private const int NERR_TRUE = 1;
private const int NERR_Success = 0; NET_API_STATUS - Possible value are NERR_Success, ERROR_NOT_ENOUGH_MEMORY and ERROR_INVALID_PARAMETER.
If NetRemoteComputerSupports(ComputerName, Wanted, supports) = NET_API_STATUS.NERR_Success Then 16: NetSessionDel
''' <returns>If the function succeeds, the return value is NERR_Success. If the function fails, the return value can be one of the following error codes. ERROR_ACCESS_DENIED-The user does not have access to the requested information. ERROR_INVALID_PARAMETER-The specified parameter is invalid. ERROR_NOT_ENOUGH_MEMORY-Insufficient memory is available. NERR_ClientNameNotFound-A session does not exist with that computer name.</returns> 17: NetSessionEnum
''' <returns>If the function succeeds, the return value is NERR_Success.
''' <item>NERR_ClientNameNotFound - A session does not exist with the computer name. </item>
''' <item>NERR_InvalidComputer - The computer name is invalid. </item>
''' <item>NERR_UserNotFound - The user name could not be found. </item>
NERR_Success = 0,
NERR_BASE = 2100,
NERR_UnknownDevDir = (NERR_BASE + 16),
NERR_DuplicateShare = (NERR_BASE + 18),
NERR_BufTooSmall = (NERR_BASE + 23)
if (res == (int)NERR.ERROR_MORE_DATA || res == (int)NERR.NERR_Success)
If success = NERR.NERR_Success And success <> NERR.ERROR_MORE_DATA Then 18: NetShareAdd
NERR_Success = 0,
NERR_BASE = 2100,
NERR_UnknownDevDir = (NERR_BASE + 16),
NERR_DuplicateShare = (NERR_BASE + 18),
NERR_BufTooSmall = (NERR_BASE + 23),
NERR_Success = 0
NERR_BASE = 2100
NERR_UnknownDevDir = (NERR_BASE + 16)
NERR_RedirectedPath = (NERR_BASE + 17)
NERR_DuplicateShare = (NERR_BASE + 18)
NERR_BufTooSmall = (NERR_BASE + 23) 19: NetShareCheck
NERR_Success = 0,
NERR_DeviceNotShared = 2311,
case NetError.NERR_Success: exists = true; 20: NetShareEnum
const int NERR_Success = 0;
If retval = NERR_Success And retval <> ERROR_MORE_DATA Then
if (ret == NERR_Success)
const int NERR_Success = 0;
NERR_Success = 0,
NERR_BASE = 2100,
NERR_UnknownDevDir = (NERR_BASE + 16),
NERR_DuplicateShare = (NERR_BASE + 18),
NERR_BufTooSmall = (NERR_BASE + 23),
if (ret == NERR_Success)
Const NERR_Success As Long = 0&
Const NERR_BASE As Long = 2100&
Const NERR_NetNotStarted As Long = 2102& ' Device driver not installed.
Const NERR_RemoteOnly As Long = 2106& ' This operation can be performed only on a server.
Const NERR_ServerNotStarted As Long = 2114& ' Server service not installed.
Const NERR_BufTooSmall As Long = 2123& ' Buffer too small for fixed-length data.
Const NERR_RemoteErr As Long = 2127& ' Error encountered while remotely. executing function
Const NERR_WkstaNotStarted As Long = 2138& ' The Workstation service is not started.
Const NERR_BadTransactConfig As Long = 2141& ' The server is not configured for this transaction; IPC$ is not shared.
Const NERR_NetNameNotFound As Long = (NERR_BASE + 210) ' Sharename not found.
Const NERR_InvalidComputer As Long = 2351& ' Invalid computername specified. 21: NetShareGetInfo
Const NERR_Success As Long = 0&
Const NERR_BASE As Long = 2100&
Const NERR_NetNotStarted As Long = 2102& ' Device driver not installed.
Const NERR_RemoteOnly As Long = 2106& ' This operation can be performed only on a server.
Const NERR_ServerNotStarted As Long = 2114& ' Server service not installed.
Const NERR_BufTooSmall As Long = 2123& ' Buffer too small for fixed-length data.
Const NERR_RemoteErr As Long = 2127& ' Error encountered while remotely. executing function
Const NERR_WkstaNotStarted As Long = 2138& ' The Workstation service is not started.
Const NERR_BadTransactConfig As Long = 2141& ' The server is not configured for this transaction; IPC$ is not shared.
Const NERR_NetNameNotFound As Long = (NERR_BASE + 210) ' Sharename not found.
Const NERR_InvalidComputer As Long = 2351& ' Invalid computername specified.
If Result = NERR_Success Then
Case NERR_NetNotStarted
Throw New Exception("NetShareGetInfo: NERR_NetNotStarted -> Device driver not installed.")
Case NERR_RemoteOnly
Throw New Exception("NetShareGetInfo: NERR_RemoteOnly -> This operation can be performed only on a server.")
Case NERR_ServerNotStarted
Throw New Exception("NetShareGetInfo: NERR_ServerNotStarted -> Server service not installed.")
Case NERR_BufTooSmall
Throw New Exception("NetShareGetInfo: NERR_BufTooSmall -> Buffer too small for fixed-length data.")
Case NERR_RemoteErr
Throw New Exception("NetShareGetInfo: NERR_RemoteErr -> Error encountered while remotely executing function")
Case NERR_WkstaNotStarted
Throw New Exception("NetShareGetInfo: NERR_WkstaNotStarted -> The Workstation service is not started.")
Case NERR_BadTransactConfig
Throw New Exception("NetShareGetInfo: NERR_BadTransactConfig -> The server is not configured for this transaction; IPC$ is not shared.")
Case NERR_NetNameNotFound
Throw New Exception("NetShareGetInfo: NERR_NetNameNotFound -> Sharename not found.")
Case NERR_InvalidComputer
Throw New Exception("NetShareGetInfo: NERR_InvalidComputer -> Invalid computername specified.")
case NERR_BufTooSmall: return "The supplied buffer is too small.";
case NERR_NetNameNotFound: return "The share name does not exist.";
if (errCode == NERR_Success)
const int NERR_BufTooSmall = 2123; // The API return buffer is too small.
const int NERR_NetNameNotFound = 2310; // This shared resource does not exist.
const int NERR_Success = 0; 22: NetUserEnum
const int NERR_Success = 0; /* Success */
const int NERR_BASE = 2100;
const int NERR_InvalidComputer = (NERR_BASE+251); /* This computer name is invalid. */ 23: NetWkstaUserEnum
const int NERR_SUCCESS = 0;
if ((nStatus == NERR_SUCCESS) | (nStatus == ERROR_MORE_DATA)) |