dwCallback if DWORD.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba 2004-11-12 12:37:39 +00:00
parent e653e18150
commit cf2372509c

View File

@ -759,7 +759,7 @@ bool wxWMMEMediaCtrlImpl::Play()
{
//the directshow driver ("mpegvideo") will crash if we don't do a playParms here
MCI_PLAY_PARMS playParms;
playParms.dwCallback = (WORD)(HWND)m_ctrl->GetHWND();
playParms.dwCallback = (DWORD)(HWND)m_ctrl->GetHWND();
bool bOK = mciSendCommand(m_hDev, MCI_PLAY, MCI_NOTIFY, (DWORD)(LPVOID)&playParms) == 0;
return (bOK) ;/*||
(mciSendCommand(m_hDev, MCI_RESUME, 0, 0) == 0);*/