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.8 2005-09-09 11:34:51 suxen_drol Exp $ |
* $Id: driverproc.c,v 1.9 2008-11-30 16:36:44 Isibaar Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
35 |
|
|
36 |
static int clean_dll_bindings(CODEC* codec); |
static int clean_dll_bindings(CODEC* codec); |
37 |
|
|
38 |
BOOL WINAPI DllMain( |
INT_PTR WINAPI DllMain( |
39 |
HANDLE hModule, |
HANDLE hModule, |
40 |
DWORD ul_reason_for_call, |
DWORD ul_reason_for_call, |
41 |
LPVOID lpReserved) |
LPVOID lpReserved) |
310 |
{ |
{ |
311 |
DWORD dwDriverId; |
DWORD dwDriverId; |
312 |
|
|
313 |
dwDriverId = DriverProc(0, 0, DRV_OPEN, 0, 0); |
dwDriverId = (DWORD) DriverProc(0, 0, DRV_OPEN, 0, 0); |
314 |
if (dwDriverId != (DWORD)NULL) |
if (dwDriverId != (DWORD)NULL) |
315 |
{ |
{ |
316 |
if (lstrcmpi(lpCmdLine, "about")==0) { |
if (lstrcmpi(lpCmdLine, "about")==0) { |