* vlc.c: the vlc player, WinCE version
*****************************************************************************
* Copyright (C) 2002 VideoLAN
- * $Id: vlc.c,v 1.6 2004/01/24 21:06:52 hartman Exp $
+ * $Id$
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
wchar_t pwz_title[100];
i_argc = 5;
- ppsz_argv[4] = "washington.mpeg";
- ppsz_argv[4] = "shovel.mpeg";
- ppsz_argv[4] = "11h50.wav";
- ppsz_argv[4] = "apple_promouse.mpeg";
+ ppsz_argv[4] = "test.wav";
/* Store our instance for future reference */
hInst = hInstance;
i_ret = VLC_Play( 0 );
/* Add a non-blocking interface and keep the return value */
- i_ret = VLC_AddIntf( 0, NULL, VLC_FALSE );
+ i_ret = VLC_AddIntf( 0, NULL, VLC_FALSE, VLC_TRUE );
while( GetMessage( &message, NULL, 0, 0 ) )
{
VLC_Die( 0 );
/* Finish the threads */
- VLC_Stop( 0 );
+ VLC_CleanUp( 0 );
/* Destroy the libvlc structure */
VLC_Destroy( 0 );