home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Talk
Status of feature request-secondary display
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="toddbailey" data-source="post: 67415" data-attributes="member: 20080"><p>From the online help for Visual studio .net</p><p></p><p></p><p>VideoPortCreateSecondaryDisplay</p><p>[This is preliminary documentation and subject to change.]</p><p></p><p></p><p>The VideoPortCreateSecondaryDisplay function enables dual-view support by creating a secondary device object for the given device.</p><p></p><p>VP_STATUS</p><p> VideoPortCreateSecondaryDisplay(</p><p> IN PVOID HwDeviceExtension,</p><p> IN OUT PVOID *SecondaryDeviceExtension,</p><p> IN ULONG ulFlag</p><p> );</p><p></p><p></p><p>Parameters</p><p>HwDeviceExtension </p><p>Pointer to the miniport driver's device extension. This is the hardware extension for the device that wants to create additional display device objects. </p><p>SecondaryDeviceExtension </p><p>Pointer to the location in which to store the hardware device extension for the secondary display device. </p><p>ulFlag </p><p>Is a set of attributes for the secondary display device. This parameter is restricted to the following value:Value Meaning </p><p>VIDEO_DUALVIEW_REMOVABLE The secondary view can be removed. </p><p></p><p></p><p></p><p>Return Value</p><p>VideoPortCreateSecondaryDisplay returns NO_ERROR if the secondary display device was successfully created. Otherwise, this function returns an error code. </p><p></p><p>Headers</p><p>Declared in video.h. Include video.h.</p><p></p><p>Comments</p><p>This function is available in Windows XP and later.</p><p></p><p>In Windows XP and later, a removable logical device will never become the primary display.</p><p></p><p>Note that on some editions of Windows XP, VideoPortCreateSecondaryDisplay can deliberately fail to enable Dualview. In such cases, the display driver should remain in SingleView mode.</p><p></p><p>When the video minport driver calls VideoPortCreateSecondaryDisplay, the value of the ulFlags parameter must be equal to VIDEO_DUALVIEW_REMOVABLE, which is defined in ntddvdeo.h.</p><p></p><p>The flags VIDEO_DUALVIEW_PRIMARY and VIDEO_DUALVIEW_SECONDARY, which are defined in ntddvdeo.h, are for internal use only. The video miniport driver must never set these flags.</p><p></p><p>Callers of VideoPortCreateSecondaryDisplay must be running at IRQL = PASSIVE_LEVEL.</p></blockquote><p></p>
[QUOTE="toddbailey, post: 67415, member: 20080"] From the online help for Visual studio .net VideoPortCreateSecondaryDisplay [This is preliminary documentation and subject to change.] The VideoPortCreateSecondaryDisplay function enables dual-view support by creating a secondary device object for the given device. VP_STATUS VideoPortCreateSecondaryDisplay( IN PVOID HwDeviceExtension, IN OUT PVOID *SecondaryDeviceExtension, IN ULONG ulFlag ); Parameters HwDeviceExtension Pointer to the miniport driver's device extension. This is the hardware extension for the device that wants to create additional display device objects. SecondaryDeviceExtension Pointer to the location in which to store the hardware device extension for the secondary display device. ulFlag Is a set of attributes for the secondary display device. This parameter is restricted to the following value:Value Meaning VIDEO_DUALVIEW_REMOVABLE The secondary view can be removed. Return Value VideoPortCreateSecondaryDisplay returns NO_ERROR if the secondary display device was successfully created. Otherwise, this function returns an error code. Headers Declared in video.h. Include video.h. Comments This function is available in Windows XP and later. In Windows XP and later, a removable logical device will never become the primary display. Note that on some editions of Windows XP, VideoPortCreateSecondaryDisplay can deliberately fail to enable Dualview. In such cases, the display driver should remain in SingleView mode. When the video minport driver calls VideoPortCreateSecondaryDisplay, the value of the ulFlags parameter must be equal to VIDEO_DUALVIEW_REMOVABLE, which is defined in ntddvdeo.h. The flags VIDEO_DUALVIEW_PRIMARY and VIDEO_DUALVIEW_SECONDARY, which are defined in ntddvdeo.h, are for internal use only. The video miniport driver must never set these flags. Callers of VideoPortCreateSecondaryDisplay must be running at IRQL = PASSIVE_LEVEL. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Talk
Status of feature request-secondary display
Contact us
RSS
Top
Bottom