I need to set the record file name. My code looks like this
Code: Select all
char *name = "hello.mpg";
LRESULT res = SendMessage (AppWnd, WM_MODULE_MSG, DDMODAPI_SET_RECFILENAME, (LPARAM) name);
But starting a recording is working fine with this code.
Code: Select all
SendMessage (AppWnd, WM_MODULE_MSG, DDMODAPI_START_RECORD, 0);