1 |
/************************************************************************** |
/***************************************************************************** |
2 |
* |
* |
3 |
* XVID VFW FRONTEND |
* XVID MPEG-4 VFW FRONTEND |
4 |
* driverproc main |
* - driverproc main - |
5 |
|
* |
6 |
|
* Copyright(C) 2001-2003 Peter Ross <pross@xvid.org> |
7 |
* |
* |
8 |
* This program is free software; you can redistribute it and/or modify |
* This program is free software; you can redistribute it and/or modify |
9 |
* it under the terms of the GNU General Public License as published by |
* it under the terms of the GNU General Public License as published by |
17 |
* |
* |
18 |
* You should have received a copy of the GNU General Public License |
* You should have received a copy of the GNU General Public License |
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., 675 Mass Ave, Cambridge, MA 02139, USA. |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
* |
|
|
*************************************************************************/ |
|
|
|
|
|
/************************************************************************** |
|
21 |
* |
* |
22 |
* History: |
* $Id: driverproc.c,v 1.1.2.7 2004-01-03 12:06:11 syskin Exp $ |
23 |
* |
* |
24 |
* 31.08.2002 Configure() export |
****************************************************************************/ |
|
* 01.12.2001 inital version; (c)2001 peter ross <pross@xvid.org> |
|
|
* |
|
|
*************************************************************************/ |
|
25 |
|
|
26 |
#include <windows.h> |
#include <windows.h> |
27 |
#include <vfw.h> |
#include <vfw.h> |
43 |
return TRUE; |
return TRUE; |
44 |
} |
} |
45 |
|
|
46 |
|
extern HINSTANCE m_hdll; |
47 |
|
|
48 |
/* __declspec(dllexport) */ LRESULT WINAPI DriverProc( |
/* __declspec(dllexport) */ LRESULT WINAPI DriverProc( |
49 |
DWORD dwDriverId, |
DWORD dwDriverId, |
65 |
|
|
66 |
case DRV_OPEN : |
case DRV_OPEN : |
67 |
DPRINTF("DRV_OPEN"); |
DPRINTF("DRV_OPEN"); |
68 |
|
m_hdll = NULL; |
69 |
{ |
{ |
70 |
ICOPEN * icopen = (ICOPEN *)lParam2; |
ICOPEN * icopen = (ICOPEN *)lParam2; |
71 |
|
|