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
fd5425e1
Commit
fd5425e1
authored
Jan 17, 2005
by
Hans Leidekker
Committed by
Alexandre Julliard
Jan 17, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stub implementations for DrawDibChangePalette, DrawDibGetBuffer,
DrawDibTime, ICSeqCompressFrame{,End,Start}. Forward GetOpenFileNamePreview to GetOpenFileNamePreviewA.
parent
7e8c096a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
78 additions
and
8 deletions
+78
-8
drawdib.c
dlls/msvideo/drawdib.c
+30
-0
msvfw32.spec
dlls/msvideo/msvfw32.spec
+7
-7
msvideo_main.c
dlls/msvideo/msvideo_main.c
+29
-1
vfw.h
include/vfw.h
+12
-0
No files found.
dlls/msvideo/drawdib.c
View file @
fd5425e1
...
@@ -383,6 +383,15 @@ BOOL VFWAPI DrawDibStop(HDRAWDIB hdd) {
...
@@ -383,6 +383,15 @@ BOOL VFWAPI DrawDibStop(HDRAWDIB hdd) {
}
}
/***********************************************************************
/***********************************************************************
* DrawDibChangePalette [MSVFW32.@]
*/
BOOL
VFWAPI
DrawDibChangePalette
(
HDRAWDIB
hdd
,
int
iStart
,
int
iLen
,
LPPALETTEENTRY
lppe
)
{
FIXME
(
"(%p, 0x%08x, 0x%08x, %p), stub
\n
"
,
hdd
,
iStart
,
iLen
,
lppe
);
return
TRUE
;
}
/***********************************************************************
* DrawDibSetPalette [MSVFW32.@]
* DrawDibSetPalette [MSVFW32.@]
*/
*/
BOOL
VFWAPI
DrawDibSetPalette
(
HDRAWDIB
hdd
,
HPALETTE
hpal
)
BOOL
VFWAPI
DrawDibSetPalette
(
HDRAWDIB
hdd
,
HPALETTE
hpal
)
...
@@ -406,6 +415,15 @@ BOOL VFWAPI DrawDibSetPalette(HDRAWDIB hdd, HPALETTE hpal)
...
@@ -406,6 +415,15 @@ BOOL VFWAPI DrawDibSetPalette(HDRAWDIB hdd, HPALETTE hpal)
}
}
/***********************************************************************
/***********************************************************************
* DrawDibGetBuffer [MSVFW32.@]
*/
LPVOID
VFWAPI
DrawDibGetBuffer
(
HDRAWDIB
hdd
,
LPBITMAPINFOHEADER
lpbi
,
DWORD
dwSize
,
DWORD
dwFlags
)
{
FIXME
(
"(%p, %p, 0x%08lx, 0x%08lx), stub
\n
"
,
hdd
,
lpbi
,
dwSize
,
dwFlags
);
return
NULL
;
}
/***********************************************************************
* DrawDibGetPalette [MSVFW32.@]
* DrawDibGetPalette [MSVFW32.@]
*/
*/
HPALETTE
VFWAPI
DrawDibGetPalette
(
HDRAWDIB
hdd
)
HPALETTE
VFWAPI
DrawDibGetPalette
(
HDRAWDIB
hdd
)
...
@@ -451,6 +469,18 @@ UINT VFWAPI DrawDibRealize(HDRAWDIB hdd, HDC hdc, BOOL fBackground)
...
@@ -451,6 +469,18 @@ UINT VFWAPI DrawDibRealize(HDRAWDIB hdd, HDC hdc, BOOL fBackground)
return
ret
;
return
ret
;
}
}
/***********************************************************************
* DrawDibTime [MSVFW32.@]
*/
BOOL
VFWAPI
DrawDibTime
(
HDRAWDIB
hdd
,
LPDRAWDIBTIME
lpddtime
)
{
FIXME
(
"(%p, %p) stub
\n
"
,
hdd
,
lpddtime
);
return
FALSE
;
}
/***********************************************************************
* DrawDibProfileDisplay [MSVFW32.@]
*/
DWORD
VFWAPI
DrawDibProfileDisplay
(
LPBITMAPINFOHEADER
lpbi
)
DWORD
VFWAPI
DrawDibProfileDisplay
(
LPBITMAPINFOHEADER
lpbi
)
{
{
FIXME
(
"(%p) stub
\n
"
,
lpbi
);
FIXME
(
"(%p) stub
\n
"
,
lpbi
);
...
...
dlls/msvideo/msvfw32.spec
View file @
fd5425e1
...
@@ -4,11 +4,11 @@
...
@@ -4,11 +4,11 @@
2 stdcall VideoForWindowsVersion()
2 stdcall VideoForWindowsVersion()
@ stdcall DrawDibBegin(long long long long ptr long long long)
@ stdcall DrawDibBegin(long long long long ptr long long long)
@ st
ub DrawDibChangePalette
@ st
dcall DrawDibChangePalette(long long long ptr)
@ stdcall DrawDibClose(long)
@ stdcall DrawDibClose(long)
@ stdcall DrawDibDraw(long long long long long long ptr ptr long long long long long)
@ stdcall DrawDibDraw(long long long long long long ptr ptr long long long long long)
@ stdcall DrawDibEnd(long)
@ stdcall DrawDibEnd(long)
@ st
ub DrawDibGetBuffer
@ st
dcall DrawDibGetBuffer(long ptr long long)
@ stdcall DrawDibGetPalette(long)
@ stdcall DrawDibGetPalette(long)
@ stdcall DrawDibOpen()
@ stdcall DrawDibOpen()
@ stdcall DrawDibProfileDisplay(ptr)
@ stdcall DrawDibProfileDisplay(ptr)
...
@@ -16,8 +16,8 @@
...
@@ -16,8 +16,8 @@
@ stdcall DrawDibSetPalette(long long)
@ stdcall DrawDibSetPalette(long long)
@ stdcall DrawDibStart(long long)
@ stdcall DrawDibStart(long long)
@ stdcall DrawDibStop(long)
@ stdcall DrawDibStop(long)
@ st
ub DrawDibTime
@ st
dcall DrawDibTime(long ptr)
@ st
ub GetOpenFileNamePreview
@ st
dcall GetOpenFileNamePreview(ptr) GetOpenFileNamePreviewA
@ stdcall GetOpenFileNamePreviewA(ptr)
@ stdcall GetOpenFileNamePreviewA(ptr)
@ stdcall GetOpenFileNamePreviewW(ptr)
@ stdcall GetOpenFileNamePreviewW(ptr)
@ stdcall GetSaveFileNamePreviewA(ptr)
@ stdcall GetSaveFileNamePreviewA(ptr)
...
@@ -41,9 +41,9 @@
...
@@ -41,9 +41,9 @@
@ stdcall ICOpenFunction(long long long ptr)
@ stdcall ICOpenFunction(long long long ptr)
@ stdcall ICRemove(long long long)
@ stdcall ICRemove(long long long)
@ stdcall ICSendMessage(long long long long)
@ stdcall ICSendMessage(long long long long)
@ st
ub ICSeqCompressFrame
@ st
dcall ICSeqCompressFrame(ptr long ptr ptr ptr)
@ st
ub ICSeqCompressFrameEnd
@ st
dcall ICSeqCompressFrameEnd(ptr)
@ st
ub ICSeqCompressFrameStart
@ st
dcall ICSeqCompressFrameStart(ptr ptr)
@ cdecl MCIWndCreate (long long long str) MCIWndCreateA
@ cdecl MCIWndCreate (long long long str) MCIWndCreateA
@ cdecl MCIWndCreateA (long long long str)
@ cdecl MCIWndCreateA (long long long str)
@ cdecl MCIWndCreateW (long long long wstr)
@ cdecl MCIWndCreateW (long long long wstr)
...
...
dlls/msvideo/msvideo_main.c
View file @
fd5425e1
...
@@ -702,7 +702,6 @@ DWORD VFWAPIV ICDecompress(HIC hic,DWORD dwFlags,LPBITMAPINFOHEADER lpbiFormat,
...
@@ -702,7 +702,6 @@ DWORD VFWAPIV ICDecompress(HIC hic,DWORD dwFlags,LPBITMAPINFOHEADER lpbiFormat,
return
ret
;
return
ret
;
}
}
/***********************************************************************
/***********************************************************************
* ICCompressorChoose [MSVFW32.@]
* ICCompressorChoose [MSVFW32.@]
*/
*/
...
@@ -1114,6 +1113,35 @@ err:
...
@@ -1114,6 +1113,35 @@ err:
return
(
HANDLE
)
hMem
;
return
(
HANDLE
)
hMem
;
}
}
/***********************************************************************
* ICSeqCompressFrame [MSVFW32.@]
*/
LPVOID
VFWAPI
ICSeqCompressFrame
(
PCOMPVARS
pc
,
UINT
uiFlags
,
LPVOID
lpBits
,
BOOL
*
pfKey
,
LONG
*
plSize
)
{
FIXME
(
"(%p, 0x%08x, %p, %p, %p), stub!
\n
"
,
pc
,
uiFlags
,
lpBits
,
pfKey
,
plSize
);
return
NULL
;
}
/***********************************************************************
* ICSeqCompressFrameEnd [MSVFW32.@]
*/
void
VFWAPI
ICSeqCompressFrameEnd
(
PCOMPVARS
pc
)
{
FIXME
(
"(%p), stub!
\n
"
,
pc
);
}
/***********************************************************************
* ICSeqCompressFrameEnd [MSVFW32.@]
*/
BOOL
VFWAPI
ICSeqCompressFrameStart
(
PCOMPVARS
pc
,
LPBITMAPINFO
lpbiIn
)
{
FIXME
(
"(%p, %p), stub!
\n
"
,
pc
,
lpbiIn
);
return
TRUE
;
}
/***********************************************************************
* GetFileNamePreview [MSVFW32.@]
*/
static
BOOL
GetFileNamePreview
(
LPVOID
lpofn
,
BOOL
bSave
,
BOOL
bUnicode
)
static
BOOL
GetFileNamePreview
(
LPVOID
lpofn
,
BOOL
bSave
,
BOOL
bUnicode
)
{
{
CHAR
szFunctionName
[
20
];
CHAR
szFunctionName
[
20
];
...
...
include/vfw.h
View file @
fd5425e1
...
@@ -1554,6 +1554,17 @@ HWND VFWAPIV MCIWndCreateW(HWND, HINSTANCE, DWORD, LPCWSTR);
...
@@ -1554,6 +1554,17 @@ HWND VFWAPIV MCIWndCreateW(HWND, HINSTANCE, DWORD, LPCWSTR);
* DrawDib declarations
* DrawDib declarations
*/
*/
typedef
struct
{
LONG
timeCount
;
LONG
timeDraw
;
LONG
timeDecompress
;
LONG
timeDither
;
LONG
timeStretch
;
LONG
timeBlt
;
LONG
timeSetDIBits
;
}
DRAWDIBTIME
,
*
LPDRAWDIBTIME
;
HDRAWDIB
VFWAPI
DrawDibOpen
(
void
);
HDRAWDIB
VFWAPI
DrawDibOpen
(
void
);
UINT
VFWAPI
DrawDibRealize
(
HDRAWDIB
hdd
,
HDC
hdc
,
BOOL
fBackground
);
UINT
VFWAPI
DrawDibRealize
(
HDRAWDIB
hdd
,
HDC
hdc
,
BOOL
fBackground
);
...
@@ -1595,6 +1606,7 @@ BOOL VFWAPI DrawDibStop(HDRAWDIB hdd);
...
@@ -1595,6 +1606,7 @@ BOOL VFWAPI DrawDibStop(HDRAWDIB hdd);
BOOL
VFWAPI
DrawDibEnd
(
HDRAWDIB
hdd
);
BOOL
VFWAPI
DrawDibEnd
(
HDRAWDIB
hdd
);
BOOL
VFWAPI
DrawDibClose
(
HDRAWDIB
hdd
);
BOOL
VFWAPI
DrawDibClose
(
HDRAWDIB
hdd
);
BOOL
VFWAPI
DrawDibTime
(
HDRAWDIB
hdd
,
LPDRAWDIBTIME
lpddtime
);
/* display profiling */
/* display profiling */
#define PD_CAN_DRAW_DIB 0x0001
#define PD_CAN_DRAW_DIB 0x0001
...
...
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