I need to know when the video mode/resolution is changed, either in
user/kernel mode, for W2k/Xp. My choices so far:
- System notification - cannot find any such method.
- Video miniport filter driver - complicated.
- Hook registry key modifications - hacky, which keys?
- Polling using IOCTL_VIDEO_QUERY_CURRENT_MODE.
It would seem (4) is easiest, but would have to poll every few seconds to
be effective. Having to write a filter driver for this would be
unfortunate.
Any other ideas/thoughts? Thanks.
Greg
Look at WM_DISPLAYCHANGE.
D
This posting is provided “AS IS” with no warranties, and confers no
rights.
-----Original Message-----
From: Greg de Valois [mailto:xxxxx@yahoo.com]
Sent: Friday, November 08, 2002 12:31 PM
To: NT Developers Interest List
Subject: [ntdev] Video Resolution Change Notification
I need to know when the video mode/resolution is changed, either in
user/kernel mode, for W2k/Xp. My choices so far:
- System notification - cannot find any such method.
- Video miniport filter driver - complicated.
- Hook registry key modifications - hacky, which keys?
- Polling using IOCTL_VIDEO_QUERY_CURRENT_MODE.
It would seem (4) is easiest, but would have to poll every few seconds
to
be effective. Having to write a filter driver for this would be
unfortunate.
Any other ideas/thoughts? Thanks.
Greg
You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to %%email.unsub%%
Maybe WM_SETTINGCHANGE can help?
----- Original Message -----
From: “Greg de Valois”
To: “NT Developers Interest List”
Sent: Friday, November 08, 2002 11:30 PM
Subject: [ntdev] Video Resolution Change Notification
> I need to know when the video mode/resolution is changed, either in
> user/kernel mode, for W2k/Xp. My choices so far:
>
> 1) System notification - cannot find any such method.
> 2) Video miniport filter driver - complicated.
> 3) Hook registry key modifications - hacky, which keys?
> 4) Polling using IOCTL_VIDEO_QUERY_CURRENT_MODE.
>
> It would seem (4) is easiest, but would have to poll every few
seconds to
> be effective. Having to write a filter driver for this would be
> unfortunate.
>
> Any other ideas/thoughts? Thanks.
> Greg
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to %%email.unsub%%
>