ITVViewer::IsTVMode

[This is preliminary documentation and subject to change.]

The IsTVMode method returns a value specifying whether WebTV for Windows currently displays in television or desktop mode.

HRESULT IsTVMode(
  VARIANT_BOOL *pfTVmode
);
 

Parameters

pfTVmode
Pointer to a boolean variable that receives the television mode information. This can be one of the following values.
Value Meaning
VARIANT_TRUE WebTV for Windows is currently displaying in TV, or full-screen, mode.
VARIANT_FALSE WebTV for Windows is currently displayed in desktop, or window, mode.

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::IsCC, ITVViewer::IsChannelBarUp, ITVViewer::IsLoaderActive, ITVViewer::IsModalDialogUp, ITVViewer::SetTVMode