Table of contents
GDI
TOC
Collapse the table of content
Expand the table of content

Setting TV Connector and Copy Protection Hardware

Last Updated: 2/14/2017

For any bit set by a miniport driver in the dwFlags member of VIDEOPARAMETERS on a VP_COMMAND_GET, the miniport driver can perform a set on a VP_COMMAND_SET. It is the caller's responsibility to call the miniport driver to set only that functionality for which the miniport driver indicated support on a VP_COMMAND_GET. The miniport driver should respond to a VP_COMMAND_SET by setting the hardware with the value of each VIDEOPARAMETERS field for which the corresponding bit is set in dwFlags. For example:

  • If the miniport driver set the VP_FLAGS_TV_MODE bit on a VP_COMMAND_GET, then the miniport driver should change the TV mode to the value specified by dwMode when VP_FLAGS_TV_MODE is set on a VP_COMMAND_SET.

  • If the miniport driver set the VP_FLAGS_TV_STANDARD bit on a VP_COMMAND_GET, then the miniport driver should change the TV standard to the value specified by dwTVStandard when VP_FLAGS_TV_STANDARD is set on a VP_COMMAND_SET.

  • If the miniport driver set the VP_FLAGS_CONTRAST bit on a VP_COMMAND_GET, then the miniport driver should set the contrast to the value specified by dwContrast when VP_FLAGS_CONTRAST is set on a VP_COMMAND_SET.

A VIDEOPARAMETERS field contains undefined data if the corresponding bit is not set in dwFlags.

Send comments about this topic to Microsoft

© 2017 Microsoft