Compartilhar via


CBaseControlWindow::IsAutoShowEnabled (Compact 2013)

3/26/2014

Retrieves information about whether the video window automatically appears when the rendering filter pauses or runs.

Syntax

BOOL IsAutoShowEnabled( );

Parameters

None.

Return Value

Returns TRUE if the m_bAutoShow member is set to -1 or FALSE if it is set to 0.

Remarks

If the m_bAutoShow member is set to -1 on a video window that is hidden, the window becomes visible when the filter pauses or runs.

If this member is set to 0, the window will appear only if you use the CBaseControlWindow::put_Visible or CBaseControlWindow::put_WindowState member function with the appropriate parameters.

This member function retrieves the m_bAutoShow member setting and has the same result as using the IVideoWindow::get_AutoShow method.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CBaseControlWindow Class