ITVViewer::SetTVMode

[This is preliminary documentation and subject to change.]

The SetTVMode method displays WebTV for Windows in the specified mode, either television or desktop.

HRESULT SetTVMode(
  VARIANT_BOOL fTVMode  
);
 

Parameters

fTVMode
Boolean value that indicates the mode. This can be one of the following values.
Value Meaning
VARIANT_TRUE Television mode. The control displays full-screen.
VARIANT_FALSE Desktop mode. The control displays in a desktop window.

Return Values

Returns an HRESULT indicating success or failure. If the method succeeds it returns S_OK. Otherwise it returns an error code. For specific error code values see Winerror.h.

QuickInfo

  Windows NT: Unsupported.
  Windows: Requires Windows 98.
  Windows CE: Unsupported.
  Header: Declared in tvdisp.odl.
  Import Library: Included as a resource in tvx.exe.
  Unicode: Yes.

See Also

ITVViewer::IsTVMode