Win32API Call error number and information (7000-7999)

Source: Internet
Author: User

Author: Water as smoke

Namespace LzmTW.uSystem.uWindows.Win32API
Friend Class ErrCollection07
Private Collection as New Dictionary (of Integer, String)

Private Shared Loader as ErrCollection07
Private Shared Ginternalsyncobject as Object

Private Sub New ()
With Collection
. ADD (7001, "The specified session name is invalid")
. ADD (7002, "The specified protocol driver is invalid")
. ADD (7003, "The specified protocol driver cannot be found on the system path")
. ADD (7004, "The specified terminal connection cannot be found on the system path")
. ADD (7005, "Cannot create an event log registration key for this session")
. ADD (7006, "a service with the same name already exists on the system")
. ADD (7007, "on session last shutdown pending")
. ADD (7008, "No output buffers available")
. ADD (7009, "The MODEM is not found.") INF file ")
. ADD (7010, "in MODEM.") The modem name is not found in the INF ")
. ADD (7011, "The modem did not accept the instructions sent to it.") Verify that the configured modem matches the connected modem ")
. ADD (7012, "The modem did not accept the instructions sent to it.") Verify that the modem is wired correctly and that the power switch is turned on ")
. ADD (7013, "vehicle detection failed or due to disconnect, the delivery vehicle has been discarded")
. ADD (7014, "no dial tone found in the requested time.") Make sure the phone line is connected properly and available ")
. ADD (7015, "a busy signal was detected at the remote site callback")
. ADD (7016, "sound detected on remote site at callback")
. ADD (7017, "Transport driver error")
. ADD (7022, "Unable to find the specified session")
. ADD (7023, "The specified session name is already in use")
. ADD (7024, "cannot complete the requested operation because the terminal connection is currently busy processing a connection, disconnect, reset, or delete operation")
. ADD (7025, "attempting to connect to a session whose video mode is not supported by the current customer")
. ADD (7035, "The application tries to start the DOS graphics mode.) DOS graphics mode not supported)
. ADD (7037, "Your interactive logon permission has been disabled.) Please contact your administrator ")
. ADD (7038, "the requested operation can only be performed on the system console.") This is usually the result of a driver or system DLL requiring direct console access ")
. ADD (7040, "Customer failed to respond to server connection message")
. ADD (7041, "Disconnect console session not supported")
. ADD (7042, "Do not support reconnecting a disconnected session to the console")
. ADD (7044, "request to remotely control another session is denied")
. ADD (7045, "Deny requested session access")
. ADD (7049, "Specified terminal connection driver is invalid")
. ADD (7050, "cannot remotely control the requested session.) This may be because the session was interrupted or no user is currently logged in. Also, you cannot remotely control a session or remote control system console from the system console. Also, you cannot remotely control your own current session ")
. ADD (7051, "The requested session is not configured to allow remote control")
. ADD (7052, "refused to connect to this Terminal server.) The Terminal Server client license is currently in use by another user. Contact your system administrator to obtain a new Terminal Server customer whose license number must be valid, unique.
. ADD (7053, "refused to connect to this Terminal server.) You have not entered your Terminal Server client license number for this Terminal Server client. Please contact your system administrator to enter a valid, unique license number for this Terminal Server client. "
. ADD (7054, "The system has reached its authorized login limit.") Please try again later ")
. ADD (7055, "the customer you are using does not have authorization to use the system.") Your login request was denied ")
. ADD (7056, "system license has expired.") Your login request was denied ")
End With
End Sub

Private Shared Function Getloader () as ErrCollection07
If Loader is nothing Then
SyncLock Internalsyncobject
If Loader is nothing Then
Loader = New ErrCollection07
End If
End SyncLock
End If
Return Loader
End Function

Private Shared ReadOnly Property Internalsyncobject () as Object
Get
If Ginternalsyncobject is nothing Then
System.Threading.Interlocked.CompareExchange (Ginternalsyncobject, New Object, nothing)
End If
Return Ginternalsyncobject
End Get
End Property


Public Shared Function GetString (ByVal errnum as Integer) as String
With Getloader.collection
If. ContainsKey (Errnum) Then
return. Item (Errnum)
Else
Return "reserved or unknown"
End If
End With
End Function

End Class
End Namespace

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.