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
11b21f70
Commit
11b21f70
authored
Sep 02, 2013
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Sep 03, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avifil32: Move the IAVIStream vtbl to avoid forward declarations.
parent
555fbc98
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
33 deletions
+17
-33
avifile.c
dlls/avifil32/avifile.c
+17
-33
No files found.
dlls/avifil32/avifile.c
View file @
11b21f70
...
@@ -55,38 +55,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(avifile);
...
@@ -55,38 +55,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(avifile);
#define IDX_PER_BLOCK 2730
#define IDX_PER_BLOCK 2730
#endif
#endif
static
HRESULT
WINAPI
IAVIStream_fnQueryInterface
(
IAVIStream
*
iface
,
REFIID
refiid
,
LPVOID
*
obj
);
static
ULONG
WINAPI
IAVIStream_fnAddRef
(
IAVIStream
*
iface
);
static
ULONG
WINAPI
IAVIStream_fnRelease
(
IAVIStream
*
iface
);
static
HRESULT
WINAPI
IAVIStream_fnCreate
(
IAVIStream
*
iface
,
LPARAM
lParam1
,
LPARAM
lParam2
);
static
HRESULT
WINAPI
IAVIStream_fnInfo
(
IAVIStream
*
iface
,
AVISTREAMINFOW
*
psi
,
LONG
size
);
static
LONG
WINAPI
IAVIStream_fnFindSample
(
IAVIStream
*
iface
,
LONG
pos
,
LONG
flags
);
static
HRESULT
WINAPI
IAVIStream_fnReadFormat
(
IAVIStream
*
iface
,
LONG
pos
,
LPVOID
format
,
LONG
*
formatsize
);
static
HRESULT
WINAPI
IAVIStream_fnSetFormat
(
IAVIStream
*
iface
,
LONG
pos
,
LPVOID
format
,
LONG
formatsize
);
static
HRESULT
WINAPI
IAVIStream_fnRead
(
IAVIStream
*
iface
,
LONG
start
,
LONG
samples
,
LPVOID
buffer
,
LONG
buffersize
,
LONG
*
bytesread
,
LONG
*
samplesread
);
static
HRESULT
WINAPI
IAVIStream_fnWrite
(
IAVIStream
*
iface
,
LONG
start
,
LONG
samples
,
LPVOID
buffer
,
LONG
buffersize
,
DWORD
flags
,
LONG
*
sampwritten
,
LONG
*
byteswritten
);
static
HRESULT
WINAPI
IAVIStream_fnDelete
(
IAVIStream
*
iface
,
LONG
start
,
LONG
samples
);
static
HRESULT
WINAPI
IAVIStream_fnReadData
(
IAVIStream
*
iface
,
DWORD
fcc
,
LPVOID
lp
,
LONG
*
lpread
);
static
HRESULT
WINAPI
IAVIStream_fnWriteData
(
IAVIStream
*
iface
,
DWORD
fcc
,
LPVOID
lp
,
LONG
size
);
static
HRESULT
WINAPI
IAVIStream_fnSetInfo
(
IAVIStream
*
iface
,
AVISTREAMINFOW
*
info
,
LONG
infolen
);
static
const
struct
IAVIStreamVtbl
avist_vt
=
{
IAVIStream_fnQueryInterface
,
IAVIStream_fnAddRef
,
IAVIStream_fnRelease
,
IAVIStream_fnCreate
,
IAVIStream_fnInfo
,
IAVIStream_fnFindSample
,
IAVIStream_fnReadFormat
,
IAVIStream_fnSetFormat
,
IAVIStream_fnRead
,
IAVIStream_fnWrite
,
IAVIStream_fnDelete
,
IAVIStream_fnReadData
,
IAVIStream_fnWriteData
,
IAVIStream_fnSetInfo
};
typedef
struct
_IAVIFileImpl
IAVIFileImpl
;
typedef
struct
_IAVIFileImpl
IAVIFileImpl
;
typedef
struct
_IAVIStreamImpl
{
typedef
struct
_IAVIStreamImpl
{
...
@@ -1346,7 +1314,23 @@ static HRESULT WINAPI IAVIStream_fnSetInfo(IAVIStream *iface, AVISTREAMINFOW *in
...
@@ -1346,7 +1314,23 @@ static HRESULT WINAPI IAVIStream_fnSetInfo(IAVIStream *iface, AVISTREAMINFOW *in
return
E_FAIL
;
return
E_FAIL
;
}
}
/***********************************************************************/
static
const
struct
IAVIStreamVtbl
avist_vt
=
{
IAVIStream_fnQueryInterface
,
IAVIStream_fnAddRef
,
IAVIStream_fnRelease
,
IAVIStream_fnCreate
,
IAVIStream_fnInfo
,
IAVIStream_fnFindSample
,
IAVIStream_fnReadFormat
,
IAVIStream_fnSetFormat
,
IAVIStream_fnRead
,
IAVIStream_fnWrite
,
IAVIStream_fnDelete
,
IAVIStream_fnReadData
,
IAVIStream_fnWriteData
,
IAVIStream_fnSetInfo
};
static
HRESULT
AVIFILE_AddFrame
(
IAVIStreamImpl
*
This
,
DWORD
ckid
,
DWORD
size
,
DWORD
offset
,
DWORD
flags
)
static
HRESULT
AVIFILE_AddFrame
(
IAVIStreamImpl
*
This
,
DWORD
ckid
,
DWORD
size
,
DWORD
offset
,
DWORD
flags
)
{
{
...
...
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