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.4.1 2008-11-30 16:38:31 Isibaar Exp $ |
* $Id: driverproc.c,v 1.8.4.2 2008-11-30 17:57:14 Isibaar Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
45 |
} |
} |
46 |
|
|
47 |
/* __declspec(dllexport) */ LRESULT WINAPI DriverProc( |
/* __declspec(dllexport) */ LRESULT WINAPI DriverProc( |
48 |
DWORD dwDriverId, |
DWORD_PTR dwDriverId, |
49 |
HDRVR hDriver, |
HDRVR hDriver, |
50 |
UINT uMsg, |
UINT uMsg, |
51 |
LPARAM lParam1, |
LPARAM lParam1, |
310 |
{ |
{ |
311 |
DWORD dwDriverId; |
DWORD dwDriverId; |
312 |
|
|
313 |
dwDriverId = (DWORD) DriverProc(0, 0, DRV_OPEN, 0, 0); |
dwDriverId = (LRESULT) DriverProc(0, 0, DRV_OPEN, 0, 0); |
314 |
if (dwDriverId != (DWORD)NULL) |
if (dwDriverId != (LRESULT)NULL) |
315 |
{ |
{ |
316 |
if (lstrcmpi(lpCmdLine, "about")==0) { |
if (lstrcmpi(lpCmdLine, "about")==0) { |
317 |
DriverProc(dwDriverId, 0, ICM_ABOUT, (LPARAM)GetDesktopWindow(), 0); |
DriverProc(dwDriverId, 0, ICM_ABOUT, (LPARAM)GetDesktopWindow(), 0); |