Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
b14c0056
Commit
b14c0056
authored
Mar 12, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Mar 12, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qedit: Change long to LONG in qedit.idl.
parent
7ef5f44b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
25 deletions
+25
-25
mediadet.c
dlls/qedit/mediadet.c
+11
-11
mediadet.c
dlls/qedit/tests/mediadet.c
+2
-2
qedit.idl
include/qedit.idl
+12
-12
No files found.
dlls/qedit/mediadet.c
View file @
b14c0056
...
...
@@ -112,7 +112,7 @@ static HRESULT WINAPI MediaDet_put_Filter(IMediaDet* iface, IUnknown *newVal)
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
;
IEnumPins
*
pins
;
...
...
@@ -156,7 +156,7 @@ static HRESULT WINAPI MediaDet_get_OutputStreams(IMediaDet* iface, long *pVal)
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
;
TRACE
(
"(%p)
\n
"
,
This
);
...
...
@@ -209,16 +209,16 @@ static HRESULT SetCurPin(MediaDetImpl *This, long strm)
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
;
HRESULT
hr
;
TRACE
(
"(%p)->(%
l
d)
\n
"
,
This
,
newVal
);
TRACE
(
"(%p)->(%d)
\n
"
,
This
,
newVal
);
if
(
This
->
num_streams
==
-
1
)
{
long
n
;
LONG
n
;
hr
=
MediaDet_get_OutputStreams
(
iface
,
&
n
);
if
(
FAILED
(
hr
))
return
hr
;
...
...
@@ -461,21 +461,21 @@ static HRESULT WINAPI MediaDet_put_Filename(IMediaDet* iface, BSTR newVal)
static
HRESULT
WINAPI
MediaDet_GetBitmapBits
(
IMediaDet
*
iface
,
double
StreamTime
,
long
*
pBufferSize
,
char
*
pBuffer
,
long
Width
,
long
Height
)
LONG
*
pBufferSize
,
char
*
pBuffer
,
LONG
Width
,
LONG
Height
)
{
MediaDetImpl
*
This
=
(
MediaDetImpl
*
)
iface
;
FIXME
(
"(%p)->(%f %p %p %
ld %l
d): not implemented!
\n
"
,
This
,
StreamTime
,
pBufferSize
,
pBuffer
,
FIXME
(
"(%p)->(%f %p %p %
d %
d): not implemented!
\n
"
,
This
,
StreamTime
,
pBufferSize
,
pBuffer
,
Width
,
Height
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
MediaDet_WriteBitmapBits
(
IMediaDet
*
iface
,
double
StreamTime
,
long
Width
,
long
Height
,
BSTR
Filename
)
double
StreamTime
,
LONG
Width
,
LONG
Height
,
BSTR
Filename
)
{
MediaDetImpl
*
This
=
(
MediaDetImpl
*
)
iface
;
FIXME
(
"(%p)->(%f %
ld %l
d %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
;
}
...
...
dlls/qedit/tests/mediadet.c
View file @
b14c0056
...
...
@@ -94,8 +94,8 @@ static void test_mediadet(void)
HRESULT
hr
;
IMediaDet
*
pM
=
NULL
;
BSTR
filename
=
NULL
;
long
nstrms
=
0
;
long
strm
;
LONG
nstrms
=
0
;
LONG
strm
;
AM_MEDIA_TYPE
mt
;
double
fps
;
int
flags
;
...
...
include/qedit.idl
View file @
b14c0056
...
...
@@ -37,7 +37,7 @@ interface ISampleGrabberCB : IUnknown
HRESULT
BufferCB
(
double
SampleTime
,
BYTE
*
pBuffer
,
long
BufferLen
LONG
BufferLen
)
;
}
...
...
@@ -66,8 +66,8 @@ interface ISampleGrabber: IUnknown
)
;
HRESULT
GetCurrentBuffer
(
[
in
,
out
]
long
*
pBufferSize
,
[
out
]
long
*
pBuffer
[
in
,
out
]
LONG
*
pBufferSize
,
[
out
]
LONG
*
pBuffer
)
;
HRESULT
GetCurrentSample
(
...
...
@@ -76,7 +76,7 @@ interface ISampleGrabber: IUnknown
HRESULT
SetCallback
(
ISampleGrabberCB
*
pCallback
,
long
WhichMethodToCallback
LONG
WhichMethodToCallback
)
;
}
;
...
...
@@ -96,15 +96,15 @@ interface IMediaDet : IUnknown
)
;
HRESULT
get_OutputStreams
(
[
out
]
long
*
pVal
[
out
]
LONG
*
pVal
)
;
HRESULT
get_CurrentStream
(
[
out
]
long
*
pVal
[
out
]
LONG
*
pVal
)
;
HRESULT
put_CurrentStream
(
long
newVal
LONG
newVal
)
;
HRESULT
get_StreamType
(
...
...
@@ -129,16 +129,16 @@ interface IMediaDet : IUnknown
HRESULT
GetBitmapBits
(
double
StreamTime
,
long
*
pBufferSize
,
LONG
*
pBufferSize
,
char
*
pBuffer
,
long
Width
,
long
Height
LONG
Width
,
LONG
Height
)
;
HRESULT
WriteBitmapBits
(
double
StreamTime
,
long
Width
,
long
Height
,
LONG
Width
,
LONG
Height
,
BSTR
Filename
)
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment