From: "rewantlge"
[...]
[Quoted Text] > Now my problem is i need to change these system assigned > IDs and change the Numbers according to USER flexibility > for eg if the window assigns number 6 to the monitor just > right to him and he needs to change it to say 2, he > should be able to do that ..ie changing the syem assigned > IDs of monitors without reconnecting them or swapping of > the monitor IDs so that he can play with the applications > running on the primary monitor and shift them to the > respective Monitors.
I fail to see how this can be even remotely related to the WindowsMedia SDK.
In any case, I don't think there is any user-mode API to change the display number since it depends on the way the kernel drivers enumerate the devices and it wouldn't be a good idea because an application should not have system-wide effects. Since the number is shown by your application GUI, just remap the user-chosen IDs to the actual system IDs in your own code.
-- // Alessandro Angeli // MVP :: DirectShow / MediaFoundation // mvpnews at riseoftheants dot com // http://www.riseoftheants.com/mmx/faq.htm
|