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:
parent
e653e18150
commit
cf2372509c
@ -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);*/
|
||||
|
Loading…
Reference in New Issue
Block a user