Welcome to HardwareForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

enable/disable the TV OUT on a graphic card?

 
   Hardware Problem Solving Community! (Home) -> ATI RSS
Next:  MSI K8N Neo2 Platinum & Dual Core CPU  
Author Message
frederik.anrys

External


Since: Jun 09, 2005
Posts: 3



(Msg. 1) Posted: Thu Jun 09, 2005 2:35 pm
Post subject: enable/disable the TV OUT on a graphic card?
Archived from groups: alt>comp>periphs>videocards>ati (more info?)

Hi,

I have tried to enable and disable the TV OUT on a graphic
card by using the GDI function ChangeDisplaySettingsEx
function and the VIDEOPARAMETERS struct, but it does seem
to work.
According to Microsoft/MSDN it should be possible to
enable/disable TV OUT. They say:
To enable TV output, the caller (not the miniport driver)
should do the following:

·In dwFlags, set VP_FLAGS_TV_MODE and
VP_FLAGS_TV_STANDARD. Clear all other flags.

·Set dwMode to either VP_MODE_WIN_GRAPHICS or
VP_MODE_TV_PLAYBACK. Do not set both bits.

·Set dwTvStandard to the desired standard (for example
VP_TV_STANDARD_NTSC_M). Do not set any other bits in
dwTvStandard

The VIDEOPARAMETERS struct contains the above members.

I have tried the following (C++ Wink

VIDEOPARAMETERS vp = {0};

vp.Guid = GUID_VIDEOPARAMETERS;
vp.dwCommand = VP_COMMAND_SET;
vp.dwFlags = VP_FLAGS_TV_MODE | VP_FLAGS_TV_STANDARD
vp.dwMode = VP_MODE_TV_PLAYBACK;
vp.dwTVStandard = VP_TV_STANDARD_NTSC_M;

LONG lResult = ChangeDisplaySettingsEx
("\\\\.\\Display1",NULL,0,CDS_VIDEOPARAMETERS,&vp);

The function returns success (DISP_CHANGE_SUCCESSFUL), but
it does not enable the TV OUT.

Does anyone have any experience with this or any other
idea on how to enable/disable the TV OUT on a graphic card?

 >> Stay informed about: enable/disable the TV OUT on a graphic card? 
Back to top
Login to vote
Display posts from previous:   
   Hardware Problem Solving Community! (Home) -> ATI All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]