Commit fd5425e1 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

Stub implementations for DrawDibChangePalette, DrawDibGetBuffer,

DrawDibTime, ICSeqCompressFrame{,End,Start}. Forward GetOpenFileNamePreview to GetOpenFileNamePreviewA.
parent 7e8c096a
...@@ -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);
......
...@@ -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)
@ stub DrawDibChangePalette @ stdcall 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)
@ stub DrawDibGetBuffer @ stdcall 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)
@ stub DrawDibTime @ stdcall DrawDibTime(long ptr)
@ stub GetOpenFileNamePreview @ stdcall 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)
@ stub ICSeqCompressFrame @ stdcall ICSeqCompressFrame(ptr long ptr ptr ptr)
@ stub ICSeqCompressFrameEnd @ stdcall ICSeqCompressFrameEnd(ptr)
@ stub ICSeqCompressFrameStart @ stdcall 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)
......
...@@ -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];
......
...@@ -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
......
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