SystemState Registry

SystemState Registry

Zilele acestea m-am jucat cu regiştrii din Windows Mobile. De fapt, totul a plecat de la o situaţie în care nu mă pot folosi direct de SystemState. Totuşi aveam nevoie să citesc nişte valori pe care le obţineam în mod normal cu SystemState. Deci, soluţia a fost să „scormonesc” rapid după regiştrii.

În mare, tabelul este luat de pe MSDN (în varianta de pe MSDN lipsesc ceva membrii, descrierea şi path-ul către regiştri), dar l-am actualizat.

No.Member namePathDescription
1
ActiveApplication
HKEY_CURRENT_USER\System\State\Shell\Active ApplicationGets the name of the application that was previously active and the name of the application that is currently active, separated by the 'Escape' character ('\e').
2ActiveSyncStatusHKEY_LOCAL_MACHINE\System\State\ActiveSync\SynchronizingGets ActiveSync's current synchronization state.
3BluetoothStateA2DPConnectedHKEY_LOCAL_MACHINE\System\State\Hardware\BluetoothGets a value indicating whether Bluetooth A2DP is connected.
4BluetoothStateDiscoverableHKEY_LOCAL_MACHINE\System\State\Hardware\BluetoothGets a value indicating whether Bluetooth is discoverable.
5BluetoothStateHandsFreeAudioHKEY_LOCAL_MACHINE\System\State\Hardware\BluetoothGets a value indicating whether device us under Bluetooth handsfree audio and control.
6BluetoothStateHandsFreeControlHKEY_LOCAL_MACHINE\System\State\Hardware\BluetoothGets a value indicating whether device is under Bluetooth Hands Free Control.
7BluetoothStateHardwarePresentHKEY_LOCAL_MACHINE\System\State\Hardware\BluetoothGets a value indicating whether Bluetooth hardware is present.
8BluetoothStatePowerOnHKEY_LOCAL_MACHINE\System\State\Hardware\BluetoothGets a value indicating whether Bluetooth is powered on.
9CalendarAppointmentHKEY_CURRENT_USER\System\State\Appointments\CurrentGets the current Appointment.
10CalendarAppointmentBusyStatusHKEY_CURRENT_USER\System\State\Appointments\Current\Busy StatusGets the user's availability (free/busy status) for the time-slot taken by the current Appointment.
11CalendarAppointmentCategoriesHKEY_CURRENT_USER\System\State\Appointments\Current\CategoriesGets the current Appointment's categories.
12CalendarAppointmentEndTimeHKEY_CURRENT_USER\System\State\Appointments\Current\End TimeGets the current Appointment's ending time.
13CalendarAppointmentHasConflictHKEY_CURRENT_USER\System\State\Appointments\Current\ConflictGets a value indicating whether the current Appointment has a scheduling conflict with an existing Appointment.
14CalendarAppointmentLocationHKEY_CURRENT_USER\System\State\Appointments\Current\LocationGets the current Appointment's location.
15CalendarAppointmentStartTimeHKEY_CURRENT_USER\System\State\Appointments\Current\Start TimeGets the current Appointment's starting time.
16CalendarAppointmentSubjectHKEY_CURRENT_USER\System\State\Appointments\Current\SubjectGets the current Appointment's subject.
17CalendarEventHKEY_CURRENT_USER\System\State\Appointments\EventGets the current "All Day Event" Appointment.
18CalendarEventBusyStatusHKEY_CURRENT_USER\System\State\Appointments\Event\Busy StatusGets the user's availability (free/busy status) for the current "All Day Event".
19CalendarEventCategoriesHKEY_CURRENT_USER\System\State\Appointments\Event\CategoriesGets the categories for the current "All Day Event".
20CalendarEventEndTimeHKEY_CURRENT_USER\System\State\Appointments\Event\End TimeGets the ending time of the current "All Day Event" Appointment. This will be the starting day of an Appointment Event that spans multiple days.
21CalendarEventHasConflictHKEY_CURRENT_USER\System\State\Appointments\Event\ConflictGets a value indicating whether the user's availability (free/busy) status conflicts with the current "All Day Event".
22CalendarEventLocationHKEY_CURRENT_USER\System\State\Appointments\Event\LocationGets the location of the current "All Day Event" Appointment.
23CalendarEventStartTimeHKEY_CURRENT_USER\System\State\Appointments\Event\Start TimeGets the starting time of the current "All Day Event" Appointment. This will be the starting day of an Appointment Event that spans multiple days.
24CalendarEventSubjectHKEY_CURRENT_USER\System\State\Appointments\Event\SubjectGets the subject of the current "All Day Event" Appointment.
25CalendarHomeScreenAppointmentHKEY_CURRENT_USER\System\State\Appointments\HomeScreenGets the Appointment that is currently displayed on the Home Screen.
26CalendarHomeScreenAppointmentBusyStatusHKEY_CURRENT_USER\System\State\Appointments\HomeScreen\Busy StatusGets the user's availability (free/busy status) for the Appointment displayed on the Home Screen.
27CalendarHomeScreenAppointmentCategoriesHKEY_CURRENT_USER\System\State\Appointments\HomeScreen\CategoriesGets the categories of the Appointment that is currently displayed on the Home Screen.
28CalendarHomeScreenAppointmentEndTimeHKEY_CURRENT_USER\System\State\Appointments\HomeScreen\End TimeGets the ending time of the Appointment that is currently displayed on the Home Screen.
29CalendarHomeScreenAppointmentHasConflictHKEY_CURRENT_USER\System\State\Appointments\HomeScreen\ConflictGets a value indicating whether the Appointment that is currently displayed on the Home Screen has a scheduling conflict.
30CalendarHomeScreenAppointmentLocationHKEY_CURRENT_USER\System\State\Appointments\HomeScreen\LocationGets the location of the Appointment that is currently displayed on the Home Screen.
31CalendarHomeScreenAppointmentStartTimeHKEY_CURRENT_USER\System\State\Appointments\HomeScreen\Start TimeGets the starting time of the Appointment that is currently displayed on the Home Screen.
32CalendarHomeScreenAppointmentSubjectHKEY_CURRENT_USER\System\State\Appointments\HomeScreen\SubjectGets the subject of the Appointment that is currently displayed on the Home Screen.
33CalendarNextAppointmentHKEY_CURRENT_USER\System\State\Appointments\NextGets the next Appointment.
34CalendarNextAppointmentBusyStatusHKEY_CURRENT_USER\System\State\Appointments\Next\Busy StatusGets the user's availability (e.g., Free, Busy, Tenative, Out of Office) status for the next Appointment.
35CalendarNextAppointmentCategoriesHKEY_CURRENT_USER\System\State\Appointments\Next\CategoriesGets the next Appointment's categories.
36CalendarNextAppointmentEndHKEY_CURRENT_USER\System\State\Appointments\Next\End TimeGets the ending time of the next Appointment. Gets the ending time of the next Appointment.
37CalendarNextAppointmentHasConflictHKEY_CURRENT_USER\System\State\Appointments\Next\ConflictGets a value indicating whether there is a conflict with the next Appointment.
38CalendarNextAppointmentLocationHKEY_CURRENT_USER\System\State\Appointments\Next\LocationGets the location of the next Appointment.
39CalendarNextAppointmentStartHKEY_CURRENT_USER\System\State\Appointments\Next\Start TimeGets the starting time of the next Appointment.
40CalendarNextAppointmentSubjectHKEY_CURRENT_USER\System\State\Appointments\Next\SubjectGets the subject of the next Appointment.
41CameraEnabledHKEY_LOCAL_MACHINE\System\State\Hardware\CameraEnabledGets a value indicating whether a camera is enabled.
42CameraPresentHKEY_LOCAL_MACHINE\System\State\Hardware\CameraGets a value indicating whether a camera is attached and enabled.
43CarKitPresentHKEY_LOCAL_MACHINE\System\State\Hardware\Car KitGets a value indicating whether a car kit is present.
44CellularSystemAvailable1xrttHKEY_LOCAL_MACHINE\System\State\Phone\Cellular System AvailableGets available 1xRTT network status.
45CellularSystemAvailableEdgeHKEY_LOCAL_MACHINE\System\State\Phone\Cellular System AvailableGets available EDGE network status.
46CellularSystemAvailableEvdoHKEY_LOCAL_MACHINE\System\State\Phone\Cellular System AvailableGets available EVDO network status.
47CellularSystemAvailableEvdvHKEY_LOCAL_MACHINE\System\State\Phone\Cellular System AvailableGets available EVDV network status.
48CellularSystemAvailableGprsHKEY_LOCAL_MACHINE\System\State\Phone\Cellular System AvailableGets available GPRS network status.
49CellularSystemAvailableHsdpaHKEY_LOCAL_MACHINE\System\State\Phone\Cellular System AvailableGets available HSDPA network status.
50CellularSystemAvailableUmtsHKEY_LOCAL_MACHINE\System\State\Phone\Cellular System AvailableGets available UMTS network status.
51CellularSystemConnected1xrttHKEY_LOCAL_MACHINE\System\State\Phone\Cellular System ConnectedGets connected 1xRTT network status.
52CellularSystemConnectedCsdHKEY_LOCAL_MACHINE\System\State\Phone\Cellular System ConnectedGets connected CSD network status.
53CellularSystemConnectedEdgeHKEY_LOCAL_MACHINE\System\State\Phone\Cellular System ConnectedGets connected EDGE network status.
54CellularSystemConnectedEvdoHKEY_LOCAL_MACHINE\System\State\Phone\Cellular System ConnectedGets connected EVDO network status.
55CellularSystemConnectedEvdvHKEY_LOCAL_MACHINE\System\State\Phone\Cellular System ConnectedGets connected EVDV network status.
56CellularSystemConnectedGprsHKEY_LOCAL_MACHINE\System\State\Phone\Cellular System ConnectedGets connected GPRS network status.
57CellularSystemConnectedHsdpaHKEY_LOCAL_MACHINE\System\State\Phone\Cellular System ConnectedGets connected HSDPA network status.
58CellularSystemConnectedUmtsHKEY_LOCAL_MACHINE\System\State\Phone\Cellular System ConnectedGets connected UMTS network status.
59ClamshellClosedHKEY_LOCAL_MACHINE\System\State\Hardware\ClamshellClosedGets a value indicating whether Clamshell is closed or not.
60ConnectionsBluetoothCountHKEY_LOCAL_MACHINE\System\State\Connections\Bluetooth\CountGets a value indicating the number of Bluetooth connections that are currently connected.
61ConnectionsBluetoothDescriptionsHKEY_LOCAL_MACHINE\System\State\Connections\Bluetooth\DescriptionsGets a semicolon delimited string containing the description of each of the Bluetooth connections.
62ConnectionsCellularCountHKEY_LOCAL_MACHINE\System\State\Connections\Cellular\CountGets a value indicating the number of cellular connections that are currently connected.
63ConnectionsCellularDescriptionsHKEY_LOCAL_MACHINE\System\State\Connections\Cellular\DescriptionsGets a semicolon delimited string containing the description of each cellular connection.
64ConnectionsCountHKEY_LOCAL_MACHINE\System\State\Connections\CountGets a value indicating the number of connections that are currently connected.
65ConnectionsDesktopCountHKEY_LOCAL_MACHINE\System\State\Connections\Desktop\CountGets a value indicating the number of desktop connections that are currently connected.
66ConnectionsDesktopDescriptionsHKEY_LOCAL_MACHINE\System\State\Connections\Desktop\DescriptionsGets a semicolon delimited string containing the description of each desktop connection.
67ConnectionsModemCountHKEY_LOCAL_MACHINE\System\State\Connections\Modem\CountGets a value indicating the number of modem connections that are currently connected.
68ConnectionsModemDescriptionsHKEY_LOCAL_MACHINE\System\State\Connections\Modem\DescriptionsGets a semicolon delimited string containing the description of each modem connection.
69ConnectionsNetworkAdaptersHKEY_LOCAL_MACHINE\System\State\Connections\Network\AdaptersGets a semicolon delimited string containing the adapter name of each network connection.
70ConnectionsNetworkCountHKEY_LOCAL_MACHINE\System\State\Connections\Network\CountGets a value indicating the number of network connections that are currently connected.
71ConnectionsNetworkDescriptionsHKEY_LOCAL_MACHINE\System\State\Connections\Network\DescriptionsGets a semicolon delimited string containing the description of each network connection.
72ConnectionsProxyCountHKEY_LOCAL_MACHINE\System\State\Connections\Proxy\CountGets a value indicating the number of network connections that are currently connected.
73ConnectionsProxyDescriptionsHKEY_LOCAL_MACHINE\System\State\Connections\Proxy\DescriptionsGets a semicolon delimited string containing the description of each proxy connection.
74ConnectionsUnknownCountHKEY_LOCAL_MACHINE\System\State\Connections\Unknown\CountGets a value indicating the number of connections of unknown type that are currently connected.
75ConnectionsUnknownDescriptionsHKEY_LOCAL_MACHINE\System\State\Connections\Unknown\DescriptionsGets a semicolon delimited string containing the description of each connections of unknown type.
76ConnectionsVpnCountHKEY_LOCAL_MACHINE\System\State\Connections\Vpn\CountGets a value indicating the number of virtual private network connections that are currently connected.
77ConnectionsVpnDescriptionsHKEY_LOCAL_MACHINE\System\State\Connections\Vpn\DescriptionsGets a semicolon delimited string containing the description of each virtual private network connection.
78CradlePresentHKEY_LOCAL_MACHINE\System\State\Hardware\CradledGets a value indicating whether the device is connected to a cradle.
79DateHKEY_LOCAL_MACHINE\System\State\DateTime\DateGets the current date. This Date/Time value changes once per day. Monitor this property to perform actions on a daily basis. Note: Do not use Date to get an accurate clock time; instead, use Time.
80DisplayRotationHKEY_LOCAL_MACHINE\System\GDI\Rotation\AngleGets the orientation of the display, specified as the number of degrees, ranging from 0 to 360. Portrait = 0. Landscape = 90 or -90.
81HeadsetPresentHKEY_LOCAL_MACHINE\System\State\Hardware\HeadsetGets a value indicating whether a headset is present
82KeyboardPresentHKEY_CURRENT_USER\Software\Microsoft\Shell\HasKeyboardGets a value indicating whether a keyboard is attached and enabled.
83LockStatesHKEY_LOCAL_MACHINE\System\State\LockGets the mobile device's lock state.
84MediaPlayerAlbumArtistHKEY_CURRENT_USER\System\State\MediaPlayer\WM/AlbumArtistGets the album artist's name of the currently playing track in Windows Media Player.
85MediaPlayerAlbumTitleHKEY_CURRENT_USER\System\State\MediaPlayer\Wm/AlbumTitleGets the album title of the currently playing track in Windows Media Player.
86MediaPlayerTrackArtistHKEY_CURRENT_USER\System\State\MediaPlayer\WM/OriginalArtistGets the artist's name of the currently playing track in Windows Media Player.
87MediaPlayerTrackBitrateHKEY_CURRENT_USER\System\State\MediaPlayer\Bitrate
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值