+
+/*****************************************************************************
+ * Control: control facility for the vout
+ *****************************************************************************/
+static int Control( vout_thread_t *p_vout, int i_query, va_list args )
+{
+ vlc_bool_t b_bool;
+
+ switch( i_query )
+ {
+ case VOUT_SET_FOCUS:
+ b_bool = va_arg( args, vlc_bool_t );
+#ifdef MODULE_NAME_IS_wingapi
+ if( b_bool ) GXResume();
+ else GXSuspend();
+#endif
+ return VLC_SUCCESS;
+
+ default:
+ return vout_vaControlDefault( p_vout, i_query, args );
+ }
+}