图老师小编精心整理的Check开机方式及Mouse Buttons个数希望大家喜欢,觉得好的亲们记得收藏起来哦!您的支持就是小编更新的动力~
【 tulaoshi.com - 编程语言 】
Private Declare Function GetSystemMetrics Lib "user32" (ByVal nIndex As Long) As LongConst SM_CMOUSEBUTTONS = 43Const SM_CLEANBOOT = 67Private Sub Form_Load()Dim mode As LongDim NumbButtons As Longmode = GetSystemMetrics(SM_CLEANBOOT)Select Case modeCase 1 Debug.Print "The System is in Safe Mode"Case 2 Debug.Print "Fail-safe with network boot"Case 0 Debug.Print "Normal Mode"End SelectNumbButtons = GetSystemMetrics(SM_CMOUSEBUTTONS)Debug.Print "Number of Mouse Buttons :"; NumbButtonsEnd Sub
来源:http://www.tulaoshi.com/n/20160219/1613321.html
看过《Check开机方式及Mouse Buttons个数》的人还看了以下文章 更多>>