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.2 2004-03-22 22:36:25 edgomez Exp $ |
* $Id: driverproc.c,v 1.3 2004-04-02 21:29:21 edgomez Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
43 |
return TRUE; |
return TRUE; |
44 |
} |
} |
45 |
|
|
|
extern HINSTANCE m_hdll; |
|
|
|
|
46 |
/* __declspec(dllexport) */ LRESULT WINAPI DriverProc( |
/* __declspec(dllexport) */ LRESULT WINAPI DriverProc( |
47 |
DWORD dwDriverId, |
DWORD dwDriverId, |
48 |
HDRVR hDriver, |
HDRVR hDriver, |
63 |
|
|
64 |
case DRV_OPEN : |
case DRV_OPEN : |
65 |
DPRINTF("DRV_OPEN"); |
DPRINTF("DRV_OPEN"); |
66 |
m_hdll = NULL; |
|
67 |
{ |
{ |
68 |
ICOPEN * icopen = (ICOPEN *)lParam2; |
ICOPEN * icopen = (ICOPEN *)lParam2; |
69 |
|
|
83 |
return 0; |
return 0; |
84 |
} |
} |
85 |
|
|
86 |
|
memset(codec, 0, sizeof(CODEC)); |
87 |
|
|
88 |
codec->status.hDlg = NULL; |
codec->status.hDlg = NULL; |
89 |
codec->config.ci_valid = 0; |
codec->config.ci_valid = 0; |