Commit a3269bdc authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

quartz: Change long to LONG in control.idl.

parent 24dc6600
...@@ -1107,10 +1107,10 @@ static HRESULT WINAPI Basicaudio_Invoke(IBasicAudio *iface, ...@@ -1107,10 +1107,10 @@ static HRESULT WINAPI Basicaudio_Invoke(IBasicAudio *iface,
/*** IBasicAudio methods ***/ /*** IBasicAudio methods ***/
static HRESULT WINAPI Basicaudio_put_Volume(IBasicAudio *iface, static HRESULT WINAPI Basicaudio_put_Volume(IBasicAudio *iface,
long lVolume) { LONG lVolume) {
ICOM_THIS_MULTI(DSoundRenderImpl, IBasicAudio_vtbl, iface); ICOM_THIS_MULTI(DSoundRenderImpl, IBasicAudio_vtbl, iface);
TRACE("(%p/%p)->(%ld)\n", This, iface, lVolume); TRACE("(%p/%p)->(%d)\n", This, iface, lVolume);
if (lVolume > DSBVOLUME_MAX || lVolume < DSBVOLUME_MIN) if (lVolume > DSBVOLUME_MAX || lVolume < DSBVOLUME_MIN)
return E_INVALIDARG; return E_INVALIDARG;
...@@ -1125,7 +1125,7 @@ static HRESULT WINAPI Basicaudio_put_Volume(IBasicAudio *iface, ...@@ -1125,7 +1125,7 @@ static HRESULT WINAPI Basicaudio_put_Volume(IBasicAudio *iface,
} }
static HRESULT WINAPI Basicaudio_get_Volume(IBasicAudio *iface, static HRESULT WINAPI Basicaudio_get_Volume(IBasicAudio *iface,
long *plVolume) { LONG *plVolume) {
ICOM_THIS_MULTI(DSoundRenderImpl, IBasicAudio_vtbl, iface); ICOM_THIS_MULTI(DSoundRenderImpl, IBasicAudio_vtbl, iface);
TRACE("(%p/%p)->(%p)\n", This, iface, plVolume); TRACE("(%p/%p)->(%p)\n", This, iface, plVolume);
...@@ -1138,10 +1138,10 @@ static HRESULT WINAPI Basicaudio_get_Volume(IBasicAudio *iface, ...@@ -1138,10 +1138,10 @@ static HRESULT WINAPI Basicaudio_get_Volume(IBasicAudio *iface,
} }
static HRESULT WINAPI Basicaudio_put_Balance(IBasicAudio *iface, static HRESULT WINAPI Basicaudio_put_Balance(IBasicAudio *iface,
long lBalance) { LONG lBalance) {
ICOM_THIS_MULTI(DSoundRenderImpl, IBasicAudio_vtbl, iface); ICOM_THIS_MULTI(DSoundRenderImpl, IBasicAudio_vtbl, iface);
TRACE("(%p/%p)->(%ld)\n", This, iface, lBalance); TRACE("(%p/%p)->(%d)\n", This, iface, lBalance);
if (lBalance < DSBPAN_LEFT || lBalance > DSBPAN_RIGHT) if (lBalance < DSBPAN_LEFT || lBalance > DSBPAN_RIGHT)
return E_INVALIDARG; return E_INVALIDARG;
...@@ -1156,7 +1156,7 @@ static HRESULT WINAPI Basicaudio_put_Balance(IBasicAudio *iface, ...@@ -1156,7 +1156,7 @@ static HRESULT WINAPI Basicaudio_put_Balance(IBasicAudio *iface,
} }
static HRESULT WINAPI Basicaudio_get_Balance(IBasicAudio *iface, static HRESULT WINAPI Basicaudio_get_Balance(IBasicAudio *iface,
long *plBalance) { LONG *plBalance) {
ICOM_THIS_MULTI(DSoundRenderImpl, IBasicAudio_vtbl, iface); ICOM_THIS_MULTI(DSoundRenderImpl, IBasicAudio_vtbl, iface);
TRACE("(%p/%p)->(%p)\n", This, iface, plBalance); TRACE("(%p/%p)->(%p)\n", This, iface, plBalance);
......
...@@ -2852,12 +2852,12 @@ static HRESULT WINAPI BasicAudio_Invoke(IBasicAudio *iface, ...@@ -2852,12 +2852,12 @@ static HRESULT WINAPI BasicAudio_Invoke(IBasicAudio *iface,
/*** IBasicAudio methods ***/ /*** IBasicAudio methods ***/
static HRESULT WINAPI BasicAudio_put_Volume(IBasicAudio *iface, static HRESULT WINAPI BasicAudio_put_Volume(IBasicAudio *iface,
long lVolume) { LONG lVolume) {
ICOM_THIS_MULTI(IFilterGraphImpl, IBasicAudio_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IBasicAudio_vtbl, iface);
IBasicAudio* pBasicAudio; IBasicAudio* pBasicAudio;
HRESULT hr; HRESULT hr;
TRACE("(%p/%p)->(%ld)\n", This, iface, lVolume); TRACE("(%p/%p)->(%d)\n", This, iface, lVolume);
EnterCriticalSection(&This->cs); EnterCriticalSection(&This->cs);
...@@ -2872,7 +2872,7 @@ static HRESULT WINAPI BasicAudio_put_Volume(IBasicAudio *iface, ...@@ -2872,7 +2872,7 @@ static HRESULT WINAPI BasicAudio_put_Volume(IBasicAudio *iface,
} }
static HRESULT WINAPI BasicAudio_get_Volume(IBasicAudio *iface, static HRESULT WINAPI BasicAudio_get_Volume(IBasicAudio *iface,
long *plVolume) { LONG *plVolume) {
ICOM_THIS_MULTI(IFilterGraphImpl, IBasicAudio_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IBasicAudio_vtbl, iface);
IBasicAudio* pBasicAudio; IBasicAudio* pBasicAudio;
HRESULT hr; HRESULT hr;
...@@ -2892,12 +2892,12 @@ static HRESULT WINAPI BasicAudio_get_Volume(IBasicAudio *iface, ...@@ -2892,12 +2892,12 @@ static HRESULT WINAPI BasicAudio_get_Volume(IBasicAudio *iface,
} }
static HRESULT WINAPI BasicAudio_put_Balance(IBasicAudio *iface, static HRESULT WINAPI BasicAudio_put_Balance(IBasicAudio *iface,
long lBalance) { LONG lBalance) {
ICOM_THIS_MULTI(IFilterGraphImpl, IBasicAudio_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IBasicAudio_vtbl, iface);
IBasicAudio* pBasicAudio; IBasicAudio* pBasicAudio;
HRESULT hr; HRESULT hr;
TRACE("(%p/%p)->(%ld)\n", This, iface, lBalance); TRACE("(%p/%p)->(%d)\n", This, iface, lBalance);
EnterCriticalSection(&This->cs); EnterCriticalSection(&This->cs);
...@@ -2912,7 +2912,7 @@ static HRESULT WINAPI BasicAudio_put_Balance(IBasicAudio *iface, ...@@ -2912,7 +2912,7 @@ static HRESULT WINAPI BasicAudio_put_Balance(IBasicAudio *iface,
} }
static HRESULT WINAPI BasicAudio_get_Balance(IBasicAudio *iface, static HRESULT WINAPI BasicAudio_get_Balance(IBasicAudio *iface,
long *plBalance) { LONG *plBalance) {
ICOM_THIS_MULTI(IFilterGraphImpl, IBasicAudio_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IBasicAudio_vtbl, iface);
IBasicAudio* pBasicAudio; IBasicAudio* pBasicAudio;
HRESULT hr; HRESULT hr;
...@@ -3089,7 +3089,7 @@ static HRESULT WINAPI BasicVideo_get_AvgTimePerFrame(IBasicVideo2 *iface, ...@@ -3089,7 +3089,7 @@ static HRESULT WINAPI BasicVideo_get_AvgTimePerFrame(IBasicVideo2 *iface,
} }
static HRESULT WINAPI BasicVideo_get_BitRate(IBasicVideo2 *iface, static HRESULT WINAPI BasicVideo_get_BitRate(IBasicVideo2 *iface,
long *pBitRate) { LONG *pBitRate) {
ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface);
IBasicVideo* pBasicVideo; IBasicVideo* pBasicVideo;
HRESULT hr; HRESULT hr;
...@@ -3109,7 +3109,7 @@ static HRESULT WINAPI BasicVideo_get_BitRate(IBasicVideo2 *iface, ...@@ -3109,7 +3109,7 @@ static HRESULT WINAPI BasicVideo_get_BitRate(IBasicVideo2 *iface,
} }
static HRESULT WINAPI BasicVideo_get_BitErrorRate(IBasicVideo2 *iface, static HRESULT WINAPI BasicVideo_get_BitErrorRate(IBasicVideo2 *iface,
long *pBitErrorRate) { LONG *pBitErrorRate) {
ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface);
IBasicVideo* pBasicVideo; IBasicVideo* pBasicVideo;
HRESULT hr; HRESULT hr;
...@@ -3129,7 +3129,7 @@ static HRESULT WINAPI BasicVideo_get_BitErrorRate(IBasicVideo2 *iface, ...@@ -3129,7 +3129,7 @@ static HRESULT WINAPI BasicVideo_get_BitErrorRate(IBasicVideo2 *iface,
} }
static HRESULT WINAPI BasicVideo_get_VideoWidth(IBasicVideo2 *iface, static HRESULT WINAPI BasicVideo_get_VideoWidth(IBasicVideo2 *iface,
long *pVideoWidth) { LONG *pVideoWidth) {
ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface);
IBasicVideo* pBasicVideo; IBasicVideo* pBasicVideo;
HRESULT hr; HRESULT hr;
...@@ -3149,7 +3149,7 @@ static HRESULT WINAPI BasicVideo_get_VideoWidth(IBasicVideo2 *iface, ...@@ -3149,7 +3149,7 @@ static HRESULT WINAPI BasicVideo_get_VideoWidth(IBasicVideo2 *iface,
} }
static HRESULT WINAPI BasicVideo_get_VideoHeight(IBasicVideo2 *iface, static HRESULT WINAPI BasicVideo_get_VideoHeight(IBasicVideo2 *iface,
long *pVideoHeight) { LONG *pVideoHeight) {
ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface);
IBasicVideo* pBasicVideo; IBasicVideo* pBasicVideo;
HRESULT hr; HRESULT hr;
...@@ -3169,12 +3169,12 @@ static HRESULT WINAPI BasicVideo_get_VideoHeight(IBasicVideo2 *iface, ...@@ -3169,12 +3169,12 @@ static HRESULT WINAPI BasicVideo_get_VideoHeight(IBasicVideo2 *iface,
} }
static HRESULT WINAPI BasicVideo_put_SourceLeft(IBasicVideo2 *iface, static HRESULT WINAPI BasicVideo_put_SourceLeft(IBasicVideo2 *iface,
long SourceLeft) { LONG SourceLeft) {
ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface);
IBasicVideo* pBasicVideo; IBasicVideo* pBasicVideo;
HRESULT hr; HRESULT hr;
TRACE("(%p/%p)->(%ld)\n", This, iface, SourceLeft); TRACE("(%p/%p)->(%d)\n", This, iface, SourceLeft);
EnterCriticalSection(&This->cs); EnterCriticalSection(&This->cs);
...@@ -3189,7 +3189,7 @@ static HRESULT WINAPI BasicVideo_put_SourceLeft(IBasicVideo2 *iface, ...@@ -3189,7 +3189,7 @@ static HRESULT WINAPI BasicVideo_put_SourceLeft(IBasicVideo2 *iface,
} }
static HRESULT WINAPI BasicVideo_get_SourceLeft(IBasicVideo2 *iface, static HRESULT WINAPI BasicVideo_get_SourceLeft(IBasicVideo2 *iface,
long *pSourceLeft) { LONG *pSourceLeft) {
ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface);
IBasicVideo* pBasicVideo; IBasicVideo* pBasicVideo;
HRESULT hr; HRESULT hr;
...@@ -3209,12 +3209,12 @@ static HRESULT WINAPI BasicVideo_get_SourceLeft(IBasicVideo2 *iface, ...@@ -3209,12 +3209,12 @@ static HRESULT WINAPI BasicVideo_get_SourceLeft(IBasicVideo2 *iface,
} }
static HRESULT WINAPI BasicVideo_put_SourceWidth(IBasicVideo2 *iface, static HRESULT WINAPI BasicVideo_put_SourceWidth(IBasicVideo2 *iface,
long SourceWidth) { LONG SourceWidth) {
ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface);
IBasicVideo* pBasicVideo; IBasicVideo* pBasicVideo;
HRESULT hr; HRESULT hr;
TRACE("(%p/%p)->(%ld)\n", This, iface, SourceWidth); TRACE("(%p/%p)->(%d)\n", This, iface, SourceWidth);
EnterCriticalSection(&This->cs); EnterCriticalSection(&This->cs);
...@@ -3229,7 +3229,7 @@ static HRESULT WINAPI BasicVideo_put_SourceWidth(IBasicVideo2 *iface, ...@@ -3229,7 +3229,7 @@ static HRESULT WINAPI BasicVideo_put_SourceWidth(IBasicVideo2 *iface,
} }
static HRESULT WINAPI BasicVideo_get_SourceWidth(IBasicVideo2 *iface, static HRESULT WINAPI BasicVideo_get_SourceWidth(IBasicVideo2 *iface,
long *pSourceWidth) { LONG *pSourceWidth) {
ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface);
IBasicVideo* pBasicVideo; IBasicVideo* pBasicVideo;
HRESULT hr; HRESULT hr;
...@@ -3249,12 +3249,12 @@ static HRESULT WINAPI BasicVideo_get_SourceWidth(IBasicVideo2 *iface, ...@@ -3249,12 +3249,12 @@ static HRESULT WINAPI BasicVideo_get_SourceWidth(IBasicVideo2 *iface,
} }
static HRESULT WINAPI BasicVideo_put_SourceTop(IBasicVideo2 *iface, static HRESULT WINAPI BasicVideo_put_SourceTop(IBasicVideo2 *iface,
long SourceTop) { LONG SourceTop) {
ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface);
IBasicVideo* pBasicVideo; IBasicVideo* pBasicVideo;
HRESULT hr; HRESULT hr;
TRACE("(%p/%p)->(%ld)\n", This, iface, SourceTop); TRACE("(%p/%p)->(%d)\n", This, iface, SourceTop);
EnterCriticalSection(&This->cs); EnterCriticalSection(&This->cs);
...@@ -3269,7 +3269,7 @@ static HRESULT WINAPI BasicVideo_put_SourceTop(IBasicVideo2 *iface, ...@@ -3269,7 +3269,7 @@ static HRESULT WINAPI BasicVideo_put_SourceTop(IBasicVideo2 *iface,
} }
static HRESULT WINAPI BasicVideo_get_SourceTop(IBasicVideo2 *iface, static HRESULT WINAPI BasicVideo_get_SourceTop(IBasicVideo2 *iface,
long *pSourceTop) { LONG *pSourceTop) {
ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface);
IBasicVideo* pBasicVideo; IBasicVideo* pBasicVideo;
HRESULT hr; HRESULT hr;
...@@ -3289,12 +3289,12 @@ static HRESULT WINAPI BasicVideo_get_SourceTop(IBasicVideo2 *iface, ...@@ -3289,12 +3289,12 @@ static HRESULT WINAPI BasicVideo_get_SourceTop(IBasicVideo2 *iface,
} }
static HRESULT WINAPI BasicVideo_put_SourceHeight(IBasicVideo2 *iface, static HRESULT WINAPI BasicVideo_put_SourceHeight(IBasicVideo2 *iface,
long SourceHeight) { LONG SourceHeight) {
ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface);
IBasicVideo* pBasicVideo; IBasicVideo* pBasicVideo;
HRESULT hr; HRESULT hr;
TRACE("(%p/%p)->(%ld)\n", This, iface, SourceHeight); TRACE("(%p/%p)->(%d)\n", This, iface, SourceHeight);
EnterCriticalSection(&This->cs); EnterCriticalSection(&This->cs);
...@@ -3309,7 +3309,7 @@ static HRESULT WINAPI BasicVideo_put_SourceHeight(IBasicVideo2 *iface, ...@@ -3309,7 +3309,7 @@ static HRESULT WINAPI BasicVideo_put_SourceHeight(IBasicVideo2 *iface,
} }
static HRESULT WINAPI BasicVideo_get_SourceHeight(IBasicVideo2 *iface, static HRESULT WINAPI BasicVideo_get_SourceHeight(IBasicVideo2 *iface,
long *pSourceHeight) { LONG *pSourceHeight) {
ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface);
IBasicVideo* pBasicVideo; IBasicVideo* pBasicVideo;
HRESULT hr; HRESULT hr;
...@@ -3329,12 +3329,12 @@ static HRESULT WINAPI BasicVideo_get_SourceHeight(IBasicVideo2 *iface, ...@@ -3329,12 +3329,12 @@ static HRESULT WINAPI BasicVideo_get_SourceHeight(IBasicVideo2 *iface,
} }
static HRESULT WINAPI BasicVideo_put_DestinationLeft(IBasicVideo2 *iface, static HRESULT WINAPI BasicVideo_put_DestinationLeft(IBasicVideo2 *iface,
long DestinationLeft) { LONG DestinationLeft) {
ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface);
IBasicVideo* pBasicVideo; IBasicVideo* pBasicVideo;
HRESULT hr; HRESULT hr;
TRACE("(%p/%p)->(%ld)\n", This, iface, DestinationLeft); TRACE("(%p/%p)->(%d)\n", This, iface, DestinationLeft);
EnterCriticalSection(&This->cs); EnterCriticalSection(&This->cs);
...@@ -3349,7 +3349,7 @@ static HRESULT WINAPI BasicVideo_put_DestinationLeft(IBasicVideo2 *iface, ...@@ -3349,7 +3349,7 @@ static HRESULT WINAPI BasicVideo_put_DestinationLeft(IBasicVideo2 *iface,
} }
static HRESULT WINAPI BasicVideo_get_DestinationLeft(IBasicVideo2 *iface, static HRESULT WINAPI BasicVideo_get_DestinationLeft(IBasicVideo2 *iface,
long *pDestinationLeft) { LONG *pDestinationLeft) {
ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface);
IBasicVideo* pBasicVideo; IBasicVideo* pBasicVideo;
HRESULT hr; HRESULT hr;
...@@ -3369,12 +3369,12 @@ static HRESULT WINAPI BasicVideo_get_DestinationLeft(IBasicVideo2 *iface, ...@@ -3369,12 +3369,12 @@ static HRESULT WINAPI BasicVideo_get_DestinationLeft(IBasicVideo2 *iface,
} }
static HRESULT WINAPI BasicVideo_put_DestinationWidth(IBasicVideo2 *iface, static HRESULT WINAPI BasicVideo_put_DestinationWidth(IBasicVideo2 *iface,
long DestinationWidth) { LONG DestinationWidth) {
ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface);
IBasicVideo* pBasicVideo; IBasicVideo* pBasicVideo;
HRESULT hr; HRESULT hr;
TRACE("(%p/%p)->(%ld)\n", This, iface, DestinationWidth); TRACE("(%p/%p)->(%d)\n", This, iface, DestinationWidth);
EnterCriticalSection(&This->cs); EnterCriticalSection(&This->cs);
...@@ -3389,7 +3389,7 @@ static HRESULT WINAPI BasicVideo_put_DestinationWidth(IBasicVideo2 *iface, ...@@ -3389,7 +3389,7 @@ static HRESULT WINAPI BasicVideo_put_DestinationWidth(IBasicVideo2 *iface,
} }
static HRESULT WINAPI BasicVideo_get_DestinationWidth(IBasicVideo2 *iface, static HRESULT WINAPI BasicVideo_get_DestinationWidth(IBasicVideo2 *iface,
long *pDestinationWidth) { LONG *pDestinationWidth) {
ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface);
IBasicVideo* pBasicVideo; IBasicVideo* pBasicVideo;
HRESULT hr; HRESULT hr;
...@@ -3409,12 +3409,12 @@ static HRESULT WINAPI BasicVideo_get_DestinationWidth(IBasicVideo2 *iface, ...@@ -3409,12 +3409,12 @@ static HRESULT WINAPI BasicVideo_get_DestinationWidth(IBasicVideo2 *iface,
} }
static HRESULT WINAPI BasicVideo_put_DestinationTop(IBasicVideo2 *iface, static HRESULT WINAPI BasicVideo_put_DestinationTop(IBasicVideo2 *iface,
long DestinationTop) { LONG DestinationTop) {
ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface);
IBasicVideo* pBasicVideo; IBasicVideo* pBasicVideo;
HRESULT hr; HRESULT hr;
TRACE("(%p/%p)->(%ld)\n", This, iface, DestinationTop); TRACE("(%p/%p)->(%d)\n", This, iface, DestinationTop);
EnterCriticalSection(&This->cs); EnterCriticalSection(&This->cs);
...@@ -3429,7 +3429,7 @@ static HRESULT WINAPI BasicVideo_put_DestinationTop(IBasicVideo2 *iface, ...@@ -3429,7 +3429,7 @@ static HRESULT WINAPI BasicVideo_put_DestinationTop(IBasicVideo2 *iface,
} }
static HRESULT WINAPI BasicVideo_get_DestinationTop(IBasicVideo2 *iface, static HRESULT WINAPI BasicVideo_get_DestinationTop(IBasicVideo2 *iface,
long *pDestinationTop) { LONG *pDestinationTop) {
ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface);
IBasicVideo* pBasicVideo; IBasicVideo* pBasicVideo;
HRESULT hr; HRESULT hr;
...@@ -3449,12 +3449,12 @@ static HRESULT WINAPI BasicVideo_get_DestinationTop(IBasicVideo2 *iface, ...@@ -3449,12 +3449,12 @@ static HRESULT WINAPI BasicVideo_get_DestinationTop(IBasicVideo2 *iface,
} }
static HRESULT WINAPI BasicVideo_put_DestinationHeight(IBasicVideo2 *iface, static HRESULT WINAPI BasicVideo_put_DestinationHeight(IBasicVideo2 *iface,
long DestinationHeight) { LONG DestinationHeight) {
ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface);
IBasicVideo* pBasicVideo; IBasicVideo* pBasicVideo;
HRESULT hr; HRESULT hr;
TRACE("(%p/%p)->(%ld)\n", This, iface, DestinationHeight); TRACE("(%p/%p)->(%d)\n", This, iface, DestinationHeight);
EnterCriticalSection(&This->cs); EnterCriticalSection(&This->cs);
...@@ -3469,7 +3469,7 @@ static HRESULT WINAPI BasicVideo_put_DestinationHeight(IBasicVideo2 *iface, ...@@ -3469,7 +3469,7 @@ static HRESULT WINAPI BasicVideo_put_DestinationHeight(IBasicVideo2 *iface,
} }
static HRESULT WINAPI BasicVideo_get_DestinationHeight(IBasicVideo2 *iface, static HRESULT WINAPI BasicVideo_get_DestinationHeight(IBasicVideo2 *iface,
long *pDestinationHeight) { LONG *pDestinationHeight) {
ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface);
IBasicVideo* pBasicVideo; IBasicVideo* pBasicVideo;
HRESULT hr; HRESULT hr;
...@@ -3489,15 +3489,15 @@ static HRESULT WINAPI BasicVideo_get_DestinationHeight(IBasicVideo2 *iface, ...@@ -3489,15 +3489,15 @@ static HRESULT WINAPI BasicVideo_get_DestinationHeight(IBasicVideo2 *iface,
} }
static HRESULT WINAPI BasicVideo_SetSourcePosition(IBasicVideo2 *iface, static HRESULT WINAPI BasicVideo_SetSourcePosition(IBasicVideo2 *iface,
long Left, LONG Left,
long Top, LONG Top,
long Width, LONG Width,
long Height) { LONG Height) {
ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface);
IBasicVideo* pBasicVideo; IBasicVideo* pBasicVideo;
HRESULT hr; HRESULT hr;
TRACE("(%p/%p)->(%ld, %ld, %ld, %ld)\n", This, iface, Left, Top, Width, Height); TRACE("(%p/%p)->(%d, %d, %d, %d)\n", This, iface, Left, Top, Width, Height);
EnterCriticalSection(&This->cs); EnterCriticalSection(&This->cs);
...@@ -3512,10 +3512,10 @@ static HRESULT WINAPI BasicVideo_SetSourcePosition(IBasicVideo2 *iface, ...@@ -3512,10 +3512,10 @@ static HRESULT WINAPI BasicVideo_SetSourcePosition(IBasicVideo2 *iface,
} }
static HRESULT WINAPI BasicVideo_GetSourcePosition(IBasicVideo2 *iface, static HRESULT WINAPI BasicVideo_GetSourcePosition(IBasicVideo2 *iface,
long *pLeft, LONG *pLeft,
long *pTop, LONG *pTop,
long *pWidth, LONG *pWidth,
long *pHeight) { LONG *pHeight) {
ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface);
IBasicVideo* pBasicVideo; IBasicVideo* pBasicVideo;
HRESULT hr; HRESULT hr;
...@@ -3554,15 +3554,15 @@ static HRESULT WINAPI BasicVideo_SetDefaultSourcePosition(IBasicVideo2 *iface) { ...@@ -3554,15 +3554,15 @@ static HRESULT WINAPI BasicVideo_SetDefaultSourcePosition(IBasicVideo2 *iface) {
} }
static HRESULT WINAPI BasicVideo_SetDestinationPosition(IBasicVideo2 *iface, static HRESULT WINAPI BasicVideo_SetDestinationPosition(IBasicVideo2 *iface,
long Left, LONG Left,
long Top, LONG Top,
long Width, LONG Width,
long Height) { LONG Height) {
ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface);
IBasicVideo* pBasicVideo; IBasicVideo* pBasicVideo;
HRESULT hr; HRESULT hr;
TRACE("(%p/%p)->(%ld, %ld, %ld, %ld)\n", This, iface, Left, Top, Width, Height); TRACE("(%p/%p)->(%d, %d, %d, %d)\n", This, iface, Left, Top, Width, Height);
EnterCriticalSection(&This->cs); EnterCriticalSection(&This->cs);
...@@ -3577,10 +3577,10 @@ static HRESULT WINAPI BasicVideo_SetDestinationPosition(IBasicVideo2 *iface, ...@@ -3577,10 +3577,10 @@ static HRESULT WINAPI BasicVideo_SetDestinationPosition(IBasicVideo2 *iface,
} }
static HRESULT WINAPI BasicVideo_GetDestinationPosition(IBasicVideo2 *iface, static HRESULT WINAPI BasicVideo_GetDestinationPosition(IBasicVideo2 *iface,
long *pLeft, LONG *pLeft,
long *pTop, LONG *pTop,
long *pWidth, LONG *pWidth,
long *pHeight) { LONG *pHeight) {
ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface);
IBasicVideo* pBasicVideo; IBasicVideo* pBasicVideo;
HRESULT hr; HRESULT hr;
...@@ -3619,8 +3619,8 @@ static HRESULT WINAPI BasicVideo_SetDefaultDestinationPosition(IBasicVideo2 *ifa ...@@ -3619,8 +3619,8 @@ static HRESULT WINAPI BasicVideo_SetDefaultDestinationPosition(IBasicVideo2 *ifa
} }
static HRESULT WINAPI BasicVideo_GetVideoSize(IBasicVideo2 *iface, static HRESULT WINAPI BasicVideo_GetVideoSize(IBasicVideo2 *iface,
long *pWidth, LONG *pWidth,
long *pHeight) { LONG *pHeight) {
ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface);
IBasicVideo* pBasicVideo; IBasicVideo* pBasicVideo;
HRESULT hr; HRESULT hr;
...@@ -3640,15 +3640,15 @@ static HRESULT WINAPI BasicVideo_GetVideoSize(IBasicVideo2 *iface, ...@@ -3640,15 +3640,15 @@ static HRESULT WINAPI BasicVideo_GetVideoSize(IBasicVideo2 *iface,
} }
static HRESULT WINAPI BasicVideo_GetVideoPaletteEntries(IBasicVideo2 *iface, static HRESULT WINAPI BasicVideo_GetVideoPaletteEntries(IBasicVideo2 *iface,
long StartIndex, LONG StartIndex,
long Entries, LONG Entries,
long *pRetrieved, LONG *pRetrieved,
long *pPalette) { LONG *pPalette) {
ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface);
IBasicVideo* pBasicVideo; IBasicVideo* pBasicVideo;
HRESULT hr; HRESULT hr;
TRACE("(%p/%p)->(%ld, %ld, %p, %p)\n", This, iface, StartIndex, Entries, pRetrieved, pPalette); TRACE("(%p/%p)->(%d, %d, %p, %p)\n", This, iface, StartIndex, Entries, pRetrieved, pPalette);
EnterCriticalSection(&This->cs); EnterCriticalSection(&This->cs);
...@@ -3663,8 +3663,8 @@ static HRESULT WINAPI BasicVideo_GetVideoPaletteEntries(IBasicVideo2 *iface, ...@@ -3663,8 +3663,8 @@ static HRESULT WINAPI BasicVideo_GetVideoPaletteEntries(IBasicVideo2 *iface,
} }
static HRESULT WINAPI BasicVideo_GetCurrentImage(IBasicVideo2 *iface, static HRESULT WINAPI BasicVideo_GetCurrentImage(IBasicVideo2 *iface,
long *pBufferSize, LONG *pBufferSize,
long *pDIBImage) { LONG *pDIBImage) {
ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IBasicVideo_vtbl, iface);
IBasicVideo* pBasicVideo; IBasicVideo* pBasicVideo;
HRESULT hr; HRESULT hr;
...@@ -3949,12 +3949,12 @@ static HRESULT WINAPI VideoWindow_get_Caption(IVideoWindow *iface, ...@@ -3949,12 +3949,12 @@ static HRESULT WINAPI VideoWindow_get_Caption(IVideoWindow *iface,
} }
static HRESULT WINAPI VideoWindow_put_WindowStyle(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_put_WindowStyle(IVideoWindow *iface,
long WindowStyle) { LONG WindowStyle) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
TRACE("(%p/%p)->(%ld)\n", This, iface, WindowStyle); TRACE("(%p/%p)->(%d)\n", This, iface, WindowStyle);
EnterCriticalSection(&This->cs); EnterCriticalSection(&This->cs);
...@@ -3969,7 +3969,7 @@ static HRESULT WINAPI VideoWindow_put_WindowStyle(IVideoWindow *iface, ...@@ -3969,7 +3969,7 @@ static HRESULT WINAPI VideoWindow_put_WindowStyle(IVideoWindow *iface,
} }
static HRESULT WINAPI VideoWindow_get_WindowStyle(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_get_WindowStyle(IVideoWindow *iface,
long *WindowStyle) { LONG *WindowStyle) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
...@@ -3989,12 +3989,12 @@ static HRESULT WINAPI VideoWindow_get_WindowStyle(IVideoWindow *iface, ...@@ -3989,12 +3989,12 @@ static HRESULT WINAPI VideoWindow_get_WindowStyle(IVideoWindow *iface,
} }
static HRESULT WINAPI VideoWindow_put_WindowStyleEx(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_put_WindowStyleEx(IVideoWindow *iface,
long WindowStyleEx) { LONG WindowStyleEx) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
TRACE("(%p/%p)->(%ld)\n", This, iface, WindowStyleEx); TRACE("(%p/%p)->(%d)\n", This, iface, WindowStyleEx);
EnterCriticalSection(&This->cs); EnterCriticalSection(&This->cs);
...@@ -4009,7 +4009,7 @@ static HRESULT WINAPI VideoWindow_put_WindowStyleEx(IVideoWindow *iface, ...@@ -4009,7 +4009,7 @@ static HRESULT WINAPI VideoWindow_put_WindowStyleEx(IVideoWindow *iface,
} }
static HRESULT WINAPI VideoWindow_get_WindowStyleEx(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_get_WindowStyleEx(IVideoWindow *iface,
long *WindowStyleEx) { LONG *WindowStyleEx) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
...@@ -4029,12 +4029,12 @@ static HRESULT WINAPI VideoWindow_get_WindowStyleEx(IVideoWindow *iface, ...@@ -4029,12 +4029,12 @@ static HRESULT WINAPI VideoWindow_get_WindowStyleEx(IVideoWindow *iface,
} }
static HRESULT WINAPI VideoWindow_put_AutoShow(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_put_AutoShow(IVideoWindow *iface,
long AutoShow) { LONG AutoShow) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
TRACE("(%p/%p)->(%ld)\n", This, iface, AutoShow); TRACE("(%p/%p)->(%d)\n", This, iface, AutoShow);
EnterCriticalSection(&This->cs); EnterCriticalSection(&This->cs);
...@@ -4049,7 +4049,7 @@ static HRESULT WINAPI VideoWindow_put_AutoShow(IVideoWindow *iface, ...@@ -4049,7 +4049,7 @@ static HRESULT WINAPI VideoWindow_put_AutoShow(IVideoWindow *iface,
} }
static HRESULT WINAPI VideoWindow_get_AutoShow(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_get_AutoShow(IVideoWindow *iface,
long *AutoShow) { LONG *AutoShow) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
...@@ -4069,12 +4069,12 @@ static HRESULT WINAPI VideoWindow_get_AutoShow(IVideoWindow *iface, ...@@ -4069,12 +4069,12 @@ static HRESULT WINAPI VideoWindow_get_AutoShow(IVideoWindow *iface,
} }
static HRESULT WINAPI VideoWindow_put_WindowState(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_put_WindowState(IVideoWindow *iface,
long WindowState) { LONG WindowState) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
TRACE("(%p/%p)->(%ld)\n", This, iface, WindowState); TRACE("(%p/%p)->(%d)\n", This, iface, WindowState);
EnterCriticalSection(&This->cs); EnterCriticalSection(&This->cs);
...@@ -4089,7 +4089,7 @@ static HRESULT WINAPI VideoWindow_put_WindowState(IVideoWindow *iface, ...@@ -4089,7 +4089,7 @@ static HRESULT WINAPI VideoWindow_put_WindowState(IVideoWindow *iface,
} }
static HRESULT WINAPI VideoWindow_get_WindowState(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_get_WindowState(IVideoWindow *iface,
long *WindowState) { LONG *WindowState) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
...@@ -4109,12 +4109,12 @@ static HRESULT WINAPI VideoWindow_get_WindowState(IVideoWindow *iface, ...@@ -4109,12 +4109,12 @@ static HRESULT WINAPI VideoWindow_get_WindowState(IVideoWindow *iface,
} }
static HRESULT WINAPI VideoWindow_put_BackgroundPalette(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_put_BackgroundPalette(IVideoWindow *iface,
long BackgroundPalette) { LONG BackgroundPalette) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
TRACE("(%p/%p)->(%ld)\n", This, iface, BackgroundPalette); TRACE("(%p/%p)->(%d)\n", This, iface, BackgroundPalette);
EnterCriticalSection(&This->cs); EnterCriticalSection(&This->cs);
...@@ -4129,7 +4129,7 @@ static HRESULT WINAPI VideoWindow_put_BackgroundPalette(IVideoWindow *iface, ...@@ -4129,7 +4129,7 @@ static HRESULT WINAPI VideoWindow_put_BackgroundPalette(IVideoWindow *iface,
} }
static HRESULT WINAPI VideoWindow_get_BackgroundPalette(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_get_BackgroundPalette(IVideoWindow *iface,
long *pBackgroundPalette) { LONG *pBackgroundPalette) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
...@@ -4149,12 +4149,12 @@ static HRESULT WINAPI VideoWindow_get_BackgroundPalette(IVideoWindow *iface, ...@@ -4149,12 +4149,12 @@ static HRESULT WINAPI VideoWindow_get_BackgroundPalette(IVideoWindow *iface,
} }
static HRESULT WINAPI VideoWindow_put_Visible(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_put_Visible(IVideoWindow *iface,
long Visible) { LONG Visible) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
TRACE("(%p/%p)->(%ld)\n", This, iface, Visible); TRACE("(%p/%p)->(%d)\n", This, iface, Visible);
EnterCriticalSection(&This->cs); EnterCriticalSection(&This->cs);
...@@ -4169,7 +4169,7 @@ static HRESULT WINAPI VideoWindow_put_Visible(IVideoWindow *iface, ...@@ -4169,7 +4169,7 @@ static HRESULT WINAPI VideoWindow_put_Visible(IVideoWindow *iface,
} }
static HRESULT WINAPI VideoWindow_get_Visible(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_get_Visible(IVideoWindow *iface,
long *pVisible) { LONG *pVisible) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
...@@ -4189,12 +4189,12 @@ static HRESULT WINAPI VideoWindow_get_Visible(IVideoWindow *iface, ...@@ -4189,12 +4189,12 @@ static HRESULT WINAPI VideoWindow_get_Visible(IVideoWindow *iface,
} }
static HRESULT WINAPI VideoWindow_put_Left(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_put_Left(IVideoWindow *iface,
long Left) { LONG Left) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
TRACE("(%p/%p)->(%ld)\n", This, iface, Left); TRACE("(%p/%p)->(%d)\n", This, iface, Left);
EnterCriticalSection(&This->cs); EnterCriticalSection(&This->cs);
...@@ -4209,7 +4209,7 @@ static HRESULT WINAPI VideoWindow_put_Left(IVideoWindow *iface, ...@@ -4209,7 +4209,7 @@ static HRESULT WINAPI VideoWindow_put_Left(IVideoWindow *iface,
} }
static HRESULT WINAPI VideoWindow_get_Left(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_get_Left(IVideoWindow *iface,
long *pLeft) { LONG *pLeft) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
...@@ -4229,12 +4229,12 @@ static HRESULT WINAPI VideoWindow_get_Left(IVideoWindow *iface, ...@@ -4229,12 +4229,12 @@ static HRESULT WINAPI VideoWindow_get_Left(IVideoWindow *iface,
} }
static HRESULT WINAPI VideoWindow_put_Width(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_put_Width(IVideoWindow *iface,
long Width) { LONG Width) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
TRACE("(%p/%p)->(%ld)\n", This, iface, Width); TRACE("(%p/%p)->(%d)\n", This, iface, Width);
EnterCriticalSection(&This->cs); EnterCriticalSection(&This->cs);
...@@ -4249,7 +4249,7 @@ static HRESULT WINAPI VideoWindow_put_Width(IVideoWindow *iface, ...@@ -4249,7 +4249,7 @@ static HRESULT WINAPI VideoWindow_put_Width(IVideoWindow *iface,
} }
static HRESULT WINAPI VideoWindow_get_Width(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_get_Width(IVideoWindow *iface,
long *pWidth) { LONG *pWidth) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
...@@ -4269,12 +4269,12 @@ static HRESULT WINAPI VideoWindow_get_Width(IVideoWindow *iface, ...@@ -4269,12 +4269,12 @@ static HRESULT WINAPI VideoWindow_get_Width(IVideoWindow *iface,
} }
static HRESULT WINAPI VideoWindow_put_Top(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_put_Top(IVideoWindow *iface,
long Top) { LONG Top) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
TRACE("(%p/%p)->(%ld)\n", This, iface, Top); TRACE("(%p/%p)->(%d)\n", This, iface, Top);
EnterCriticalSection(&This->cs); EnterCriticalSection(&This->cs);
...@@ -4289,7 +4289,7 @@ static HRESULT WINAPI VideoWindow_put_Top(IVideoWindow *iface, ...@@ -4289,7 +4289,7 @@ static HRESULT WINAPI VideoWindow_put_Top(IVideoWindow *iface,
} }
static HRESULT WINAPI VideoWindow_get_Top(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_get_Top(IVideoWindow *iface,
long *pTop) { LONG *pTop) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
...@@ -4309,12 +4309,12 @@ static HRESULT WINAPI VideoWindow_get_Top(IVideoWindow *iface, ...@@ -4309,12 +4309,12 @@ static HRESULT WINAPI VideoWindow_get_Top(IVideoWindow *iface,
} }
static HRESULT WINAPI VideoWindow_put_Height(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_put_Height(IVideoWindow *iface,
long Height) { LONG Height) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
TRACE("(%p/%p)->(%ld)\n", This, iface, Height); TRACE("(%p/%p)->(%d)\n", This, iface, Height);
EnterCriticalSection(&This->cs); EnterCriticalSection(&This->cs);
...@@ -4329,7 +4329,7 @@ static HRESULT WINAPI VideoWindow_put_Height(IVideoWindow *iface, ...@@ -4329,7 +4329,7 @@ static HRESULT WINAPI VideoWindow_put_Height(IVideoWindow *iface,
} }
static HRESULT WINAPI VideoWindow_get_Height(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_get_Height(IVideoWindow *iface,
long *pHeight) { LONG *pHeight) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
...@@ -4429,7 +4429,7 @@ static HRESULT WINAPI VideoWindow_get_MessageDrain(IVideoWindow *iface, ...@@ -4429,7 +4429,7 @@ static HRESULT WINAPI VideoWindow_get_MessageDrain(IVideoWindow *iface,
} }
static HRESULT WINAPI VideoWindow_get_BorderColor(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_get_BorderColor(IVideoWindow *iface,
long *Color) { LONG *Color) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
...@@ -4449,12 +4449,12 @@ static HRESULT WINAPI VideoWindow_get_BorderColor(IVideoWindow *iface, ...@@ -4449,12 +4449,12 @@ static HRESULT WINAPI VideoWindow_get_BorderColor(IVideoWindow *iface,
} }
static HRESULT WINAPI VideoWindow_put_BorderColor(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_put_BorderColor(IVideoWindow *iface,
long Color) { LONG Color) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
TRACE("(%p/%p)->(%ld)\n", This, iface, Color); TRACE("(%p/%p)->(%d)\n", This, iface, Color);
EnterCriticalSection(&This->cs); EnterCriticalSection(&This->cs);
...@@ -4469,7 +4469,7 @@ static HRESULT WINAPI VideoWindow_put_BorderColor(IVideoWindow *iface, ...@@ -4469,7 +4469,7 @@ static HRESULT WINAPI VideoWindow_put_BorderColor(IVideoWindow *iface,
} }
static HRESULT WINAPI VideoWindow_get_FullScreenMode(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_get_FullScreenMode(IVideoWindow *iface,
long *FullScreenMode) { LONG *FullScreenMode) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
...@@ -4489,12 +4489,12 @@ static HRESULT WINAPI VideoWindow_get_FullScreenMode(IVideoWindow *iface, ...@@ -4489,12 +4489,12 @@ static HRESULT WINAPI VideoWindow_get_FullScreenMode(IVideoWindow *iface,
} }
static HRESULT WINAPI VideoWindow_put_FullScreenMode(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_put_FullScreenMode(IVideoWindow *iface,
long FullScreenMode) { LONG FullScreenMode) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
TRACE("(%p/%p)->(%ld)\n", This, iface, FullScreenMode); TRACE("(%p/%p)->(%d)\n", This, iface, FullScreenMode);
EnterCriticalSection(&This->cs); EnterCriticalSection(&This->cs);
...@@ -4509,12 +4509,12 @@ static HRESULT WINAPI VideoWindow_put_FullScreenMode(IVideoWindow *iface, ...@@ -4509,12 +4509,12 @@ static HRESULT WINAPI VideoWindow_put_FullScreenMode(IVideoWindow *iface,
} }
static HRESULT WINAPI VideoWindow_SetWindowForeground(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_SetWindowForeground(IVideoWindow *iface,
long Focus) { LONG Focus) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
TRACE("(%p/%p)->(%ld)\n", This, iface, Focus); TRACE("(%p/%p)->(%d)\n", This, iface, Focus);
EnterCriticalSection(&This->cs); EnterCriticalSection(&This->cs);
...@@ -4530,14 +4530,14 @@ static HRESULT WINAPI VideoWindow_SetWindowForeground(IVideoWindow *iface, ...@@ -4530,14 +4530,14 @@ static HRESULT WINAPI VideoWindow_SetWindowForeground(IVideoWindow *iface,
static HRESULT WINAPI VideoWindow_NotifyOwnerMessage(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_NotifyOwnerMessage(IVideoWindow *iface,
OAHWND hwnd, OAHWND hwnd,
long uMsg, LONG uMsg,
LONG_PTR wParam, LONG_PTR wParam,
LONG_PTR lParam) { LONG_PTR lParam) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
TRACE("(%p/%p)->(%08x, %ld, %08lx, %08lx)\n", This, iface, (DWORD) hwnd, uMsg, wParam, lParam); TRACE("(%p/%p)->(%08lx, %d, %08lx, %08lx)\n", This, iface, hwnd, uMsg, wParam, lParam);
EnterCriticalSection(&This->cs); EnterCriticalSection(&This->cs);
...@@ -4552,15 +4552,15 @@ static HRESULT WINAPI VideoWindow_NotifyOwnerMessage(IVideoWindow *iface, ...@@ -4552,15 +4552,15 @@ static HRESULT WINAPI VideoWindow_NotifyOwnerMessage(IVideoWindow *iface,
} }
static HRESULT WINAPI VideoWindow_SetWindowPosition(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_SetWindowPosition(IVideoWindow *iface,
long Left, LONG Left,
long Top, LONG Top,
long Width, LONG Width,
long Height) { LONG Height) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
TRACE("(%p/%p)->(%ld, %ld, %ld, %ld)\n", This, iface, Left, Top, Width, Height); TRACE("(%p/%p)->(%d, %d, %d, %d)\n", This, iface, Left, Top, Width, Height);
EnterCriticalSection(&This->cs); EnterCriticalSection(&This->cs);
...@@ -4575,10 +4575,10 @@ static HRESULT WINAPI VideoWindow_SetWindowPosition(IVideoWindow *iface, ...@@ -4575,10 +4575,10 @@ static HRESULT WINAPI VideoWindow_SetWindowPosition(IVideoWindow *iface,
} }
static HRESULT WINAPI VideoWindow_GetWindowPosition(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_GetWindowPosition(IVideoWindow *iface,
long *pLeft, LONG *pLeft,
long *pTop, LONG *pTop,
long *pWidth, LONG *pWidth,
long *pHeight) { LONG *pHeight) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
...@@ -4598,8 +4598,8 @@ static HRESULT WINAPI VideoWindow_GetWindowPosition(IVideoWindow *iface, ...@@ -4598,8 +4598,8 @@ static HRESULT WINAPI VideoWindow_GetWindowPosition(IVideoWindow *iface,
} }
static HRESULT WINAPI VideoWindow_GetMinIdealImageSize(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_GetMinIdealImageSize(IVideoWindow *iface,
long *pWidth, LONG *pWidth,
long *pHeight) { LONG *pHeight) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
...@@ -4619,8 +4619,8 @@ static HRESULT WINAPI VideoWindow_GetMinIdealImageSize(IVideoWindow *iface, ...@@ -4619,8 +4619,8 @@ static HRESULT WINAPI VideoWindow_GetMinIdealImageSize(IVideoWindow *iface,
} }
static HRESULT WINAPI VideoWindow_GetMaxIdealImageSize(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_GetMaxIdealImageSize(IVideoWindow *iface,
long *pWidth, LONG *pWidth,
long *pHeight) { LONG *pHeight) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
...@@ -4640,10 +4640,10 @@ static HRESULT WINAPI VideoWindow_GetMaxIdealImageSize(IVideoWindow *iface, ...@@ -4640,10 +4640,10 @@ static HRESULT WINAPI VideoWindow_GetMaxIdealImageSize(IVideoWindow *iface,
} }
static HRESULT WINAPI VideoWindow_GetRestorePosition(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_GetRestorePosition(IVideoWindow *iface,
long *pLeft, LONG *pLeft,
long *pTop, LONG *pTop,
long *pWidth, LONG *pWidth,
long *pHeight) { LONG *pHeight) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
...@@ -4663,12 +4663,12 @@ static HRESULT WINAPI VideoWindow_GetRestorePosition(IVideoWindow *iface, ...@@ -4663,12 +4663,12 @@ static HRESULT WINAPI VideoWindow_GetRestorePosition(IVideoWindow *iface,
} }
static HRESULT WINAPI VideoWindow_HideCursor(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_HideCursor(IVideoWindow *iface,
long HideCursor) { LONG HideCursor) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
TRACE("(%p/%p)->(%ld)\n", This, iface, HideCursor); TRACE("(%p/%p)->(%d)\n", This, iface, HideCursor);
EnterCriticalSection(&This->cs); EnterCriticalSection(&This->cs);
...@@ -4683,7 +4683,7 @@ static HRESULT WINAPI VideoWindow_HideCursor(IVideoWindow *iface, ...@@ -4683,7 +4683,7 @@ static HRESULT WINAPI VideoWindow_HideCursor(IVideoWindow *iface,
} }
static HRESULT WINAPI VideoWindow_IsCursorHidden(IVideoWindow *iface, static HRESULT WINAPI VideoWindow_IsCursorHidden(IVideoWindow *iface,
long *CursorHidden) { LONG *CursorHidden) {
ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IVideoWindow_vtbl, iface);
IVideoWindow* pVideoWindow; IVideoWindow* pVideoWindow;
HRESULT hr; HRESULT hr;
...@@ -4844,14 +4844,14 @@ static HRESULT WINAPI MediaEvent_GetEventHandle(IMediaEventEx *iface, ...@@ -4844,14 +4844,14 @@ static HRESULT WINAPI MediaEvent_GetEventHandle(IMediaEventEx *iface,
} }
static HRESULT WINAPI MediaEvent_GetEvent(IMediaEventEx *iface, static HRESULT WINAPI MediaEvent_GetEvent(IMediaEventEx *iface,
long *lEventCode, LONG *lEventCode,
LONG_PTR *lParam1, LONG_PTR *lParam1,
LONG_PTR *lParam2, LONG_PTR *lParam2,
long msTimeout) { LONG msTimeout) {
ICOM_THIS_MULTI(IFilterGraphImpl, IMediaEventEx_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IMediaEventEx_vtbl, iface);
Event evt; Event evt;
TRACE("(%p/%p)->(%p, %p, %p, %ld)\n", This, iface, lEventCode, lParam1, lParam2, msTimeout); TRACE("(%p/%p)->(%p, %p, %p, %d)\n", This, iface, lEventCode, lParam1, lParam2, msTimeout);
if (EventsQueue_GetEvent(&This->evqueue, &evt, msTimeout)) if (EventsQueue_GetEvent(&This->evqueue, &evt, msTimeout))
{ {
...@@ -4866,11 +4866,11 @@ static HRESULT WINAPI MediaEvent_GetEvent(IMediaEventEx *iface, ...@@ -4866,11 +4866,11 @@ static HRESULT WINAPI MediaEvent_GetEvent(IMediaEventEx *iface,
} }
static HRESULT WINAPI MediaEvent_WaitForCompletion(IMediaEventEx *iface, static HRESULT WINAPI MediaEvent_WaitForCompletion(IMediaEventEx *iface,
long msTimeout, LONG msTimeout,
long *pEvCode) { LONG *pEvCode) {
ICOM_THIS_MULTI(IFilterGraphImpl, IMediaEventEx_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IMediaEventEx_vtbl, iface);
TRACE("(%p/%p)->(%ld, %p)\n", This, iface, msTimeout, pEvCode); TRACE("(%p/%p)->(%d, %p)\n", This, iface, msTimeout, pEvCode);
if (WaitForSingleObject(This->hEventCompletion, msTimeout) == WAIT_OBJECT_0) if (WaitForSingleObject(This->hEventCompletion, msTimeout) == WAIT_OBJECT_0)
{ {
...@@ -4883,10 +4883,10 @@ static HRESULT WINAPI MediaEvent_WaitForCompletion(IMediaEventEx *iface, ...@@ -4883,10 +4883,10 @@ static HRESULT WINAPI MediaEvent_WaitForCompletion(IMediaEventEx *iface,
} }
static HRESULT WINAPI MediaEvent_CancelDefaultHandling(IMediaEventEx *iface, static HRESULT WINAPI MediaEvent_CancelDefaultHandling(IMediaEventEx *iface,
long lEvCode) { LONG lEvCode) {
ICOM_THIS_MULTI(IFilterGraphImpl, IMediaEventEx_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IMediaEventEx_vtbl, iface);
TRACE("(%p/%p)->(%ld)\n", This, iface, lEvCode); TRACE("(%p/%p)->(%d)\n", This, iface, lEvCode);
if (lEvCode == EC_COMPLETE) if (lEvCode == EC_COMPLETE)
This->HandleEcComplete = FALSE; This->HandleEcComplete = FALSE;
...@@ -4901,10 +4901,10 @@ static HRESULT WINAPI MediaEvent_CancelDefaultHandling(IMediaEventEx *iface, ...@@ -4901,10 +4901,10 @@ static HRESULT WINAPI MediaEvent_CancelDefaultHandling(IMediaEventEx *iface,
} }
static HRESULT WINAPI MediaEvent_RestoreDefaultHandling(IMediaEventEx *iface, static HRESULT WINAPI MediaEvent_RestoreDefaultHandling(IMediaEventEx *iface,
long lEvCode) { LONG lEvCode) {
ICOM_THIS_MULTI(IFilterGraphImpl, IMediaEventEx_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IMediaEventEx_vtbl, iface);
TRACE("(%p/%p)->(%ld)\n", This, iface, lEvCode); TRACE("(%p/%p)->(%d)\n", This, iface, lEvCode);
if (lEvCode == EC_COMPLETE) if (lEvCode == EC_COMPLETE)
This->HandleEcComplete = TRUE; This->HandleEcComplete = TRUE;
...@@ -4919,12 +4919,12 @@ static HRESULT WINAPI MediaEvent_RestoreDefaultHandling(IMediaEventEx *iface, ...@@ -4919,12 +4919,12 @@ static HRESULT WINAPI MediaEvent_RestoreDefaultHandling(IMediaEventEx *iface,
} }
static HRESULT WINAPI MediaEvent_FreeEventParams(IMediaEventEx *iface, static HRESULT WINAPI MediaEvent_FreeEventParams(IMediaEventEx *iface,
long lEvCode, LONG lEvCode,
LONG_PTR lParam1, LONG_PTR lParam1,
LONG_PTR lParam2) { LONG_PTR lParam2) {
ICOM_THIS_MULTI(IFilterGraphImpl, IMediaEventEx_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IMediaEventEx_vtbl, iface);
TRACE("(%p/%p)->(%ld, %08lx, %08lx): stub !!!\n", This, iface, lEvCode, lParam1, lParam2); TRACE("(%p/%p)->(%d, %08lx, %08lx): stub !!!\n", This, iface, lEvCode, lParam1, lParam2);
return S_OK; return S_OK;
} }
...@@ -4932,11 +4932,11 @@ static HRESULT WINAPI MediaEvent_FreeEventParams(IMediaEventEx *iface, ...@@ -4932,11 +4932,11 @@ static HRESULT WINAPI MediaEvent_FreeEventParams(IMediaEventEx *iface,
/*** IMediaEventEx methods ***/ /*** IMediaEventEx methods ***/
static HRESULT WINAPI MediaEvent_SetNotifyWindow(IMediaEventEx *iface, static HRESULT WINAPI MediaEvent_SetNotifyWindow(IMediaEventEx *iface,
OAHWND hwnd, OAHWND hwnd,
long lMsg, LONG lMsg,
LONG_PTR lInstanceData) { LONG_PTR lInstanceData) {
ICOM_THIS_MULTI(IFilterGraphImpl, IMediaEventEx_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IMediaEventEx_vtbl, iface);
TRACE("(%p/%p)->(%08x, %ld, %08lx)\n", This, iface, (DWORD) hwnd, lMsg, lInstanceData); TRACE("(%p/%p)->(%08lx, %d, %08lx)\n", This, iface, hwnd, lMsg, lInstanceData);
This->notif.hWnd = (HWND)hwnd; This->notif.hWnd = (HWND)hwnd;
This->notif.msg = lMsg; This->notif.msg = lMsg;
...@@ -4946,10 +4946,10 @@ static HRESULT WINAPI MediaEvent_SetNotifyWindow(IMediaEventEx *iface, ...@@ -4946,10 +4946,10 @@ static HRESULT WINAPI MediaEvent_SetNotifyWindow(IMediaEventEx *iface,
} }
static HRESULT WINAPI MediaEvent_SetNotifyFlags(IMediaEventEx *iface, static HRESULT WINAPI MediaEvent_SetNotifyFlags(IMediaEventEx *iface,
long lNoNotifyFlags) { LONG lNoNotifyFlags) {
ICOM_THIS_MULTI(IFilterGraphImpl, IMediaEventEx_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IMediaEventEx_vtbl, iface);
TRACE("(%p/%p)->(%ld)\n", This, iface, lNoNotifyFlags); TRACE("(%p/%p)->(%d)\n", This, iface, lNoNotifyFlags);
if ((lNoNotifyFlags != 0) && (lNoNotifyFlags != 1)) if ((lNoNotifyFlags != 0) && (lNoNotifyFlags != 1))
return E_INVALIDARG; return E_INVALIDARG;
...@@ -4960,7 +4960,7 @@ static HRESULT WINAPI MediaEvent_SetNotifyFlags(IMediaEventEx *iface, ...@@ -4960,7 +4960,7 @@ static HRESULT WINAPI MediaEvent_SetNotifyFlags(IMediaEventEx *iface,
} }
static HRESULT WINAPI MediaEvent_GetNotifyFlags(IMediaEventEx *iface, static HRESULT WINAPI MediaEvent_GetNotifyFlags(IMediaEventEx *iface,
long *lplNoNotifyFlags) { LONG *lplNoNotifyFlags) {
ICOM_THIS_MULTI(IFilterGraphImpl, IMediaEventEx_vtbl, iface); ICOM_THIS_MULTI(IFilterGraphImpl, IMediaEventEx_vtbl, iface);
TRACE("(%p/%p)->(%p)\n", This, iface, lplNoNotifyFlags); TRACE("(%p/%p)->(%p)\n", This, iface, lplNoNotifyFlags);
......
...@@ -1184,7 +1184,7 @@ static HRESULT WINAPI Basicvideo_get_AvgTimePerFrame(IBasicVideo *iface, ...@@ -1184,7 +1184,7 @@ static HRESULT WINAPI Basicvideo_get_AvgTimePerFrame(IBasicVideo *iface,
} }
static HRESULT WINAPI Basicvideo_get_BitRate(IBasicVideo *iface, static HRESULT WINAPI Basicvideo_get_BitRate(IBasicVideo *iface,
long *pBitRate) { LONG *pBitRate) {
ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface);
FIXME("(%p/%p)->(%p): stub !!!\n", This, iface, pBitRate); FIXME("(%p/%p)->(%p): stub !!!\n", This, iface, pBitRate);
...@@ -1193,7 +1193,7 @@ static HRESULT WINAPI Basicvideo_get_BitRate(IBasicVideo *iface, ...@@ -1193,7 +1193,7 @@ static HRESULT WINAPI Basicvideo_get_BitRate(IBasicVideo *iface,
} }
static HRESULT WINAPI Basicvideo_get_BitErrorRate(IBasicVideo *iface, static HRESULT WINAPI Basicvideo_get_BitErrorRate(IBasicVideo *iface,
long *pBitErrorRate) { LONG *pBitErrorRate) {
ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface);
FIXME("(%p/%p)->(%p): stub !!!\n", This, iface, pBitErrorRate); FIXME("(%p/%p)->(%p): stub !!!\n", This, iface, pBitErrorRate);
...@@ -1202,7 +1202,7 @@ static HRESULT WINAPI Basicvideo_get_BitErrorRate(IBasicVideo *iface, ...@@ -1202,7 +1202,7 @@ static HRESULT WINAPI Basicvideo_get_BitErrorRate(IBasicVideo *iface,
} }
static HRESULT WINAPI Basicvideo_get_VideoWidth(IBasicVideo *iface, static HRESULT WINAPI Basicvideo_get_VideoWidth(IBasicVideo *iface,
long *pVideoWidth) { LONG *pVideoWidth) {
ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface);
TRACE("(%p/%p)->(%p)\n", This, iface, pVideoWidth); TRACE("(%p/%p)->(%p)\n", This, iface, pVideoWidth);
...@@ -1213,7 +1213,7 @@ static HRESULT WINAPI Basicvideo_get_VideoWidth(IBasicVideo *iface, ...@@ -1213,7 +1213,7 @@ static HRESULT WINAPI Basicvideo_get_VideoWidth(IBasicVideo *iface,
} }
static HRESULT WINAPI Basicvideo_get_VideoHeight(IBasicVideo *iface, static HRESULT WINAPI Basicvideo_get_VideoHeight(IBasicVideo *iface,
long *pVideoHeight) { LONG *pVideoHeight) {
ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface);
TRACE("(%p/%p)->(%p)\n", This, iface, pVideoHeight); TRACE("(%p/%p)->(%p)\n", This, iface, pVideoHeight);
...@@ -1224,10 +1224,10 @@ static HRESULT WINAPI Basicvideo_get_VideoHeight(IBasicVideo *iface, ...@@ -1224,10 +1224,10 @@ static HRESULT WINAPI Basicvideo_get_VideoHeight(IBasicVideo *iface,
} }
static HRESULT WINAPI Basicvideo_put_SourceLeft(IBasicVideo *iface, static HRESULT WINAPI Basicvideo_put_SourceLeft(IBasicVideo *iface,
long SourceLeft) { LONG SourceLeft) {
ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface);
TRACE("(%p/%p)->(%ld)\n", This, iface, SourceLeft); TRACE("(%p/%p)->(%d)\n", This, iface, SourceLeft);
This->SourceRect.left = SourceLeft; This->SourceRect.left = SourceLeft;
...@@ -1235,7 +1235,7 @@ static HRESULT WINAPI Basicvideo_put_SourceLeft(IBasicVideo *iface, ...@@ -1235,7 +1235,7 @@ static HRESULT WINAPI Basicvideo_put_SourceLeft(IBasicVideo *iface,
} }
static HRESULT WINAPI Basicvideo_get_SourceLeft(IBasicVideo *iface, static HRESULT WINAPI Basicvideo_get_SourceLeft(IBasicVideo *iface,
long *pSourceLeft) { LONG *pSourceLeft) {
ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface);
TRACE("(%p/%p)->(%p)\n", This, iface, pSourceLeft); TRACE("(%p/%p)->(%p)\n", This, iface, pSourceLeft);
...@@ -1246,10 +1246,10 @@ static HRESULT WINAPI Basicvideo_get_SourceLeft(IBasicVideo *iface, ...@@ -1246,10 +1246,10 @@ static HRESULT WINAPI Basicvideo_get_SourceLeft(IBasicVideo *iface,
} }
static HRESULT WINAPI Basicvideo_put_SourceWidth(IBasicVideo *iface, static HRESULT WINAPI Basicvideo_put_SourceWidth(IBasicVideo *iface,
long SourceWidth) { LONG SourceWidth) {
ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface);
TRACE("(%p/%p)->(%ld)\n", This, iface, SourceWidth); TRACE("(%p/%p)->(%d)\n", This, iface, SourceWidth);
This->SourceRect.right = This->SourceRect.left + SourceWidth; This->SourceRect.right = This->SourceRect.left + SourceWidth;
...@@ -1257,7 +1257,7 @@ static HRESULT WINAPI Basicvideo_put_SourceWidth(IBasicVideo *iface, ...@@ -1257,7 +1257,7 @@ static HRESULT WINAPI Basicvideo_put_SourceWidth(IBasicVideo *iface,
} }
static HRESULT WINAPI Basicvideo_get_SourceWidth(IBasicVideo *iface, static HRESULT WINAPI Basicvideo_get_SourceWidth(IBasicVideo *iface,
long *pSourceWidth) { LONG *pSourceWidth) {
ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface);
TRACE("(%p/%p)->(%p)\n", This, iface, pSourceWidth); TRACE("(%p/%p)->(%p)\n", This, iface, pSourceWidth);
...@@ -1268,10 +1268,10 @@ static HRESULT WINAPI Basicvideo_get_SourceWidth(IBasicVideo *iface, ...@@ -1268,10 +1268,10 @@ static HRESULT WINAPI Basicvideo_get_SourceWidth(IBasicVideo *iface,
} }
static HRESULT WINAPI Basicvideo_put_SourceTop(IBasicVideo *iface, static HRESULT WINAPI Basicvideo_put_SourceTop(IBasicVideo *iface,
long SourceTop) { LONG SourceTop) {
ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface);
TRACE("(%p/%p)->(%ld)\n", This, iface, SourceTop); TRACE("(%p/%p)->(%d)\n", This, iface, SourceTop);
This->SourceRect.top = SourceTop; This->SourceRect.top = SourceTop;
...@@ -1279,7 +1279,7 @@ static HRESULT WINAPI Basicvideo_put_SourceTop(IBasicVideo *iface, ...@@ -1279,7 +1279,7 @@ static HRESULT WINAPI Basicvideo_put_SourceTop(IBasicVideo *iface,
} }
static HRESULT WINAPI Basicvideo_get_SourceTop(IBasicVideo *iface, static HRESULT WINAPI Basicvideo_get_SourceTop(IBasicVideo *iface,
long *pSourceTop) { LONG *pSourceTop) {
ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface);
TRACE("(%p/%p)->(%p)\n", This, iface, pSourceTop); TRACE("(%p/%p)->(%p)\n", This, iface, pSourceTop);
...@@ -1290,10 +1290,10 @@ static HRESULT WINAPI Basicvideo_get_SourceTop(IBasicVideo *iface, ...@@ -1290,10 +1290,10 @@ static HRESULT WINAPI Basicvideo_get_SourceTop(IBasicVideo *iface,
} }
static HRESULT WINAPI Basicvideo_put_SourceHeight(IBasicVideo *iface, static HRESULT WINAPI Basicvideo_put_SourceHeight(IBasicVideo *iface,
long SourceHeight) { LONG SourceHeight) {
ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface);
TRACE("(%p/%p)->(%ld)\n", This, iface, SourceHeight); TRACE("(%p/%p)->(%d)\n", This, iface, SourceHeight);
This->SourceRect.bottom = This->SourceRect.top + SourceHeight; This->SourceRect.bottom = This->SourceRect.top + SourceHeight;
...@@ -1301,7 +1301,7 @@ static HRESULT WINAPI Basicvideo_put_SourceHeight(IBasicVideo *iface, ...@@ -1301,7 +1301,7 @@ static HRESULT WINAPI Basicvideo_put_SourceHeight(IBasicVideo *iface,
} }
static HRESULT WINAPI Basicvideo_get_SourceHeight(IBasicVideo *iface, static HRESULT WINAPI Basicvideo_get_SourceHeight(IBasicVideo *iface,
long *pSourceHeight) { LONG *pSourceHeight) {
ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface);
TRACE("(%p/%p)->(%p)\n", This, iface, pSourceHeight); TRACE("(%p/%p)->(%p)\n", This, iface, pSourceHeight);
...@@ -1312,10 +1312,10 @@ static HRESULT WINAPI Basicvideo_get_SourceHeight(IBasicVideo *iface, ...@@ -1312,10 +1312,10 @@ static HRESULT WINAPI Basicvideo_get_SourceHeight(IBasicVideo *iface,
} }
static HRESULT WINAPI Basicvideo_put_DestinationLeft(IBasicVideo *iface, static HRESULT WINAPI Basicvideo_put_DestinationLeft(IBasicVideo *iface,
long DestinationLeft) { LONG DestinationLeft) {
ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface);
TRACE("(%p/%p)->(%ld)\n", This, iface, DestinationLeft); TRACE("(%p/%p)->(%d)\n", This, iface, DestinationLeft);
This->DestRect.left = DestinationLeft; This->DestRect.left = DestinationLeft;
...@@ -1323,7 +1323,7 @@ static HRESULT WINAPI Basicvideo_put_DestinationLeft(IBasicVideo *iface, ...@@ -1323,7 +1323,7 @@ static HRESULT WINAPI Basicvideo_put_DestinationLeft(IBasicVideo *iface,
} }
static HRESULT WINAPI Basicvideo_get_DestinationLeft(IBasicVideo *iface, static HRESULT WINAPI Basicvideo_get_DestinationLeft(IBasicVideo *iface,
long *pDestinationLeft) { LONG *pDestinationLeft) {
ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface);
TRACE("(%p/%p)->(%p)\n", This, iface, pDestinationLeft); TRACE("(%p/%p)->(%p)\n", This, iface, pDestinationLeft);
...@@ -1334,10 +1334,10 @@ static HRESULT WINAPI Basicvideo_get_DestinationLeft(IBasicVideo *iface, ...@@ -1334,10 +1334,10 @@ static HRESULT WINAPI Basicvideo_get_DestinationLeft(IBasicVideo *iface,
} }
static HRESULT WINAPI Basicvideo_put_DestinationWidth(IBasicVideo *iface, static HRESULT WINAPI Basicvideo_put_DestinationWidth(IBasicVideo *iface,
long DestinationWidth) { LONG DestinationWidth) {
ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface);
TRACE("(%p/%p)->(%ld)\n", This, iface, DestinationWidth); TRACE("(%p/%p)->(%d)\n", This, iface, DestinationWidth);
This->DestRect.right = This->DestRect.left + DestinationWidth; This->DestRect.right = This->DestRect.left + DestinationWidth;
...@@ -1345,7 +1345,7 @@ static HRESULT WINAPI Basicvideo_put_DestinationWidth(IBasicVideo *iface, ...@@ -1345,7 +1345,7 @@ static HRESULT WINAPI Basicvideo_put_DestinationWidth(IBasicVideo *iface,
} }
static HRESULT WINAPI Basicvideo_get_DestinationWidth(IBasicVideo *iface, static HRESULT WINAPI Basicvideo_get_DestinationWidth(IBasicVideo *iface,
long *pDestinationWidth) { LONG *pDestinationWidth) {
ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface);
TRACE("(%p/%p)->(%p)\n", This, iface, pDestinationWidth); TRACE("(%p/%p)->(%p)\n", This, iface, pDestinationWidth);
...@@ -1356,10 +1356,10 @@ static HRESULT WINAPI Basicvideo_get_DestinationWidth(IBasicVideo *iface, ...@@ -1356,10 +1356,10 @@ static HRESULT WINAPI Basicvideo_get_DestinationWidth(IBasicVideo *iface,
} }
static HRESULT WINAPI Basicvideo_put_DestinationTop(IBasicVideo *iface, static HRESULT WINAPI Basicvideo_put_DestinationTop(IBasicVideo *iface,
long DestinationTop) { LONG DestinationTop) {
ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface);
TRACE("(%p/%p)->(%ld)\n", This, iface, DestinationTop); TRACE("(%p/%p)->(%d)\n", This, iface, DestinationTop);
This->DestRect.top = DestinationTop; This->DestRect.top = DestinationTop;
...@@ -1367,7 +1367,7 @@ static HRESULT WINAPI Basicvideo_put_DestinationTop(IBasicVideo *iface, ...@@ -1367,7 +1367,7 @@ static HRESULT WINAPI Basicvideo_put_DestinationTop(IBasicVideo *iface,
} }
static HRESULT WINAPI Basicvideo_get_DestinationTop(IBasicVideo *iface, static HRESULT WINAPI Basicvideo_get_DestinationTop(IBasicVideo *iface,
long *pDestinationTop) { LONG *pDestinationTop) {
ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface);
TRACE("(%p/%p)->(%p)\n", This, iface, pDestinationTop); TRACE("(%p/%p)->(%p)\n", This, iface, pDestinationTop);
...@@ -1378,10 +1378,10 @@ static HRESULT WINAPI Basicvideo_get_DestinationTop(IBasicVideo *iface, ...@@ -1378,10 +1378,10 @@ static HRESULT WINAPI Basicvideo_get_DestinationTop(IBasicVideo *iface,
} }
static HRESULT WINAPI Basicvideo_put_DestinationHeight(IBasicVideo *iface, static HRESULT WINAPI Basicvideo_put_DestinationHeight(IBasicVideo *iface,
long DestinationHeight) { LONG DestinationHeight) {
ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface);
TRACE("(%p/%p)->(%ld)\n", This, iface, DestinationHeight); TRACE("(%p/%p)->(%d)\n", This, iface, DestinationHeight);
This->DestRect.right = This->DestRect.left + DestinationHeight; This->DestRect.right = This->DestRect.left + DestinationHeight;
...@@ -1389,7 +1389,7 @@ static HRESULT WINAPI Basicvideo_put_DestinationHeight(IBasicVideo *iface, ...@@ -1389,7 +1389,7 @@ static HRESULT WINAPI Basicvideo_put_DestinationHeight(IBasicVideo *iface,
} }
static HRESULT WINAPI Basicvideo_get_DestinationHeight(IBasicVideo *iface, static HRESULT WINAPI Basicvideo_get_DestinationHeight(IBasicVideo *iface,
long *pDestinationHeight) { LONG *pDestinationHeight) {
ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface);
TRACE("(%p/%p)->(%p)\n", This, iface, pDestinationHeight); TRACE("(%p/%p)->(%p)\n", This, iface, pDestinationHeight);
...@@ -1400,13 +1400,13 @@ static HRESULT WINAPI Basicvideo_get_DestinationHeight(IBasicVideo *iface, ...@@ -1400,13 +1400,13 @@ static HRESULT WINAPI Basicvideo_get_DestinationHeight(IBasicVideo *iface,
} }
static HRESULT WINAPI Basicvideo_SetSourcePosition(IBasicVideo *iface, static HRESULT WINAPI Basicvideo_SetSourcePosition(IBasicVideo *iface,
long Left, LONG Left,
long Top, LONG Top,
long Width, LONG Width,
long Height) { LONG Height) {
ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface);
TRACE("(%p/%p)->(%ld, %ld, %ld, %ld)\n", This, iface, Left, Top, Width, Height); TRACE("(%p/%p)->(%d, %d, %d, %d)\n", This, iface, Left, Top, Width, Height);
This->SourceRect.left = Left; This->SourceRect.left = Left;
This->SourceRect.top = Top; This->SourceRect.top = Top;
...@@ -1417,10 +1417,10 @@ static HRESULT WINAPI Basicvideo_SetSourcePosition(IBasicVideo *iface, ...@@ -1417,10 +1417,10 @@ static HRESULT WINAPI Basicvideo_SetSourcePosition(IBasicVideo *iface,
} }
static HRESULT WINAPI Basicvideo_GetSourcePosition(IBasicVideo *iface, static HRESULT WINAPI Basicvideo_GetSourcePosition(IBasicVideo *iface,
long *pLeft, LONG *pLeft,
long *pTop, LONG *pTop,
long *pWidth, LONG *pWidth,
long *pHeight) { LONG *pHeight) {
ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface);
TRACE("(%p/%p)->(%p, %p, %p, %p)\n", This, iface, pLeft, pTop, pWidth, pHeight); TRACE("(%p/%p)->(%p, %p, %p, %p)\n", This, iface, pLeft, pTop, pWidth, pHeight);
...@@ -1447,13 +1447,13 @@ static HRESULT WINAPI Basicvideo_SetDefaultSourcePosition(IBasicVideo *iface) { ...@@ -1447,13 +1447,13 @@ static HRESULT WINAPI Basicvideo_SetDefaultSourcePosition(IBasicVideo *iface) {
} }
static HRESULT WINAPI Basicvideo_SetDestinationPosition(IBasicVideo *iface, static HRESULT WINAPI Basicvideo_SetDestinationPosition(IBasicVideo *iface,
long Left, LONG Left,
long Top, LONG Top,
long Width, LONG Width,
long Height) { LONG Height) {
ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface);
TRACE("(%p/%p)->(%ld, %ld, %ld, %ld)\n", This, iface, Left, Top, Width, Height); TRACE("(%p/%p)->(%d, %d, %d, %d)\n", This, iface, Left, Top, Width, Height);
This->DestRect.left = Left; This->DestRect.left = Left;
This->DestRect.top = Top; This->DestRect.top = Top;
...@@ -1464,10 +1464,10 @@ static HRESULT WINAPI Basicvideo_SetDestinationPosition(IBasicVideo *iface, ...@@ -1464,10 +1464,10 @@ static HRESULT WINAPI Basicvideo_SetDestinationPosition(IBasicVideo *iface,
} }
static HRESULT WINAPI Basicvideo_GetDestinationPosition(IBasicVideo *iface, static HRESULT WINAPI Basicvideo_GetDestinationPosition(IBasicVideo *iface,
long *pLeft, LONG *pLeft,
long *pTop, LONG *pTop,
long *pWidth, LONG *pWidth,
long *pHeight) { LONG *pHeight) {
ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface);
TRACE("(%p/%p)->(%p, %p, %p, %p)\n", This, iface, pLeft, pTop, pWidth, pHeight); TRACE("(%p/%p)->(%p, %p, %p, %p)\n", This, iface, pLeft, pTop, pWidth, pHeight);
...@@ -1498,8 +1498,8 @@ static HRESULT WINAPI Basicvideo_SetDefaultDestinationPosition(IBasicVideo *ifac ...@@ -1498,8 +1498,8 @@ static HRESULT WINAPI Basicvideo_SetDefaultDestinationPosition(IBasicVideo *ifac
} }
static HRESULT WINAPI Basicvideo_GetVideoSize(IBasicVideo *iface, static HRESULT WINAPI Basicvideo_GetVideoSize(IBasicVideo *iface,
long *pWidth, LONG *pWidth,
long *pHeight) { LONG *pHeight) {
ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface);
TRACE("(%p/%p)->(%p, %p)\n", This, iface, pWidth, pHeight); TRACE("(%p/%p)->(%p, %p)\n", This, iface, pWidth, pHeight);
...@@ -1511,20 +1511,20 @@ static HRESULT WINAPI Basicvideo_GetVideoSize(IBasicVideo *iface, ...@@ -1511,20 +1511,20 @@ static HRESULT WINAPI Basicvideo_GetVideoSize(IBasicVideo *iface,
} }
static HRESULT WINAPI Basicvideo_GetVideoPaletteEntries(IBasicVideo *iface, static HRESULT WINAPI Basicvideo_GetVideoPaletteEntries(IBasicVideo *iface,
long StartIndex, LONG StartIndex,
long Entries, LONG Entries,
long *pRetrieved, LONG *pRetrieved,
long *pPalette) { LONG *pPalette) {
ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface);
FIXME("(%p/%p)->(%ld, %ld, %p, %p): stub !!!\n", This, iface, StartIndex, Entries, pRetrieved, pPalette); FIXME("(%p/%p)->(%d, %d, %p, %p): stub !!!\n", This, iface, StartIndex, Entries, pRetrieved, pPalette);
return S_OK; return S_OK;
} }
static HRESULT WINAPI Basicvideo_GetCurrentImage(IBasicVideo *iface, static HRESULT WINAPI Basicvideo_GetCurrentImage(IBasicVideo *iface,
long *pBufferSize, LONG *pBufferSize,
long *pDIBImage) { LONG *pDIBImage) {
ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IBasicVideo_vtbl, iface);
BITMAPINFOHEADER *bmiHeader; BITMAPINFOHEADER *bmiHeader;
LONG needed_size; LONG needed_size;
...@@ -1568,7 +1568,7 @@ static HRESULT WINAPI Basicvideo_GetCurrentImage(IBasicVideo *iface, ...@@ -1568,7 +1568,7 @@ static HRESULT WINAPI Basicvideo_GetCurrentImage(IBasicVideo *iface,
if (needed_size < *pBufferSize) if (needed_size < *pBufferSize)
{ {
ERR("Buffer too small %u/%lu\n", needed_size, *pBufferSize); ERR("Buffer too small %u/%u\n", needed_size, *pBufferSize);
LeaveCriticalSection(&This->csFilter); LeaveCriticalSection(&This->csFilter);
return E_FAIL; return E_FAIL;
} }
...@@ -1746,13 +1746,13 @@ static HRESULT WINAPI Videowindow_get_Caption(IVideoWindow *iface, ...@@ -1746,13 +1746,13 @@ static HRESULT WINAPI Videowindow_get_Caption(IVideoWindow *iface,
} }
static HRESULT WINAPI Videowindow_put_WindowStyle(IVideoWindow *iface, static HRESULT WINAPI Videowindow_put_WindowStyle(IVideoWindow *iface,
long WindowStyle) { LONG WindowStyle) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
LONG old; LONG old;
old = GetWindowLongA(This->hWnd, GWL_STYLE); old = GetWindowLongA(This->hWnd, GWL_STYLE);
TRACE("(%p/%p)->(%x -> %lx)\n", This, iface, old, WindowStyle); TRACE("(%p/%p)->(%x -> %x)\n", This, iface, old, WindowStyle);
if (WindowStyle & (WS_DISABLED|WS_HSCROLL|WS_ICONIC|WS_MAXIMIZE|WS_MINIMIZE|WS_VSCROLL)) if (WindowStyle & (WS_DISABLED|WS_HSCROLL|WS_ICONIC|WS_MAXIMIZE|WS_MINIMIZE|WS_VSCROLL))
return E_INVALIDARG; return E_INVALIDARG;
...@@ -1763,7 +1763,7 @@ static HRESULT WINAPI Videowindow_put_WindowStyle(IVideoWindow *iface, ...@@ -1763,7 +1763,7 @@ static HRESULT WINAPI Videowindow_put_WindowStyle(IVideoWindow *iface,
} }
static HRESULT WINAPI Videowindow_get_WindowStyle(IVideoWindow *iface, static HRESULT WINAPI Videowindow_get_WindowStyle(IVideoWindow *iface,
long *WindowStyle) { LONG *WindowStyle) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
TRACE("(%p/%p)->(%p)\n", This, iface, WindowStyle); TRACE("(%p/%p)->(%p)\n", This, iface, WindowStyle);
...@@ -1774,10 +1774,10 @@ static HRESULT WINAPI Videowindow_get_WindowStyle(IVideoWindow *iface, ...@@ -1774,10 +1774,10 @@ static HRESULT WINAPI Videowindow_get_WindowStyle(IVideoWindow *iface,
} }
static HRESULT WINAPI Videowindow_put_WindowStyleEx(IVideoWindow *iface, static HRESULT WINAPI Videowindow_put_WindowStyleEx(IVideoWindow *iface,
long WindowStyleEx) { LONG WindowStyleEx) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
TRACE("(%p/%p)->(%ld)\n", This, iface, WindowStyleEx); TRACE("(%p/%p)->(%d)\n", This, iface, WindowStyleEx);
if (WindowStyleEx & (WS_DISABLED|WS_HSCROLL|WS_ICONIC|WS_MAXIMIZE|WS_MINIMIZE|WS_VSCROLL)) if (WindowStyleEx & (WS_DISABLED|WS_HSCROLL|WS_ICONIC|WS_MAXIMIZE|WS_MINIMIZE|WS_VSCROLL))
return E_INVALIDARG; return E_INVALIDARG;
...@@ -1789,7 +1789,7 @@ static HRESULT WINAPI Videowindow_put_WindowStyleEx(IVideoWindow *iface, ...@@ -1789,7 +1789,7 @@ static HRESULT WINAPI Videowindow_put_WindowStyleEx(IVideoWindow *iface,
} }
static HRESULT WINAPI Videowindow_get_WindowStyleEx(IVideoWindow *iface, static HRESULT WINAPI Videowindow_get_WindowStyleEx(IVideoWindow *iface,
long *WindowStyleEx) { LONG *WindowStyleEx) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
TRACE("(%p/%p)->(%p)\n", This, iface, WindowStyleEx); TRACE("(%p/%p)->(%p)\n", This, iface, WindowStyleEx);
...@@ -1800,10 +1800,10 @@ static HRESULT WINAPI Videowindow_get_WindowStyleEx(IVideoWindow *iface, ...@@ -1800,10 +1800,10 @@ static HRESULT WINAPI Videowindow_get_WindowStyleEx(IVideoWindow *iface,
} }
static HRESULT WINAPI Videowindow_put_AutoShow(IVideoWindow *iface, static HRESULT WINAPI Videowindow_put_AutoShow(IVideoWindow *iface,
long AutoShow) { LONG AutoShow) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
TRACE("(%p/%p)->(%ld)\n", This, iface, AutoShow); TRACE("(%p/%p)->(%d)\n", This, iface, AutoShow);
This->AutoShow = 1; /* FIXME: Should be AutoShow */; This->AutoShow = 1; /* FIXME: Should be AutoShow */;
...@@ -1811,7 +1811,7 @@ static HRESULT WINAPI Videowindow_put_AutoShow(IVideoWindow *iface, ...@@ -1811,7 +1811,7 @@ static HRESULT WINAPI Videowindow_put_AutoShow(IVideoWindow *iface,
} }
static HRESULT WINAPI Videowindow_get_AutoShow(IVideoWindow *iface, static HRESULT WINAPI Videowindow_get_AutoShow(IVideoWindow *iface,
long *AutoShow) { LONG *AutoShow) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
TRACE("(%p/%p)->(%p)\n", This, iface, AutoShow); TRACE("(%p/%p)->(%p)\n", This, iface, AutoShow);
...@@ -1822,16 +1822,16 @@ static HRESULT WINAPI Videowindow_get_AutoShow(IVideoWindow *iface, ...@@ -1822,16 +1822,16 @@ static HRESULT WINAPI Videowindow_get_AutoShow(IVideoWindow *iface,
} }
static HRESULT WINAPI Videowindow_put_WindowState(IVideoWindow *iface, static HRESULT WINAPI Videowindow_put_WindowState(IVideoWindow *iface,
long WindowState) { LONG WindowState) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
FIXME("(%p/%p)->(%ld): stub !!!\n", This, iface, WindowState); FIXME("(%p/%p)->(%d): stub !!!\n", This, iface, WindowState);
return S_OK; return S_OK;
} }
static HRESULT WINAPI Videowindow_get_WindowState(IVideoWindow *iface, static HRESULT WINAPI Videowindow_get_WindowState(IVideoWindow *iface,
long *WindowState) { LONG *WindowState) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
FIXME("(%p/%p)->(%p): stub !!!\n", This, iface, WindowState); FIXME("(%p/%p)->(%p): stub !!!\n", This, iface, WindowState);
...@@ -1840,16 +1840,16 @@ static HRESULT WINAPI Videowindow_get_WindowState(IVideoWindow *iface, ...@@ -1840,16 +1840,16 @@ static HRESULT WINAPI Videowindow_get_WindowState(IVideoWindow *iface,
} }
static HRESULT WINAPI Videowindow_put_BackgroundPalette(IVideoWindow *iface, static HRESULT WINAPI Videowindow_put_BackgroundPalette(IVideoWindow *iface,
long BackgroundPalette) { LONG BackgroundPalette) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
FIXME("(%p/%p)->(%ld): stub !!!\n", This, iface, BackgroundPalette); FIXME("(%p/%p)->(%d): stub !!!\n", This, iface, BackgroundPalette);
return S_OK; return S_OK;
} }
static HRESULT WINAPI Videowindow_get_BackgroundPalette(IVideoWindow *iface, static HRESULT WINAPI Videowindow_get_BackgroundPalette(IVideoWindow *iface,
long *pBackgroundPalette) { LONG *pBackgroundPalette) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
FIXME("(%p/%p)->(%p): stub !!!\n", This, iface, pBackgroundPalette); FIXME("(%p/%p)->(%p): stub !!!\n", This, iface, pBackgroundPalette);
...@@ -1858,10 +1858,10 @@ static HRESULT WINAPI Videowindow_get_BackgroundPalette(IVideoWindow *iface, ...@@ -1858,10 +1858,10 @@ static HRESULT WINAPI Videowindow_get_BackgroundPalette(IVideoWindow *iface,
} }
static HRESULT WINAPI Videowindow_put_Visible(IVideoWindow *iface, static HRESULT WINAPI Videowindow_put_Visible(IVideoWindow *iface,
long Visible) { LONG Visible) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
TRACE("(%p/%p)->(%ld)\n", This, iface, Visible); TRACE("(%p/%p)->(%d)\n", This, iface, Visible);
ShowWindow(This->hWnd, Visible ? SW_SHOW : SW_HIDE); ShowWindow(This->hWnd, Visible ? SW_SHOW : SW_HIDE);
...@@ -1869,7 +1869,7 @@ static HRESULT WINAPI Videowindow_put_Visible(IVideoWindow *iface, ...@@ -1869,7 +1869,7 @@ static HRESULT WINAPI Videowindow_put_Visible(IVideoWindow *iface,
} }
static HRESULT WINAPI Videowindow_get_Visible(IVideoWindow *iface, static HRESULT WINAPI Videowindow_get_Visible(IVideoWindow *iface,
long *pVisible) { LONG *pVisible) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
TRACE("(%p/%p)->(%p)\n", This, iface, pVisible); TRACE("(%p/%p)->(%p)\n", This, iface, pVisible);
...@@ -1880,10 +1880,10 @@ static HRESULT WINAPI Videowindow_get_Visible(IVideoWindow *iface, ...@@ -1880,10 +1880,10 @@ static HRESULT WINAPI Videowindow_get_Visible(IVideoWindow *iface,
} }
static HRESULT WINAPI Videowindow_put_Left(IVideoWindow *iface, static HRESULT WINAPI Videowindow_put_Left(IVideoWindow *iface,
long Left) { LONG Left) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
TRACE("(%p/%p)->(%ld)\n", This, iface, Left); TRACE("(%p/%p)->(%d)\n", This, iface, Left);
if (!SetWindowPos(This->hWnd, NULL, Left, This->WindowPos.top, 0, 0, SWP_NOZORDER|SWP_NOSIZE)) if (!SetWindowPos(This->hWnd, NULL, Left, This->WindowPos.top, 0, 0, SWP_NOZORDER|SWP_NOSIZE))
return E_FAIL; return E_FAIL;
...@@ -1894,7 +1894,7 @@ static HRESULT WINAPI Videowindow_put_Left(IVideoWindow *iface, ...@@ -1894,7 +1894,7 @@ static HRESULT WINAPI Videowindow_put_Left(IVideoWindow *iface,
} }
static HRESULT WINAPI Videowindow_get_Left(IVideoWindow *iface, static HRESULT WINAPI Videowindow_get_Left(IVideoWindow *iface,
long *pLeft) { LONG *pLeft) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
TRACE("(%p/%p)->(%p)\n", This, iface, pLeft); TRACE("(%p/%p)->(%p)\n", This, iface, pLeft);
...@@ -1905,10 +1905,10 @@ static HRESULT WINAPI Videowindow_get_Left(IVideoWindow *iface, ...@@ -1905,10 +1905,10 @@ static HRESULT WINAPI Videowindow_get_Left(IVideoWindow *iface,
} }
static HRESULT WINAPI Videowindow_put_Width(IVideoWindow *iface, static HRESULT WINAPI Videowindow_put_Width(IVideoWindow *iface,
long Width) { LONG Width) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
TRACE("(%p/%p)->(%ld)\n", This, iface, Width); TRACE("(%p/%p)->(%d)\n", This, iface, Width);
if (!SetWindowPos(This->hWnd, NULL, 0, 0, Width, This->WindowPos.bottom-This->WindowPos.top, SWP_NOZORDER|SWP_NOMOVE)) if (!SetWindowPos(This->hWnd, NULL, 0, 0, Width, This->WindowPos.bottom-This->WindowPos.top, SWP_NOZORDER|SWP_NOMOVE))
return E_FAIL; return E_FAIL;
...@@ -1919,7 +1919,7 @@ static HRESULT WINAPI Videowindow_put_Width(IVideoWindow *iface, ...@@ -1919,7 +1919,7 @@ static HRESULT WINAPI Videowindow_put_Width(IVideoWindow *iface,
} }
static HRESULT WINAPI Videowindow_get_Width(IVideoWindow *iface, static HRESULT WINAPI Videowindow_get_Width(IVideoWindow *iface,
long *pWidth) { LONG *pWidth) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
TRACE("(%p/%p)->(%p)\n", This, iface, pWidth); TRACE("(%p/%p)->(%p)\n", This, iface, pWidth);
...@@ -1930,10 +1930,10 @@ static HRESULT WINAPI Videowindow_get_Width(IVideoWindow *iface, ...@@ -1930,10 +1930,10 @@ static HRESULT WINAPI Videowindow_get_Width(IVideoWindow *iface,
} }
static HRESULT WINAPI Videowindow_put_Top(IVideoWindow *iface, static HRESULT WINAPI Videowindow_put_Top(IVideoWindow *iface,
long Top) { LONG Top) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
TRACE("(%p/%p)->(%ld)\n", This, iface, Top); TRACE("(%p/%p)->(%d)\n", This, iface, Top);
if (!SetWindowPos(This->hWnd, NULL, This->WindowPos.left, Top, 0, 0, SWP_NOZORDER|SWP_NOSIZE)) if (!SetWindowPos(This->hWnd, NULL, This->WindowPos.left, Top, 0, 0, SWP_NOZORDER|SWP_NOSIZE))
return E_FAIL; return E_FAIL;
...@@ -1944,7 +1944,7 @@ static HRESULT WINAPI Videowindow_put_Top(IVideoWindow *iface, ...@@ -1944,7 +1944,7 @@ static HRESULT WINAPI Videowindow_put_Top(IVideoWindow *iface,
} }
static HRESULT WINAPI Videowindow_get_Top(IVideoWindow *iface, static HRESULT WINAPI Videowindow_get_Top(IVideoWindow *iface,
long *pTop) { LONG *pTop) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
TRACE("(%p/%p)->(%p)\n", This, iface, pTop); TRACE("(%p/%p)->(%p)\n", This, iface, pTop);
...@@ -1955,10 +1955,10 @@ static HRESULT WINAPI Videowindow_get_Top(IVideoWindow *iface, ...@@ -1955,10 +1955,10 @@ static HRESULT WINAPI Videowindow_get_Top(IVideoWindow *iface,
} }
static HRESULT WINAPI Videowindow_put_Height(IVideoWindow *iface, static HRESULT WINAPI Videowindow_put_Height(IVideoWindow *iface,
long Height) { LONG Height) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
TRACE("(%p/%p)->(%ld)\n", This, iface, Height); TRACE("(%p/%p)->(%d)\n", This, iface, Height);
if (!SetWindowPos(This->hWnd, NULL, 0, 0, This->WindowPos.right-This->WindowPos.left, Height, SWP_NOZORDER|SWP_NOMOVE)) if (!SetWindowPos(This->hWnd, NULL, 0, 0, This->WindowPos.right-This->WindowPos.left, Height, SWP_NOZORDER|SWP_NOMOVE))
return E_FAIL; return E_FAIL;
...@@ -1969,7 +1969,7 @@ static HRESULT WINAPI Videowindow_put_Height(IVideoWindow *iface, ...@@ -1969,7 +1969,7 @@ static HRESULT WINAPI Videowindow_put_Height(IVideoWindow *iface,
} }
static HRESULT WINAPI Videowindow_get_Height(IVideoWindow *iface, static HRESULT WINAPI Videowindow_get_Height(IVideoWindow *iface,
long *pHeight) { LONG *pHeight) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
TRACE("(%p/%p)->(%p)\n", This, iface, pHeight); TRACE("(%p/%p)->(%p)\n", This, iface, pHeight);
...@@ -2024,7 +2024,7 @@ static HRESULT WINAPI Videowindow_get_MessageDrain(IVideoWindow *iface, ...@@ -2024,7 +2024,7 @@ static HRESULT WINAPI Videowindow_get_MessageDrain(IVideoWindow *iface,
} }
static HRESULT WINAPI Videowindow_get_BorderColor(IVideoWindow *iface, static HRESULT WINAPI Videowindow_get_BorderColor(IVideoWindow *iface,
long *Color) { LONG *Color) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
FIXME("(%p/%p)->(%p): stub !!!\n", This, iface, Color); FIXME("(%p/%p)->(%p): stub !!!\n", This, iface, Color);
...@@ -2033,16 +2033,16 @@ static HRESULT WINAPI Videowindow_get_BorderColor(IVideoWindow *iface, ...@@ -2033,16 +2033,16 @@ static HRESULT WINAPI Videowindow_get_BorderColor(IVideoWindow *iface,
} }
static HRESULT WINAPI Videowindow_put_BorderColor(IVideoWindow *iface, static HRESULT WINAPI Videowindow_put_BorderColor(IVideoWindow *iface,
long Color) { LONG Color) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
FIXME("(%p/%p)->(%ld): stub !!!\n", This, iface, Color); FIXME("(%p/%p)->(%d): stub !!!\n", This, iface, Color);
return S_OK; return S_OK;
} }
static HRESULT WINAPI Videowindow_get_FullScreenMode(IVideoWindow *iface, static HRESULT WINAPI Videowindow_get_FullScreenMode(IVideoWindow *iface,
long *FullScreenMode) { LONG *FullScreenMode) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
FIXME("(%p/%p)->(%p): stub !!!\n", This, iface, FullScreenMode); FIXME("(%p/%p)->(%p): stub !!!\n", This, iface, FullScreenMode);
...@@ -2051,22 +2051,22 @@ static HRESULT WINAPI Videowindow_get_FullScreenMode(IVideoWindow *iface, ...@@ -2051,22 +2051,22 @@ static HRESULT WINAPI Videowindow_get_FullScreenMode(IVideoWindow *iface,
} }
static HRESULT WINAPI Videowindow_put_FullScreenMode(IVideoWindow *iface, static HRESULT WINAPI Videowindow_put_FullScreenMode(IVideoWindow *iface,
long FullScreenMode) { LONG FullScreenMode) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
FIXME("(%p/%p)->(%ld): stub !!!\n", This, iface, FullScreenMode); FIXME("(%p/%p)->(%d): stub !!!\n", This, iface, FullScreenMode);
return S_OK; return S_OK;
} }
static HRESULT WINAPI Videowindow_SetWindowForeground(IVideoWindow *iface, static HRESULT WINAPI Videowindow_SetWindowForeground(IVideoWindow *iface,
long Focus) { LONG Focus) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
BOOL ret; BOOL ret;
IPin* pPin; IPin* pPin;
HRESULT hr; HRESULT hr;
TRACE("(%p/%p)->(%ld)\n", This, iface, Focus); TRACE("(%p/%p)->(%d)\n", This, iface, Focus);
if ((Focus != FALSE) && (Focus != TRUE)) if ((Focus != FALSE) && (Focus != TRUE))
return E_INVALIDARG; return E_INVALIDARG;
...@@ -2088,12 +2088,12 @@ static HRESULT WINAPI Videowindow_SetWindowForeground(IVideoWindow *iface, ...@@ -2088,12 +2088,12 @@ static HRESULT WINAPI Videowindow_SetWindowForeground(IVideoWindow *iface,
static HRESULT WINAPI Videowindow_NotifyOwnerMessage(IVideoWindow *iface, static HRESULT WINAPI Videowindow_NotifyOwnerMessage(IVideoWindow *iface,
OAHWND hwnd, OAHWND hwnd,
long uMsg, LONG uMsg,
LONG_PTR wParam, LONG_PTR wParam,
LONG_PTR lParam) { LONG_PTR lParam) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
TRACE("(%p/%p)->(%08x, %ld, %08lx, %08lx)\n", This, iface, (DWORD) hwnd, uMsg, wParam, lParam); TRACE("(%p/%p)->(%08lx, %d, %08lx, %08lx)\n", This, iface, hwnd, uMsg, wParam, lParam);
if (!PostMessageA(This->hWnd, uMsg, wParam, lParam)) if (!PostMessageA(This->hWnd, uMsg, wParam, lParam))
return E_FAIL; return E_FAIL;
...@@ -2102,13 +2102,13 @@ static HRESULT WINAPI Videowindow_NotifyOwnerMessage(IVideoWindow *iface, ...@@ -2102,13 +2102,13 @@ static HRESULT WINAPI Videowindow_NotifyOwnerMessage(IVideoWindow *iface,
} }
static HRESULT WINAPI Videowindow_SetWindowPosition(IVideoWindow *iface, static HRESULT WINAPI Videowindow_SetWindowPosition(IVideoWindow *iface,
long Left, LONG Left,
long Top, LONG Top,
long Width, LONG Width,
long Height) { LONG Height) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
TRACE("(%p/%p)->(%ld, %ld, %ld, %ld)\n", This, iface, Left, Top, Width, Height); TRACE("(%p/%p)->(%d, %d, %d, %d)\n", This, iface, Left, Top, Width, Height);
if (!SetWindowPos(This->hWnd, NULL, Left, Top, Width, Height, SWP_NOZORDER)) if (!SetWindowPos(This->hWnd, NULL, Left, Top, Width, Height, SWP_NOZORDER))
return E_FAIL; return E_FAIL;
...@@ -2122,10 +2122,10 @@ static HRESULT WINAPI Videowindow_SetWindowPosition(IVideoWindow *iface, ...@@ -2122,10 +2122,10 @@ static HRESULT WINAPI Videowindow_SetWindowPosition(IVideoWindow *iface,
} }
static HRESULT WINAPI Videowindow_GetWindowPosition(IVideoWindow *iface, static HRESULT WINAPI Videowindow_GetWindowPosition(IVideoWindow *iface,
long *pLeft, LONG *pLeft,
long *pTop, LONG *pTop,
long *pWidth, LONG *pWidth,
long *pHeight) { LONG *pHeight) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
TRACE("(%p/%p)->(%p, %p, %p, %p)\n", This, iface, pLeft, pTop, pWidth, pHeight); TRACE("(%p/%p)->(%p, %p, %p, %p)\n", This, iface, pLeft, pTop, pWidth, pHeight);
...@@ -2139,8 +2139,8 @@ static HRESULT WINAPI Videowindow_GetWindowPosition(IVideoWindow *iface, ...@@ -2139,8 +2139,8 @@ static HRESULT WINAPI Videowindow_GetWindowPosition(IVideoWindow *iface,
} }
static HRESULT WINAPI Videowindow_GetMinIdealImageSize(IVideoWindow *iface, static HRESULT WINAPI Videowindow_GetMinIdealImageSize(IVideoWindow *iface,
long *pWidth, LONG *pWidth,
long *pHeight) { LONG *pHeight) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
FIXME("(%p/%p)->(%p, %p): semi stub !!!\n", This, iface, pWidth, pHeight); FIXME("(%p/%p)->(%p, %p): semi stub !!!\n", This, iface, pWidth, pHeight);
...@@ -2152,8 +2152,8 @@ static HRESULT WINAPI Videowindow_GetMinIdealImageSize(IVideoWindow *iface, ...@@ -2152,8 +2152,8 @@ static HRESULT WINAPI Videowindow_GetMinIdealImageSize(IVideoWindow *iface,
} }
static HRESULT WINAPI Videowindow_GetMaxIdealImageSize(IVideoWindow *iface, static HRESULT WINAPI Videowindow_GetMaxIdealImageSize(IVideoWindow *iface,
long *pWidth, LONG *pWidth,
long *pHeight) { LONG *pHeight) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
FIXME("(%p/%p)->(%p, %p): semi stub !!!\n", This, iface, pWidth, pHeight); FIXME("(%p/%p)->(%p, %p): semi stub !!!\n", This, iface, pWidth, pHeight);
...@@ -2165,10 +2165,10 @@ static HRESULT WINAPI Videowindow_GetMaxIdealImageSize(IVideoWindow *iface, ...@@ -2165,10 +2165,10 @@ static HRESULT WINAPI Videowindow_GetMaxIdealImageSize(IVideoWindow *iface,
} }
static HRESULT WINAPI Videowindow_GetRestorePosition(IVideoWindow *iface, static HRESULT WINAPI Videowindow_GetRestorePosition(IVideoWindow *iface,
long *pLeft, LONG *pLeft,
long *pTop, LONG *pTop,
long *pWidth, LONG *pWidth,
long *pHeight) { LONG *pHeight) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
FIXME("(%p/%p)->(%p, %p, %p, %p): stub !!!\n", This, iface, pLeft, pTop, pWidth, pHeight); FIXME("(%p/%p)->(%p, %p, %p, %p): stub !!!\n", This, iface, pLeft, pTop, pWidth, pHeight);
...@@ -2177,16 +2177,16 @@ static HRESULT WINAPI Videowindow_GetRestorePosition(IVideoWindow *iface, ...@@ -2177,16 +2177,16 @@ static HRESULT WINAPI Videowindow_GetRestorePosition(IVideoWindow *iface,
} }
static HRESULT WINAPI Videowindow_HideCursor(IVideoWindow *iface, static HRESULT WINAPI Videowindow_HideCursor(IVideoWindow *iface,
long HideCursor) { LONG HideCursor) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
FIXME("(%p/%p)->(%ld): stub !!!\n", This, iface, HideCursor); FIXME("(%p/%p)->(%d): stub !!!\n", This, iface, HideCursor);
return S_OK; return S_OK;
} }
static HRESULT WINAPI Videowindow_IsCursorHidden(IVideoWindow *iface, static HRESULT WINAPI Videowindow_IsCursorHidden(IVideoWindow *iface,
long *CursorHidden) { LONG *CursorHidden) {
ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface); ICOM_THIS_MULTI(VideoRendererImpl, IVideoWindow_vtbl, iface);
FIXME("(%p/%p)->(%p): stub !!!\n", This, iface, CursorHidden); FIXME("(%p/%p)->(%p): stub !!!\n", This, iface, CursorHidden);
......
...@@ -27,7 +27,7 @@ interface IMediaEvent; ...@@ -27,7 +27,7 @@ interface IMediaEvent;
interface IMediaEventEx; interface IMediaEventEx;
interface IMediaPosition; interface IMediaPosition;
typedef long OAFilterState; typedef LONG OAFilterState;
typedef LONG_PTR OAHWND; typedef LONG_PTR OAHWND;
typedef LONG_PTR OAEVENT; typedef LONG_PTR OAEVENT;
...@@ -68,10 +68,10 @@ interface IMediaControl : IDispatch ...@@ -68,10 +68,10 @@ interface IMediaControl : IDispatch
] ]
interface IBasicAudio : IDispatch interface IBasicAudio : IDispatch
{ {
[propput] HRESULT Volume( [in] long lVolume ); [propput] HRESULT Volume( [in] LONG lVolume );
[propget] HRESULT Volume( [out] long *plVolume ); [propget] HRESULT Volume( [out] LONG *plVolume );
[propput] HRESULT Balance( [in] long lBalance ); [propput] HRESULT Balance( [in] LONG lBalance );
[propget] HRESULT Balance( [out] long *plBalance ); [propget] HRESULT Balance( [out] LONG *plBalance );
} }
...@@ -87,43 +87,43 @@ interface IVideoWindow : IDispatch ...@@ -87,43 +87,43 @@ interface IVideoWindow : IDispatch
{ {
[propput] HRESULT Caption( [in] BSTR strCaption ); [propput] HRESULT Caption( [in] BSTR strCaption );
[propget] HRESULT Caption( [out] BSTR *strCaption ); [propget] HRESULT Caption( [out] BSTR *strCaption );
[propput] HRESULT WindowStyle( [in] long WindowStyle ); [propput] HRESULT WindowStyle( [in] LONG WindowStyle );
[propget] HRESULT WindowStyle( [out] long *WindowStyle ); [propget] HRESULT WindowStyle( [out] LONG *WindowStyle );
[propput] HRESULT WindowStyleEx( [in] long WindowStyleEx ); [propput] HRESULT WindowStyleEx( [in] LONG WindowStyleEx );
[propget] HRESULT WindowStyleEx( [out] long *WindowStyleEx ); [propget] HRESULT WindowStyleEx( [out] LONG *WindowStyleEx );
[propput] HRESULT AutoShow( [in] long AutoShow ); [propput] HRESULT AutoShow( [in] LONG AutoShow );
[propget] HRESULT AutoShow( [out] long *AutoShow ); [propget] HRESULT AutoShow( [out] LONG *AutoShow );
[propput] HRESULT WindowState( [in] long WindowState ); [propput] HRESULT WindowState( [in] LONG WindowState );
[propget] HRESULT WindowState( [out] long *WindowState ); [propget] HRESULT WindowState( [out] LONG *WindowState );
[propput] HRESULT BackgroundPalette( [in] long BackgroundPalette ); [propput] HRESULT BackgroundPalette( [in] LONG BackgroundPalette );
[propget] HRESULT BackgroundPalette( [out] long *pBackgroundPalette ); [propget] HRESULT BackgroundPalette( [out] LONG *pBackgroundPalette );
[propput] HRESULT Visible( [in] long Visible ); [propput] HRESULT Visible( [in] LONG Visible );
[propget] HRESULT Visible( [out] long *pVisible ); [propget] HRESULT Visible( [out] LONG *pVisible );
[propput] HRESULT Left( [in] long Left ); [propput] HRESULT Left( [in] LONG Left );
[propget] HRESULT Left( [out] long *pLeft ); [propget] HRESULT Left( [out] LONG *pLeft );
[propput] HRESULT Width( [in] long Width ); [propput] HRESULT Width( [in] LONG Width );
[propget] HRESULT Width( [out] long *pWidth ); [propget] HRESULT Width( [out] LONG *pWidth );
[propput] HRESULT Top( [in] long Top ); [propput] HRESULT Top( [in] LONG Top );
[propget] HRESULT Top( [out] long *pTop ); [propget] HRESULT Top( [out] LONG *pTop );
[propput] HRESULT Height( [in] long Height ); [propput] HRESULT Height( [in] LONG Height );
[propget] HRESULT Height( [out] long *pHeight ); [propget] HRESULT Height( [out] LONG *pHeight );
[propput] HRESULT Owner( [in] OAHWND Owner ); [propput] HRESULT Owner( [in] OAHWND Owner );
[propget] HRESULT Owner( [out] OAHWND *Owner ); [propget] HRESULT Owner( [out] OAHWND *Owner );
[propput] HRESULT MessageDrain( [in] OAHWND Drain ); [propput] HRESULT MessageDrain( [in] OAHWND Drain );
[propget] HRESULT MessageDrain( [out] OAHWND *Drain ); [propget] HRESULT MessageDrain( [out] OAHWND *Drain );
[propget] HRESULT BorderColor( [out] long *Color ); [propget] HRESULT BorderColor( [out] LONG *Color );
[propput] HRESULT BorderColor( [in] long Color ); [propput] HRESULT BorderColor( [in] LONG Color );
[propget] HRESULT FullScreenMode( [out] long *FullScreenMode ); [propget] HRESULT FullScreenMode( [out] LONG *FullScreenMode );
[propput] HRESULT FullScreenMode( [in] long FullScreenMode ); [propput] HRESULT FullScreenMode( [in] LONG FullScreenMode );
HRESULT SetWindowForeground( [in] long Focus ); HRESULT SetWindowForeground( [in] LONG Focus );
HRESULT NotifyOwnerMessage( [in] OAHWND hwnd, [in] long uMsg, [in] LONG_PTR wParam, [in] LONG_PTR lParam ); HRESULT NotifyOwnerMessage( [in] OAHWND hwnd, [in] LONG uMsg, [in] LONG_PTR wParam, [in] LONG_PTR lParam );
HRESULT SetWindowPosition( [in] long Left, [in] long Top, [in] long Width, [in] long Height ); HRESULT SetWindowPosition( [in] LONG Left, [in] LONG Top, [in] LONG Width, [in] LONG Height );
HRESULT GetWindowPosition( [out] long *pLeft, [out] long *pTop, [out] long *pWidth, [out] long *pHeight ); HRESULT GetWindowPosition( [out] LONG *pLeft, [out] LONG *pTop, [out] LONG *pWidth, [out] LONG *pHeight );
HRESULT GetMinIdealImageSize( [out] long *pWidth, [out] long *pHeight ); HRESULT GetMinIdealImageSize( [out] LONG *pWidth, [out] LONG *pHeight );
HRESULT GetMaxIdealImageSize( [out] long *pWidth, [out] long *pHeight ); HRESULT GetMaxIdealImageSize( [out] LONG *pWidth, [out] LONG *pHeight );
HRESULT GetRestorePosition( [out] long *pLeft, [out] long *pTop, [out] long *pWidth, [out] long *pHeight ); HRESULT GetRestorePosition( [out] LONG *pLeft, [out] LONG *pTop, [out] LONG *pWidth, [out] LONG *pHeight );
HRESULT HideCursor( [in] long HideCursor ); HRESULT HideCursor( [in] LONG HideCursor );
HRESULT IsCursorHidden( [out] long *CursorHidden ); HRESULT IsCursorHidden( [out] LONG *CursorHidden );
} }
...@@ -138,39 +138,39 @@ interface IVideoWindow : IDispatch ...@@ -138,39 +138,39 @@ interface IVideoWindow : IDispatch
interface IBasicVideo : IDispatch interface IBasicVideo : IDispatch
{ {
[propget] HRESULT AvgTimePerFrame( [out] REFTIME *pAvgTimePerFrame ); [propget] HRESULT AvgTimePerFrame( [out] REFTIME *pAvgTimePerFrame );
[propget] HRESULT BitRate( [out] long *pBitRate ); [propget] HRESULT BitRate( [out] LONG *pBitRate );
[propget] HRESULT BitErrorRate( [out] long *pBitErrorRate ); [propget] HRESULT BitErrorRate( [out] LONG *pBitErrorRate );
[propget] HRESULT VideoWidth( [out] long *pVideoWidth ); [propget] HRESULT VideoWidth( [out] LONG *pVideoWidth );
[propget] HRESULT VideoHeight( [out] long *pVideoHeight ); [propget] HRESULT VideoHeight( [out] LONG *pVideoHeight );
[propput] HRESULT SourceLeft( [in] long SourceLeft ); [propput] HRESULT SourceLeft( [in] LONG SourceLeft );
[propget] HRESULT SourceLeft( [out] long *pSourceLeft ); [propget] HRESULT SourceLeft( [out] LONG *pSourceLeft );
[propput] HRESULT SourceWidth( [in] long SourceWidth ); [propput] HRESULT SourceWidth( [in] LONG SourceWidth );
[propget] HRESULT SourceWidth( [out] long *pSourceWidth ); [propget] HRESULT SourceWidth( [out] LONG *pSourceWidth );
[propput] HRESULT SourceTop( [in] long SourceTop ); [propput] HRESULT SourceTop( [in] LONG SourceTop );
[propget] HRESULT SourceTop( [out] long *pSourceTop ); [propget] HRESULT SourceTop( [out] LONG *pSourceTop );
[propput] HRESULT SourceHeight( [in] long SourceHeight ); [propput] HRESULT SourceHeight( [in] LONG SourceHeight );
[propget] HRESULT SourceHeight( [out] long *pSourceHeight ); [propget] HRESULT SourceHeight( [out] LONG *pSourceHeight );
[propput] HRESULT DestinationLeft( [in] long DestinationLeft ); [propput] HRESULT DestinationLeft( [in] LONG DestinationLeft );
[propget] HRESULT DestinationLeft( [out] long *pDestinationLeft ); [propget] HRESULT DestinationLeft( [out] LONG *pDestinationLeft );
[propput] HRESULT DestinationWidth( [in] long DestinationWidth ); [propput] HRESULT DestinationWidth( [in] LONG DestinationWidth );
[propget] HRESULT DestinationWidth( [out] long *pDestinationWidth ); [propget] HRESULT DestinationWidth( [out] LONG *pDestinationWidth );
[propput] HRESULT DestinationTop( [in] long DestinationTop ); [propput] HRESULT DestinationTop( [in] LONG DestinationTop );
[propget] HRESULT DestinationTop( [out] long *pDestinationTop ); [propget] HRESULT DestinationTop( [out] LONG *pDestinationTop );
[propput] HRESULT DestinationHeight( [in] long DestinationHeight ); [propput] HRESULT DestinationHeight( [in] LONG DestinationHeight );
[propget] HRESULT DestinationHeight( [out] long *pDestinationHeight ); [propget] HRESULT DestinationHeight( [out] LONG *pDestinationHeight );
HRESULT SetSourcePosition( [in] long Left, [in] long Top, [in] long Width, [in] long Height ); HRESULT SetSourcePosition( [in] LONG Left, [in] LONG Top, [in] LONG Width, [in] LONG Height );
HRESULT GetSourcePosition( [out] long *pLeft, [out] long *pTop, [out] long *pWidth, [out] long *pHeight ); HRESULT GetSourcePosition( [out] LONG *pLeft, [out] LONG *pTop, [out] LONG *pWidth, [out] LONG *pHeight );
HRESULT SetDefaultSourcePosition(); HRESULT SetDefaultSourcePosition();
HRESULT SetDestinationPosition( [in] long Left, [in] long Top, [in] long Width, [in] long Height ); HRESULT SetDestinationPosition( [in] LONG Left, [in] LONG Top, [in] LONG Width, [in] LONG Height );
HRESULT GetDestinationPosition( [out] long *pLeft, [out] long *pTop, [out] long *pWidth, [out] long *pHeight ); HRESULT GetDestinationPosition( [out] LONG *pLeft, [out] LONG *pTop, [out] LONG *pWidth, [out] LONG *pHeight );
HRESULT SetDefaultDestinationPosition(); HRESULT SetDefaultDestinationPosition();
HRESULT GetVideoSize( [out] long *pWidth, [out] long *pHeight ); HRESULT GetVideoSize( [out] LONG *pWidth, [out] LONG *pHeight );
HRESULT GetVideoPaletteEntries( [in] long StartIndex, HRESULT GetVideoPaletteEntries( [in] LONG StartIndex,
[in] long Entries, [in] LONG Entries,
[out] long *pRetrieved, [out] LONG *pRetrieved,
[out, size_is(Entries), length_is(*pRetrieved)] long *pPalette ); [out, size_is(Entries), length_is(*pRetrieved)] LONG *pPalette );
HRESULT GetCurrentImage( [in, out] long *pBufferSize, HRESULT GetCurrentImage( [in, out] LONG *pBufferSize,
[out, size_is(*pBufferSize), length_is(*pBufferSize)] long *pDIBImage ); [out, size_is(*pBufferSize), length_is(*pBufferSize)] LONG *pDIBImage );
HRESULT IsUsingDefaultSource(); HRESULT IsUsingDefaultSource();
HRESULT IsUsingDefaultDestination(); HRESULT IsUsingDefaultDestination();
} }
...@@ -198,11 +198,11 @@ interface IBasicVideo2 : IBasicVideo ...@@ -198,11 +198,11 @@ interface IBasicVideo2 : IBasicVideo
interface IMediaEvent : IDispatch interface IMediaEvent : IDispatch
{ {
HRESULT GetEventHandle( [out] OAEVENT *hEvent ); HRESULT GetEventHandle( [out] OAEVENT *hEvent );
HRESULT GetEvent( [out] long *lEventCode, [out] LONG_PTR *lParam1, [out] LONG_PTR *lParam2, [in] long msTimeout ); HRESULT GetEvent( [out] LONG *lEventCode, [out] LONG_PTR *lParam1, [out] LONG_PTR *lParam2, [in] LONG msTimeout );
HRESULT WaitForCompletion( [in] long msTimeout, [out] long *pEvCode ); HRESULT WaitForCompletion( [in] LONG msTimeout, [out] LONG *pEvCode );
HRESULT CancelDefaultHandling( [in] long lEvCode ); HRESULT CancelDefaultHandling( [in] LONG lEvCode );
HRESULT RestoreDefaultHandling( [in] long lEvCode ); HRESULT RestoreDefaultHandling( [in] LONG lEvCode );
HRESULT FreeEventParams( [in] long lEvCode, [in] LONG_PTR lParam1, [in] LONG_PTR lParam2 ); HRESULT FreeEventParams( [in] LONG lEvCode, [in] LONG_PTR lParam1, [in] LONG_PTR lParam2 );
} }
...@@ -216,9 +216,9 @@ interface IMediaEvent : IDispatch ...@@ -216,9 +216,9 @@ interface IMediaEvent : IDispatch
] ]
interface IMediaEventEx : IMediaEvent interface IMediaEventEx : IMediaEvent
{ {
HRESULT SetNotifyWindow( [in] OAHWND hwnd, [in] long lMsg, [in] LONG_PTR lInstanceData ); HRESULT SetNotifyWindow( [in] OAHWND hwnd, [in] LONG lMsg, [in] LONG_PTR lInstanceData );
HRESULT SetNotifyFlags( [in] long lNoNotifyFlags ); HRESULT SetNotifyFlags( [in] LONG lNoNotifyFlags );
HRESULT GetNotifyFlags( [out] long *lplNoNotifyFlags ); HRESULT GetNotifyFlags( [out] LONG *lplNoNotifyFlags );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment