I tried to get current channel but it return nothing,also vdeo size is the same thing , my code as below:
for epg:
TEPGInfo ep;
ep.dwSize = sizeof(TEPGInfo);
SendMessage(m_hWndDream,WM_MODULE_MSG,DDMODAPI_GET_EPG_CURRENT,(LPARAM) &ep);
MessageBox(NULL,ep.EventName,ep.EventName,MB_OK);[/color]
and for getting video size:
DWORD tmp[6];
SendMessage(m_hWndDream, WM_MODULE_MSG, DDMODAPI_GET_VIDEO_INFO, (LPARAM)tmp);
if(tmp[1])
{
st.Format(_T("%dx%d MPEG2"),tmp[1]&0xFFFF,tmp[1]>>16);
draw(st,400,15,RGB(0,255,0));
}
can anyone correct the code?
thanks
🌟 Recommended Tools & Services
• Formify.one - Free Online Form Creator (Better than Google Forms). - Create Professional Forms That Match Your Business, Form Builder That Actually Helps You Collect More Responses
• CrispShare - Screenshot Editor That Makes Your Work Look Professional (Without Design Skills). - Make Your Screenshots Stand Out in Crowded Social Feeds
• DVB Dream - Best TV Reception/Record software for your computer DVB add on. - Stop Missing Your Favorite Shows - Record TV Directly to Your PC. Turn Your Computer Into a Professional TV Recorder. Unlock Its Full Potential With Professional TV Software
• CrispShare - Screenshot Editor That Makes Your Work Look Professional (Without Design Skills). - Make Your Screenshots Stand Out in Crowded Social Feeds
• DVB Dream - Best TV Reception/Record software for your computer DVB add on. - Stop Missing Your Favorite Shows - Record TV Directly to Your PC. Turn Your Computer Into a Professional TV Recorder. Unlock Its Full Potential With Professional TV Software