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

Stub implementations for AVIMakeStreamFromClipboard, AVISave{A,W}.

Forward AVIBuildFilter, AVIFileCreateStream, AVIFileOpen, AVISave, EditStreamSetInfo, EditStreamSetName to their respective *A variants.
parent dd9a30ba
...@@ -2290,6 +2290,20 @@ HRESULT WINAPI AVIGetFromClipboard(PAVIFILE *ppfile) ...@@ -2290,6 +2290,20 @@ HRESULT WINAPI AVIGetFromClipboard(PAVIFILE *ppfile)
} }
/*********************************************************************** /***********************************************************************
* AVIMakeStreamFromClipboard (AVIFIL32.@)
*/
HRESULT WINAPI AVIMakeStreamFromClipboard(UINT cfFormat, HANDLE hGlobal,
PAVISTREAM * ppstream)
{
FIXME("(0x%08x,%p,%p), stub!\n", cfFormat, hGlobal, ppstream);
if (ppstream == NULL)
return AVIERR_BADHANDLE;
return AVIERR_UNSUPPORTED;
}
/***********************************************************************
* AVIPutFileOnClipboard (AVIFIL32.@) * AVIPutFileOnClipboard (AVIFIL32.@)
*/ */
HRESULT WINAPI AVIPutFileOnClipboard(PAVIFILE pfile) HRESULT WINAPI AVIPutFileOnClipboard(PAVIFILE pfile)
...@@ -2301,3 +2315,21 @@ HRESULT WINAPI AVIPutFileOnClipboard(PAVIFILE pfile) ...@@ -2301,3 +2315,21 @@ HRESULT WINAPI AVIPutFileOnClipboard(PAVIFILE pfile)
return AVIERR_UNSUPPORTED; return AVIERR_UNSUPPORTED;
} }
HRESULT WINAPI AVISaveA(LPCSTR szFile, CLSID * pclsidHandler, AVISAVECALLBACK lpfnCallback,
int nStreams, PAVISTREAM pavi, LPAVICOMPRESSOPTIONS lpOptions, ...)
{
FIXME("(%s,%p,%p,0x%08x,%p,%p), stub!\n", debugstr_a(szFile), pclsidHandler, lpfnCallback,
nStreams, pavi, lpOptions);
return AVIERR_UNSUPPORTED;
}
HRESULT WINAPI AVISaveW(LPCWSTR szFile, CLSID * pclsidHandler, AVISAVECALLBACK lpfnCallback,
int nStreams, PAVISTREAM pavi, LPAVICOMPRESSOPTIONS lpOptions, ...)
{
FIXME("(%s,%p,%p,0x%08x,%p,%p), stub!\n", debugstr_w(szFile), pclsidHandler, lpfnCallback,
nStreams, pavi, lpOptions);
return AVIERR_UNSUPPORTED;
}
@ stub AVIBuildFilter @ stdcall AVIBuildFilter(str long long) AVIBuildFilterA
@ stdcall AVIBuildFilterA(str long long) @ stdcall AVIBuildFilterA(str long long)
@ stdcall AVIBuildFilterW(wstr long long) @ stdcall AVIBuildFilterW(wstr long long)
@ stdcall AVIClearClipboard() @ stdcall AVIClearClipboard()
@ stdcall AVIFileAddRef(ptr) @ stdcall AVIFileAddRef(ptr)
@ stub AVIFileCreateStream @ stdcall AVIFileCreateStream(ptr ptr ptr) AVIFileCreateStreamA
@ stdcall AVIFileCreateStreamA(ptr ptr ptr) @ stdcall AVIFileCreateStreamA(ptr ptr ptr)
@ stdcall AVIFileCreateStreamW(ptr ptr ptr) @ stdcall AVIFileCreateStreamW(ptr ptr ptr)
@ stdcall AVIFileEndRecord(ptr) @ stdcall AVIFileEndRecord(ptr)
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
@ stdcall AVIFileInfoA(ptr ptr long) @ stdcall AVIFileInfoA(ptr ptr long)
@ stdcall AVIFileInfoW(ptr ptr long) @ stdcall AVIFileInfoW(ptr ptr long)
@ stdcall AVIFileInit() @ stdcall AVIFileInit()
@ stub AVIFileOpen @ stdcall AVIFileOpen(ptr str long ptr) AVIFileOpenA
@ stdcall AVIFileOpenA(ptr str long ptr) @ stdcall AVIFileOpenA(ptr str long ptr)
@ stdcall AVIFileOpenW(ptr wstr long ptr) @ stdcall AVIFileOpenW(ptr wstr long ptr)
@ stdcall AVIFileReadData(ptr long ptr ptr) @ stdcall AVIFileReadData(ptr long ptr ptr)
...@@ -22,16 +22,16 @@ ...@@ -22,16 +22,16 @@
@ stdcall AVIGetFromClipboard(ptr) @ stdcall AVIGetFromClipboard(ptr)
@ stdcall AVIMakeCompressedStream(ptr ptr ptr ptr) @ stdcall AVIMakeCompressedStream(ptr ptr ptr ptr)
@ stdcall AVIMakeFileFromStreams(ptr long ptr) @ stdcall AVIMakeFileFromStreams(ptr long ptr)
@ stub AVIMakeStreamFromClipboard @ stdcall AVIMakeStreamFromClipboard(long long ptr)
@ stdcall AVIPutFileOnClipboard(ptr) @ stdcall AVIPutFileOnClipboard(ptr)
@ stub AVISave @ varargs AVISave(str ptr ptr long ptr ptr) AVISaveA
@ stub AVISaveA @ varargs AVISaveA(str ptr ptr long ptr ptr)
@ stdcall AVISaveOptions(long long long ptr ptr) @ stdcall AVISaveOptions(long long long ptr ptr)
@ stdcall AVISaveOptionsFree(long ptr) @ stdcall AVISaveOptionsFree(long ptr)
@ stub AVISaveV @ stdcall AVISaveV(str ptr ptr long ptr ptr) AVISaveVA
@ stdcall AVISaveVA(str ptr ptr long ptr ptr) @ stdcall AVISaveVA(str ptr ptr long ptr ptr)
@ stdcall AVISaveVW(wstr ptr ptr long ptr ptr) @ stdcall AVISaveVW(wstr ptr ptr long ptr ptr)
@ stub AVISaveW @ varargs AVISaveW(wstr ptr ptr long ptr ptr)
@ stdcall AVIStreamAddRef(ptr) @ stdcall AVIStreamAddRef(ptr)
@ stdcall AVIStreamBeginStreaming(ptr long long long) @ stdcall AVIStreamBeginStreaming(ptr long long long)
@ stdcall AVIStreamCreate(ptr long long ptr) @ stdcall AVIStreamCreate(ptr long long ptr)
...@@ -67,10 +67,10 @@ ...@@ -67,10 +67,10 @@
@ stdcall EditStreamCopy(ptr ptr ptr ptr) @ stdcall EditStreamCopy(ptr ptr ptr ptr)
@ stdcall EditStreamCut(ptr ptr ptr ptr) @ stdcall EditStreamCut(ptr ptr ptr ptr)
@ stdcall EditStreamPaste(ptr ptr ptr ptr long long) @ stdcall EditStreamPaste(ptr ptr ptr ptr long long)
@ stub EditStreamSetInfo @ stdcall EditStreamSetInfo(ptr ptr long) EditStreamSetInfoA
@ stdcall EditStreamSetInfoA(ptr ptr long) @ stdcall EditStreamSetInfoA(ptr ptr long)
@ stdcall EditStreamSetInfoW(ptr ptr long) @ stdcall EditStreamSetInfoW(ptr ptr long)
@ stub EditStreamSetName @ stdcall EditStreamSetName(ptr str) EditStreamSetNameA
@ stdcall EditStreamSetNameA(ptr str) @ stdcall EditStreamSetNameA(ptr str)
@ stdcall EditStreamSetNameW(ptr wstr) @ stdcall EditStreamSetNameW(ptr wstr)
@ extern IID_IAVIEditStream @ extern IID_IAVIEditStream
......
...@@ -1051,6 +1051,7 @@ HRESULT WINAPI AVIStreamGetFrameClose(PGETFRAME pg); ...@@ -1051,6 +1051,7 @@ HRESULT WINAPI AVIStreamGetFrameClose(PGETFRAME pg);
HRESULT WINAPI AVIMakeCompressedStream(PAVISTREAM*ppsCompressed,PAVISTREAM ppsSource,AVICOMPRESSOPTIONS *lpOptions,CLSID*pclsidHandler); HRESULT WINAPI AVIMakeCompressedStream(PAVISTREAM*ppsCompressed,PAVISTREAM ppsSource,AVICOMPRESSOPTIONS *lpOptions,CLSID*pclsidHandler);
HRESULT WINAPI AVIMakeFileFromStreams(PAVIFILE *ppfile, int nStreams, PAVISTREAM *ppStreams); HRESULT WINAPI AVIMakeFileFromStreams(PAVIFILE *ppfile, int nStreams, PAVISTREAM *ppStreams);
HRESULT WINAPI AVIMakeStreamFromClipboard(UINT cfFormat, HANDLE hGlobal, PAVISTREAM * ppstream);
HRESULT WINAPI AVIStreamOpenFromFileA(PAVISTREAM *ppavi, LPCSTR szFile, HRESULT WINAPI AVIStreamOpenFromFileA(PAVISTREAM *ppavi, LPCSTR szFile,
DWORD fccType, LONG lParam, DWORD fccType, LONG lParam,
...@@ -1068,6 +1069,14 @@ BOOL WINAPI AVISaveOptions(HWND hWnd,UINT uFlags,INT nStream, ...@@ -1068,6 +1069,14 @@ BOOL WINAPI AVISaveOptions(HWND hWnd,UINT uFlags,INT nStream,
PAVISTREAM *ppavi,LPAVICOMPRESSOPTIONS *ppOptions); PAVISTREAM *ppavi,LPAVICOMPRESSOPTIONS *ppOptions);
HRESULT WINAPI AVISaveOptionsFree(INT nStreams,LPAVICOMPRESSOPTIONS*ppOptions); HRESULT WINAPI AVISaveOptionsFree(INT nStreams,LPAVICOMPRESSOPTIONS*ppOptions);
HRESULT WINAPI AVISaveA(LPCSTR szFile, CLSID *pclsidHandler,
AVISAVECALLBACK lpfnCallback, int nStreams,
PAVISTREAM pavi, LPAVICOMPRESSOPTIONS lpOptions, ...);
HRESULT WINAPI AVISaveW(LPCWSTR szFile, CLSID *pclsidHandler,
AVISAVECALLBACK lpfnCallback, int nStreams,
PAVISTREAM pavi, LPAVICOMPRESSOPTIONS lpOptions, ...);
#define AVISave WINELIB_NAME_AW(AVISave)
HRESULT WINAPI AVISaveVA(LPCSTR szFile, CLSID *pclsidHandler, HRESULT WINAPI AVISaveVA(LPCSTR szFile, CLSID *pclsidHandler,
AVISAVECALLBACK lpfnCallback, int nStream, AVISAVECALLBACK lpfnCallback, int nStream,
PAVISTREAM *ppavi, LPAVICOMPRESSOPTIONS *plpOptions); PAVISTREAM *ppavi, LPAVICOMPRESSOPTIONS *plpOptions);
......
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