[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
);
Value | Meaning |
---|---|
VARIANT_TRUE | Television mode. The control displays full-screen. |
VARIANT_FALSE | Desktop mode. The control displays in a desktop window. |
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.
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.