qedit: Change long to LONG in qedit.idl.

This commit is contained in:
Michael Stefaniuc 2009-03-12 01:42:24 +01:00 committed by Alexandre Julliard
parent 7ef5f44bb5
commit b14c0056dd
3 changed files with 25 additions and 25 deletions

View File

@ -112,7 +112,7 @@ static HRESULT WINAPI MediaDet_put_Filter(IMediaDet* iface, IUnknown *newVal)
return E_NOTIMPL; return E_NOTIMPL;
} }
static HRESULT WINAPI MediaDet_get_OutputStreams(IMediaDet* iface, long *pVal) static HRESULT WINAPI MediaDet_get_OutputStreams(IMediaDet* iface, LONG *pVal)
{ {
MediaDetImpl *This = (MediaDetImpl *)iface; MediaDetImpl *This = (MediaDetImpl *)iface;
IEnumPins *pins; IEnumPins *pins;
@ -156,7 +156,7 @@ static HRESULT WINAPI MediaDet_get_OutputStreams(IMediaDet* iface, long *pVal)
return S_OK; return S_OK;
} }
static HRESULT WINAPI MediaDet_get_CurrentStream(IMediaDet* iface, long *pVal) static HRESULT WINAPI MediaDet_get_CurrentStream(IMediaDet* iface, LONG *pVal)
{ {
MediaDetImpl *This = (MediaDetImpl *)iface; MediaDetImpl *This = (MediaDetImpl *)iface;
TRACE("(%p)\n", This); TRACE("(%p)\n", This);
@ -209,16 +209,16 @@ static HRESULT SetCurPin(MediaDetImpl *This, long strm)
return S_OK; return S_OK;
} }
static HRESULT WINAPI MediaDet_put_CurrentStream(IMediaDet* iface, long newVal) static HRESULT WINAPI MediaDet_put_CurrentStream(IMediaDet* iface, LONG newVal)
{ {
MediaDetImpl *This = (MediaDetImpl *)iface; MediaDetImpl *This = (MediaDetImpl *)iface;
HRESULT hr; HRESULT hr;
TRACE("(%p)->(%ld)\n", This, newVal); TRACE("(%p)->(%d)\n", This, newVal);
if (This->num_streams == -1) if (This->num_streams == -1)
{ {
long n; LONG n;
hr = MediaDet_get_OutputStreams(iface, &n); hr = MediaDet_get_OutputStreams(iface, &n);
if (FAILED(hr)) if (FAILED(hr))
return hr; return hr;
@ -461,21 +461,21 @@ static HRESULT WINAPI MediaDet_put_Filename(IMediaDet* iface, BSTR newVal)
static HRESULT WINAPI MediaDet_GetBitmapBits(IMediaDet* iface, static HRESULT WINAPI MediaDet_GetBitmapBits(IMediaDet* iface,
double StreamTime, double StreamTime,
long *pBufferSize, char *pBuffer, LONG *pBufferSize, char *pBuffer,
long Width, long Height) LONG Width, LONG Height)
{ {
MediaDetImpl *This = (MediaDetImpl *)iface; MediaDetImpl *This = (MediaDetImpl *)iface;
FIXME("(%p)->(%f %p %p %ld %ld): not implemented!\n", This, StreamTime, pBufferSize, pBuffer, FIXME("(%p)->(%f %p %p %d %d): not implemented!\n", This, StreamTime, pBufferSize, pBuffer,
Width, Height); Width, Height);
return E_NOTIMPL; return E_NOTIMPL;
} }
static HRESULT WINAPI MediaDet_WriteBitmapBits(IMediaDet* iface, static HRESULT WINAPI MediaDet_WriteBitmapBits(IMediaDet* iface,
double StreamTime, long Width, double StreamTime, LONG Width,
long Height, BSTR Filename) LONG Height, BSTR Filename)
{ {
MediaDetImpl *This = (MediaDetImpl *)iface; MediaDetImpl *This = (MediaDetImpl *)iface;
FIXME("(%p)->(%f %ld %ld %p): not implemented!\n", This, StreamTime, Width, Height, Filename); FIXME("(%p)->(%f %d %d %p): not implemented!\n", This, StreamTime, Width, Height, Filename);
return E_NOTIMPL; return E_NOTIMPL;
} }

View File

@ -94,8 +94,8 @@ static void test_mediadet(void)
HRESULT hr; HRESULT hr;
IMediaDet *pM = NULL; IMediaDet *pM = NULL;
BSTR filename = NULL; BSTR filename = NULL;
long nstrms = 0; LONG nstrms = 0;
long strm; LONG strm;
AM_MEDIA_TYPE mt; AM_MEDIA_TYPE mt;
double fps; double fps;
int flags; int flags;

View File

@ -37,7 +37,7 @@ interface ISampleGrabberCB : IUnknown
HRESULT BufferCB( HRESULT BufferCB(
double SampleTime, double SampleTime,
BYTE * pBuffer, BYTE * pBuffer,
long BufferLen LONG BufferLen
); );
} }
@ -66,8 +66,8 @@ interface ISampleGrabber: IUnknown
); );
HRESULT GetCurrentBuffer( HRESULT GetCurrentBuffer(
[in,out] long * pBufferSize, [in,out] LONG * pBufferSize,
[out] long * pBuffer [out] LONG * pBuffer
); );
HRESULT GetCurrentSample( HRESULT GetCurrentSample(
@ -76,7 +76,7 @@ interface ISampleGrabber: IUnknown
HRESULT SetCallback( HRESULT SetCallback(
ISampleGrabberCB * pCallback, ISampleGrabberCB * pCallback,
long WhichMethodToCallback LONG WhichMethodToCallback
); );
}; };
@ -96,15 +96,15 @@ interface IMediaDet : IUnknown
); );
HRESULT get_OutputStreams( HRESULT get_OutputStreams(
[out] long *pVal [out] LONG *pVal
); );
HRESULT get_CurrentStream( HRESULT get_CurrentStream(
[out] long *pVal [out] LONG *pVal
); );
HRESULT put_CurrentStream( HRESULT put_CurrentStream(
long newVal LONG newVal
); );
HRESULT get_StreamType( HRESULT get_StreamType(
@ -129,16 +129,16 @@ interface IMediaDet : IUnknown
HRESULT GetBitmapBits( HRESULT GetBitmapBits(
double StreamTime, double StreamTime,
long * pBufferSize, LONG * pBufferSize,
char * pBuffer, char * pBuffer,
long Width, LONG Width,
long Height LONG Height
); );
HRESULT WriteBitmapBits( HRESULT WriteBitmapBits(
double StreamTime, double StreamTime,
long Width, LONG Width,
long Height, LONG Height,
BSTR Filename BSTR Filename
); );