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

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

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

revision 1.8, Fri Sep 9 11:34:51 2005 UTC revision 1.8.4.2, Sun Nov 30 17:57:14 2008 UTC
# Line 35  Line 35 
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)
# 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 310  Line 310 
310  {  {
311          DWORD dwDriverId;          DWORD dwDriverId;
312    
313          dwDriverId = 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.1.8  
changed lines
  Added in v.1.8.4.2

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