天天看点

SystemState Registry

23.12.2009

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 name Path Description
1 ActiveApplication HKEY_CURRENT_USER\System\State\Shell\Active Application Gets 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').
2 ActiveSyncStatus HKEY_LOCAL_MACHINE\System\State\ActiveSync\Synchronizing Gets ActiveSync's current synchronization state.
3 BluetoothStateA2DPConnected HKEY_LOCAL_MACHINE\System\State\Hardware\Bluetooth Gets a value indicating whether Bluetooth A2DP is connected.
4 BluetoothStateDiscoverable HKEY_LOCAL_MACHINE\System\State\Hardware\Bluetooth Gets a value indicating whether Bluetooth is discoverable.
5 BluetoothStateHandsFreeAudio HKEY_LOCAL_MACHINE\System\State\Hardware\Bluetooth Gets a value indicating whether device us under Bluetooth handsfree audio and control.
6 BluetoothStateHandsFreeControl HKEY_LOCAL_MACHINE\System\State\Hardware\Bluetooth Gets a value indicating whether device is under Bluetooth Hands Free Control.
7 BluetoothStateHardwarePresent HKEY_LOCAL_MACHINE\System\State\Hardware\Bluetooth Gets a value indicating whether Bluetooth hardware is present.
8 BluetoothStatePowerOn HKEY_LOCAL_MACHINE\System\State\Hardware\Bluetooth Gets a value indicating whether Bluetooth is powered on.
9 CalendarAppointment HKEY_CURRENT_USER\System\State\Appointments\Current Gets the current Appointment.
10 CalendarAppointmentBusyStatus HKEY_CURRENT_USER\System\State\Appointments\Current\Busy Status Gets the user's availability (free/busy status) for the time-slot taken by the current Appointment.
11 CalendarAppointmentCategories HKEY_CURRENT_USER\System\State\Appointments\Current\Categories Gets the current Appointment's categories.
12 CalendarAppointmentEndTime HKEY_CURRENT_USER\System\State\Appointments\Current\End Time Gets the current Appointment's ending time.
13 CalendarAppointmentHasConflict HKEY_CURRENT_USER\System\State\Appointments\Current\Conflict Gets a value indicating whether the current Appointment has a scheduling conflict with an existing Appointment.
14 CalendarAppointmentLocation HKEY_CURRENT_USER\System\State\Appointments\Current\Location Gets the current Appointment's location.
15 CalendarAppointmentStartTime HKEY_CURRENT_USER\System\State\Appointments\Current\Start Time Gets the current Appointment's starting time.
16 CalendarAppointmentSubject HKEY_CURRENT_USER\System\State\Appointments\Current\Subject Gets the current Appointment's subject.
17 CalendarEvent HKEY_CURRENT_USER\System\State\Appointments\Event Gets the current "All Day Event" Appointment.
18 CalendarEventBusyStatus HKEY_CURRENT_USER\System\State\Appointments\Event\Busy Status Gets the user's availability (free/busy status) for the current "All Day Event".
19 CalendarEventCategories HKEY_CURRENT_USER\System\State\Appointments\Event\Categories Gets the categories for the current "All Day Event".
20 CalendarEventEndTime HKEY_CURRENT_USER\System\State\Appointments\Event\End Time Gets the ending time of the current "All Day Event" Appointment. This will be the starting day of an Appointment Event that spans multiple days.
21 CalendarEventHasConflict HKEY_CURRENT_USER\System\State\Appointments\Event\Conflict Gets a value indicating whether the user's availability (free/busy) status conflicts with the current "All Day Event".
22 CalendarEventLocation HKEY_CURRENT_USER\System\State\Appointments\Event\Location Gets the location of the current "All Day Event" Appointment.
23 CalendarEventStartTime HKEY_CURRENT_USER\System\State\Appointments\Event\Start Time Gets the starting time of the current "All Day Event" Appointment. This will be the starting day of an Appointment Event that spans multiple days.
24 CalendarEventSubject HKEY_CURRENT_USER\System\State\Appointments\Event\Subject Gets the subject of the current "All Day Event" Appointment.
25 CalendarHomeScreenAppointment HKEY_CURRENT_USER\System\State\Appointments\HomeScreen Gets the Appointment that is currently displayed on the Home Screen.
26 CalendarHomeScreenAppointmentBusyStatus HKEY_CURRENT_USER\System\State\Appointments\HomeScreen\Busy Status Gets the user's availability (free/busy status) for the Appointment displayed on the Home Screen.
27 CalendarHomeScreenAppointmentCategories HKEY_CURRENT_USER\System\State\Appointments\HomeScreen\Categories Gets the categories of the Appointment that is currently displayed on the Home Screen.
28 CalendarHomeScreenAppointmentEndTime HKEY_CURRENT_USER\System\State\Appointments\HomeScreen\End Time Gets the ending time of the Appointment that is currently displayed on the Home Screen.
29 CalendarHomeScreenAppointmentHasConflict HKEY_CURRENT_USER\System\State\Appointments\HomeScreen\Conflict Gets a value indicating whether the Appointment that is currently displayed on the Home Screen has a scheduling conflict.
30 CalendarHomeScreenAppointmentLocation HKEY_CURRENT_USER\System\State\Appointments\HomeScreen\Location Gets the location of the Appointment that is currently displayed on the Home Screen.
31 CalendarHomeScreenAppointmentStartTime HKEY_CURRENT_USER\System\State\Appointments\HomeScreen\Start Time Gets the starting time of the Appointment that is currently displayed on the Home Screen.
32 CalendarHomeScreenAppointmentSubject HKEY_CURRENT_USER\System\State\Appointments\HomeScreen\Subject Gets the subject of the Appointment that is currently displayed on the Home Screen.
33 CalendarNextAppointment HKEY_CURRENT_USER\System\State\Appointments\Next Gets the next Appointment.
34 CalendarNextAppointmentBusyStatus HKEY_CURRENT_USER\System\State\Appointments\Next\Busy Status Gets the user's availability (e.g., Free, Busy, Tenative, Out of Office) status for the next Appointment.
35 CalendarNextAppointmentCategories HKEY_CURRENT_USER\System\State\Appointments\Next\Categories Gets the next Appointment's categories.
36 CalendarNextAppointmentEnd HKEY_CURRENT_USER\System\State\Appointments\Next\End Time Gets the ending time of the next Appointment. Gets the ending time of the next Appointment.
37 CalendarNextAppointmentHasConflict HKEY_CURRENT_USER\System\State\Appointments\Next\Conflict Gets a value indicating whether there is a conflict with the next Appointment.
38 CalendarNextAppointmentLocation HKEY_CURRENT_USER\System\State\Appointments\Next\Location Gets the location of the next Appointment.
39 CalendarNextAppointmentStart HKEY_CURRENT_USER\System\State\Appointments\Next\Start Time Gets the starting time of the next Appointment.
40 CalendarNextAppointmentSubject HKEY_CURRENT_USER\System\State\Appointments\Next\Subject Gets the subject of the next Appointment.
41 CameraEnabled HKEY_LOCAL_MACHINE\System\State\Hardware\CameraEnabled Gets a value indicating whether a camera is enabled.
42 CameraPresent HKEY_LOCAL_MACHINE\System\State\Hardware\Camera Gets a value indicating whether a camera is attached and enabled.
43 CarKitPresent HKEY_LOCAL_MACHINE\System\State\Hardware\Car Kit Gets a value indicating whether a car kit is present.
44 CellularSystemAvailable1xrtt HKEY_LOCAL_MACHINE\System\State\Phone\Cellular System Available Gets available 1xRTT network status.
45 CellularSystemAvailableEdge HKEY_LOCAL_MACHINE\System\State\Phone\Cellular System Available Gets available EDGE network status.
46 CellularSystemAvailableEvdo HKEY_LOCAL_MACHINE\System\State\Phone\Cellular System Available Gets available EVDO network status.
47 CellularSystemAvailableEvdv HKEY_LOCAL_MACHINE\System\State\Phone\Cellular System Available Gets available EVDV network status.
48 CellularSystemAvailableGprs HKEY_LOCAL_MACHINE\System\State\Phone\Cellular System Available Gets available GPRS network status.
49 CellularSystemAvailableHsdpa HKEY_LOCAL_MACHINE\System\State\Phone\Cellular System Available Gets available HSDPA network status.
50 CellularSystemAvailableUmts HKEY_LOCAL_MACHINE\System\State\Phone\Cellular System Available Gets available UMTS network status.
51 CellularSystemConnected1xrtt HKEY_LOCAL_MACHINE\System\State\Phone\Cellular System Connected Gets connected 1xRTT network status.
52 CellularSystemConnectedCsd HKEY_LOCAL_MACHINE\System\State\Phone\Cellular System Connected Gets connected CSD network status.
53 CellularSystemConnectedEdge HKEY_LOCAL_MACHINE\System\State\Phone\Cellular System Connected Gets connected EDGE network status.
54 CellularSystemConnectedEvdo HKEY_LOCAL_MACHINE\System\State\Phone\Cellular System Connected Gets connected EVDO network status.
55 CellularSystemConnectedEvdv HKEY_LOCAL_MACHINE\System\State\Phone\Cellular System Connected Gets connected EVDV network status.
56 CellularSystemConnectedGprs HKEY_LOCAL_MACHINE\System\State\Phone\Cellular System Connected Gets connected GPRS network status.
57 CellularSystemConnectedHsdpa HKEY_LOCAL_MACHINE\System\State\Phone\Cellular System Connected Gets connected HSDPA network status.
58 CellularSystemConnectedUmts HKEY_LOCAL_MACHINE\System\State\Phone\Cellular System Connected Gets connected UMTS network status.
59 ClamshellClosed HKEY_LOCAL_MACHINE\System\State\Hardware\ClamshellClosed Gets a value indicating whether Clamshell is closed or not.
60 ConnectionsBluetoothCount HKEY_LOCAL_MACHINE\System\State\Connections\Bluetooth\Count Gets a value indicating the number of Bluetooth connections that are currently connected.
61 ConnectionsBluetoothDescriptions HKEY_LOCAL_MACHINE\System\State\Connections\Bluetooth\Descriptions Gets a semicolon delimited string containing the description of each of the Bluetooth connections.
62 ConnectionsCellularCount HKEY_LOCAL_MACHINE\System\State\Connections\Cellular\Count Gets a value indicating the number of cellular connections that are currently connected.
63 ConnectionsCellularDescriptions HKEY_LOCAL_MACHINE\System\State\Connections\Cellular\Descriptions Gets a semicolon delimited string containing the description of each cellular connection.
64 ConnectionsCount HKEY_LOCAL_MACHINE\System\State\Connections\Count Gets a value indicating the number of connections that are currently connected.
65 ConnectionsDesktopCount HKEY_LOCAL_MACHINE\System\State\Connections\Desktop\Count Gets a value indicating the number of desktop connections that are currently connected.
66 ConnectionsDesktopDescriptions HKEY_LOCAL_MACHINE\System\State\Connections\Desktop\Descriptions Gets a semicolon delimited string containing the description of each desktop connection.
67 ConnectionsModemCount HKEY_LOCAL_MACHINE\System\State\Connections\Modem\Count Gets a value indicating the number of modem connections that are currently connected.
68 ConnectionsModemDescriptions HKEY_LOCAL_MACHINE\System\State\Connections\Modem\Descriptions Gets a semicolon delimited string containing the description of each modem connection.
69 ConnectionsNetworkAdapters HKEY_LOCAL_MACHINE\System\State\Connections\Network\Adapters Gets a semicolon delimited string containing the adapter name of each network connection.
70 ConnectionsNetworkCount HKEY_LOCAL_MACHINE\System\State\Connections\Network\Count Gets a value indicating the number of network connections that are currently connected.
71 ConnectionsNetworkDescriptions HKEY_LOCAL_MACHINE\System\State\Connections\Network\Descriptions Gets a semicolon delimited string containing the description of each network connection.
72 ConnectionsProxyCount HKEY_LOCAL_MACHINE\System\State\Connections\Proxy\Count Gets a value indicating the number of network connections that are currently connected.
73 ConnectionsProxyDescriptions HKEY_LOCAL_MACHINE\System\State\Connections\Proxy\Descriptions Gets a semicolon delimited string containing the description of each proxy connection.
74 ConnectionsUnknownCount HKEY_LOCAL_MACHINE\System\State\Connections\Unknown\Count Gets a value indicating the number of connections of unknown type that are currently connected.
75 ConnectionsUnknownDescriptions HKEY_LOCAL_MACHINE\System\State\Connections\Unknown\Descriptions Gets a semicolon delimited string containing the description of each connections of unknown type.
76 ConnectionsVpnCount HKEY_LOCAL_MACHINE\System\State\Connections\Vpn\Count Gets a value indicating the number of virtual private network connections that are currently connected.
77 ConnectionsVpnDescriptions HKEY_LOCAL_MACHINE\System\State\Connections\Vpn\Descriptions Gets a semicolon delimited string containing the description of each virtual private network connection.
78 CradlePresent HKEY_LOCAL_MACHINE\System\State\Hardware\Cradled Gets a value indicating whether the device is connected to a cradle.
79 Date HKEY_LOCAL_MACHINE\System\State\DateTime\Date Gets 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.
80 DisplayRotation HKEY_LOCAL_MACHINE\System\GDI\Rotation\Angle Gets the orientation of the display, specified as the number of degrees, ranging from 0 to 360. Portrait = 0. Landscape = 90 or -90.
81 HeadsetPresent HKEY_LOCAL_MACHINE\System\State\Hardware\Headset Gets a value indicating whether a headset is present
82 KeyboardPresent HKEY_CURRENT_USER\Software\Microsoft\Shell\HasKeyboard Gets a value indicating whether a keyboard is attached and enabled.
83 LockStates HKEY_LOCAL_MACHINE\System\State\Lock Gets the mobile device's lock state.
84 MediaPlayerAlbumArtist HKEY_CURRENT_USER\System\State\MediaPlayer\WM/AlbumArtist Gets the album artist's name of the currently playing track in Windows Media Player.
85 MediaPlayerAlbumTitle HKEY_CURRENT_USER\System\State\MediaPlayer\Wm/AlbumTitle Gets the album title of the currently playing track in Windows Media Player.
86 MediaPlayerTrackArtist HKEY_CURRENT_USER\System\State\MediaPlayer\WM/OriginalArtist Gets the artist's name of the currently playing track in Windows Media Player.
87 MediaPlayerTrackBitrate HKEY_CURRENT_USER\System\State\MediaPlayer\Bitrate

继续阅读