The MCIWndGetPosition macro retrieves the numerical value of the current position within the content of the MCI device You can use this macro or explicitly send the MCIWNDM_GETPOSITION message
LONG MCIWndGetPosition(
hwnd
);
Parameters
hwnd
Handle of the MCIWnd window
Return Values
Returns an integer corresponding to the current position The units for the position value depend on the current time format
这个是用来设置播放进度的
MCIWndSetSpeed(m_Hwnd, MCIWNDM_SETSPEED,0,2000);
1000是默认速度,2000就是2倍速度
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)