Commit 7bd36e45 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

cppcx: Use uint64 instead of IntPtr since IntPtr isn't allowed in WinRT applications....

parent 49025d7f
......@@ -82,14 +82,14 @@ namespace libVLCX
m_mp.stop();
}
void MediaPlayer::setHwnd(Platform::IntPtr drawable)
void MediaPlayer::setHwnd(uint64 drawable)
{
m_mp.setHwnd((void*) drawable);
}
Platform::IntPtr MediaPlayer::hwnd()
uint64 MediaPlayer::hwnd()
{
return (Platform::IntPtr)m_mp.hwnd();
return (uint64)m_mp.hwnd();
}
libvlc_time_t MediaPlayer::length()
......
......@@ -126,7 +126,7 @@ namespace libVLCX
*
* \param drawable windows handle of the drawable
*/
void setHwnd(Platform::IntPtr drawable);
void setHwnd(uint64 drawable);
/**
* Get the Windows API window handle (HWND) previously set with
......@@ -135,7 +135,7 @@ namespace libVLCX
*
* \return a window handle or NULL if there are none.
*/
Platform::IntPtr hwnd();
uint64 hwnd();
/**
* Get the current movie length (in ms).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment