19 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
* |
* |
22 |
* $Id: driverproc.c,v 1.6 2004-07-15 11:53:46 suxen_drol Exp $ |
* $Id: driverproc.c,v 1.8 2005-09-09 11:34:51 suxen_drol Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
147 |
VIDCF_COMPRESSFRAMES; |
VIDCF_COMPRESSFRAMES; |
148 |
|
|
149 |
icinfo->dwVersion = 0; |
icinfo->dwVersion = 0; |
150 |
|
#if !defined(ICVERSION) |
151 |
|
#define ICVERSION 0x0104 |
152 |
|
#endif |
153 |
icinfo->dwVersionICM = ICVERSION; |
icinfo->dwVersionICM = ICVERSION; |
154 |
|
|
155 |
wcscpy(icinfo->szName, XVID_NAME_L); |
wcscpy(icinfo->szName, XVID_NAME_L); |
313 |
dwDriverId = DriverProc(0, 0, DRV_OPEN, 0, 0); |
dwDriverId = DriverProc(0, 0, DRV_OPEN, 0, 0); |
314 |
if (dwDriverId != (DWORD)NULL) |
if (dwDriverId != (DWORD)NULL) |
315 |
{ |
{ |
316 |
|
if (lstrcmpi(lpCmdLine, "about")==0) { |
317 |
|
DriverProc(dwDriverId, 0, ICM_ABOUT, (LPARAM)GetDesktopWindow(), 0); |
318 |
|
}else{ |
319 |
DriverProc(dwDriverId, 0, ICM_CONFIGURE, (LPARAM)GetDesktopWindow(), 0); |
DriverProc(dwDriverId, 0, ICM_CONFIGURE, (LPARAM)GetDesktopWindow(), 0); |
320 |
|
} |
321 |
DriverProc(dwDriverId, 0, DRV_CLOSE, 0, 0); |
DriverProc(dwDriverId, 0, DRV_CLOSE, 0, 0); |
322 |
} |
} |
323 |
} |
} |