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

Forward AVIBuildFilter, AVIFileCreateStream, AVIFileOpen, AVISave,
EditStreamSetInfo, EditStreamSetName to their respective *A variants.
This commit is contained in:
Hans Leidekker 2004-12-27 16:58:18 +00:00 committed by Alexandre Julliard
parent dd9a30ba46
commit f4f4dff978
3 changed files with 51 additions and 10 deletions

View File

@ -2289,6 +2289,20 @@ HRESULT WINAPI AVIGetFromClipboard(PAVIFILE *ppfile)
return AVIERR_UNSUPPORTED;
}
/***********************************************************************
* 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.@)
*/
@ -2301,3 +2315,21 @@ HRESULT WINAPI AVIPutFileOnClipboard(PAVIFILE pfile)
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;
}

View File

@ -1,9 +1,9 @@
@ stub AVIBuildFilter
@ stdcall AVIBuildFilter(str long long) AVIBuildFilterA
@ stdcall AVIBuildFilterA(str long long)
@ stdcall AVIBuildFilterW(wstr long long)
@ stdcall AVIClearClipboard()
@ stdcall AVIFileAddRef(ptr)
@ stub AVIFileCreateStream
@ stdcall AVIFileCreateStream(ptr ptr ptr) AVIFileCreateStreamA
@ stdcall AVIFileCreateStreamA(ptr ptr ptr)
@ stdcall AVIFileCreateStreamW(ptr ptr ptr)
@ stdcall AVIFileEndRecord(ptr)
@ -13,7 +13,7 @@
@ stdcall AVIFileInfoA(ptr ptr long)
@ stdcall AVIFileInfoW(ptr ptr long)
@ stdcall AVIFileInit()
@ stub AVIFileOpen
@ stdcall AVIFileOpen(ptr str long ptr) AVIFileOpenA
@ stdcall AVIFileOpenA(ptr str long ptr)
@ stdcall AVIFileOpenW(ptr wstr long ptr)
@ stdcall AVIFileReadData(ptr long ptr ptr)
@ -22,16 +22,16 @@
@ stdcall AVIGetFromClipboard(ptr)
@ stdcall AVIMakeCompressedStream(ptr ptr ptr ptr)
@ stdcall AVIMakeFileFromStreams(ptr long ptr)
@ stub AVIMakeStreamFromClipboard
@ stdcall AVIMakeStreamFromClipboard(long long ptr)
@ stdcall AVIPutFileOnClipboard(ptr)
@ stub AVISave
@ stub AVISaveA
@ varargs AVISave(str ptr ptr long ptr ptr) AVISaveA
@ varargs AVISaveA(str ptr ptr long ptr ptr)
@ stdcall AVISaveOptions(long long long ptr 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 AVISaveVW(wstr ptr ptr long ptr ptr)
@ stub AVISaveW
@ varargs AVISaveW(wstr ptr ptr long ptr ptr)
@ stdcall AVIStreamAddRef(ptr)
@ stdcall AVIStreamBeginStreaming(ptr long long long)
@ stdcall AVIStreamCreate(ptr long long ptr)
@ -67,10 +67,10 @@
@ stdcall EditStreamCopy(ptr ptr ptr ptr)
@ stdcall EditStreamCut(ptr ptr ptr ptr)
@ stdcall EditStreamPaste(ptr ptr ptr ptr long long)
@ stub EditStreamSetInfo
@ stdcall EditStreamSetInfo(ptr ptr long) EditStreamSetInfoA
@ stdcall EditStreamSetInfoA(ptr ptr long)
@ stdcall EditStreamSetInfoW(ptr ptr long)
@ stub EditStreamSetName
@ stdcall EditStreamSetName(ptr str) EditStreamSetNameA
@ stdcall EditStreamSetNameA(ptr str)
@ stdcall EditStreamSetNameW(ptr wstr)
@ extern IID_IAVIEditStream

View File

@ -1051,6 +1051,7 @@ HRESULT WINAPI AVIStreamGetFrameClose(PGETFRAME pg);
HRESULT WINAPI AVIMakeCompressedStream(PAVISTREAM*ppsCompressed,PAVISTREAM ppsSource,AVICOMPRESSOPTIONS *lpOptions,CLSID*pclsidHandler);
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,
DWORD fccType, LONG lParam,
@ -1068,6 +1069,14 @@ BOOL WINAPI AVISaveOptions(HWND hWnd,UINT uFlags,INT nStream,
PAVISTREAM *ppavi,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,
AVISAVECALLBACK lpfnCallback, int nStream,
PAVISTREAM *ppavi, LPAVICOMPRESSOPTIONS *plpOptions);