#elif defined( WIN32 ) || defined( UNDER_CE )
VLC_UNUSED( psz_file); VLC_UNUSED( i_line );
- if( !SetThreadPriority(p_priv->thread_id->handle, i_priority) )
+ if( !SetThreadPriority(p_priv->thread_id, i_priority) )
{
msg_Warn( p_this, "couldn't set a faster priority" );
return 1;
#ifndef UNDER_CE
if( ! DuplicateHandle(GetCurrentProcess(),
- p_priv->thread_id->handle,
+ p_priv->thread_id,
GetCurrentProcess(),
&hThread,
0,