Microsoft DirectX 9.0

IFullScreenVideoEx::HideOnDeactivate

The HideOnDeactivate method . Depending on the setting, the full-screen video window is either minimized or hidden. If it is minimized, it appears as an icon in the task bar; otherwise, it does not.

Syntax

HRESULT HideOnDeactivate(
  long Hide
);

Parameters

Hide

[in] Value that specifies the behavior when the application is deactivated. Set to OATRUE to hide the icon; set to OAFALSE to display the icon.

Value Description
OATRUE Hide the video window.
OAFALSE Minimize the video window. (Default)

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
E_INVALIDARG Invalid argument.
S_OK Success.

See Also