[svn] / trunk / xvidcore / vfw / src / driverproc.c Repository:
ViewVC logotype

Diff of /trunk/xvidcore/vfw/src/driverproc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1827, Sun Nov 30 16:38:31 2008 UTC revision 1910, Thu Dec 2 06:46:07 2010 UTC
# Line 3  Line 3 
3   *      XVID MPEG-4 VFW FRONTEND   *      XVID MPEG-4 VFW FRONTEND
4   *      - driverproc main -   *      - driverproc main -
5   *   *
6   *  Copyright(C) 2001-2003 Peter Ross <pross@xvid.org>   *  Copyright(C) 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
# Line 19  Line 19 
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.9 2008-11-30 16:36:44 Isibaar Exp $   * $Id: driverproc.c,v 1.12 2010-12-02 06:46:07 Isibaar Exp $
23   *   *
24   ****************************************************************************/   ****************************************************************************/
25    
# Line 45  Line 45 
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,
# Line 308  Line 308 
308    
309  void WINAPI Configure(HWND hwnd, HINSTANCE hinst, LPTSTR lpCmdLine, int nCmdShow)  void WINAPI Configure(HWND hwnd, HINSTANCE hinst, LPTSTR lpCmdLine, int nCmdShow)
310  {  {
311          DWORD dwDriverId;          LRESULT 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);

Legend:
Removed from v.1827  
changed lines
  Added in v.1910

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4