OT: Tablet PC detection at Vista

This is user mode question. I wonder if anybody of list members have an experience with this area.

We’d need to find a way how to detect in our code running in context of winlogon process if we’re running at Tablet PC or not. From the MSDN description (http://msdn2.microsoft.com/en-us/library/ms700675.aspx) it seems the recommended way could be unreliable. If things really work the way described there, GetSystemMetrics(SM_TABLETPC) can return different results depending on the current state of Tablet PC Input Service which may not be started, yet. We’re affraid about the case when this service is started after winlogon process.

One possible solution is to check service state using SCM calls and wait until it is started (if it is configured for autostart, of course). But it is ugly and I’d like to be sure it is really necessary.

Best regards,

Michal Vodicka
UPEK, Inc.
[xxxxx@upek.com, http://www.upek.com]