[vlc-commits] activex: use correct prototype for public interfaces

Rafaël Carré git at videolan.org
Sat Nov 12 19:43:17 CET 2011


npapi-vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sat Nov 12 13:42:18 2011 -0500| [c852cdb8b3db25bdd80529ead1fe9f49cc0366e1] | committer: Rafaël Carré

activex: use correct prototype for public interfaces

DWORD -> ULONG_PTR

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=c852cdb8b3db25bdd80529ead1fe9f49cc0366e1
---

 activex/viewobject.cpp |    2 +-
 activex/viewobject.h   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/activex/viewobject.cpp b/activex/viewobject.cpp
index a194ff7..7bb9200 100644
--- a/activex/viewobject.cpp
+++ b/activex/viewobject.cpp
@@ -29,7 +29,7 @@ using namespace std;
 
 STDMETHODIMP VLCViewObject::Draw(DWORD dwAspect, LONG lindex, PVOID pvAspect,
         DVTARGETDEVICE *ptd, HDC hicTargetDev, HDC hdcDraw, LPCRECTL lprcBounds,
-        LPCRECTL lprcWBounds, BOOL(CALLBACK *pfnContinue)(DWORD), DWORD dwContinue)
+        LPCRECTL lprcWBounds, BOOL(CALLBACK *pfnContinue)(ULONG_PTR), ULONG_PTR dwContinue)
 {
     if( dwAspect & DVASPECT_CONTENT )
     {
diff --git a/activex/viewobject.h b/activex/viewobject.h
index 0b860c2..2c4e719 100644
--- a/activex/viewobject.h
+++ b/activex/viewobject.h
@@ -54,7 +54,7 @@ public:
     STDMETHODIMP_(ULONG) Release(void) { return _p_instance->pUnkOuter->Release(); };
 
     // IViewObject methods
-    STDMETHODIMP Draw(DWORD,LONG,PVOID,DVTARGETDEVICE*,HDC,HDC,LPCRECTL,LPCRECTL,BOOL(CALLBACK *)(DWORD),DWORD);
+    STDMETHODIMP Draw(DWORD,LONG,PVOID,DVTARGETDEVICE*,HDC,HDC,LPCRECTL,LPCRECTL,BOOL(CALLBACK *)(ULONG_PTR),ULONG_PTR);
     STDMETHODIMP Freeze(DWORD,LONG,PVOID,LPDWORD);
     STDMETHODIMP GetAdvise(LPDWORD,LPDWORD,LPADVISESINK *);
     STDMETHODIMP GetColorSet(DWORD,LONG,PVOID,DVTARGETDEVICE *,HDC,LPLOGPALETTE *);



More information about the vlc-commits mailing list