Imports SystemImports System.TextImports System.DiagnosticsImports System.Runtime.InteropServicesPublic Class ExitWindwos Public Enum RestartOptions LogOff = 0 PowerOff = 8 Reboot = 2 ShutDown = 1 Suspend = -1 Hibernate = -2 'EWX_FORCE = 4 End Enum Public Structure LUID Dim LowPart As Integer Dim HighPart As Integer End Structure Public Structure LUID_AND_ATTRIBUTES Dim pLuid ...[ 查看全文 ]