From 12b36ecb4add8b41149a656332f0f4bbb86814db Mon Sep 17 00:00:00 2001 From: Kirill Smelkov Date: Sat, 13 Dec 2003 00:03:30 +0000 Subject: [PATCH] Added CreateAsyncBindCtx and IsAsyncMoniker stubs. --- dlls/urlmon/umon.c | 18 ++++++++++++++++++ dlls/urlmon/urlmon.spec | 4 ++-- include/urlmon.h | 2 ++ include/urlmon.idl | 2 ++ 4 files changed, 24 insertions(+), 2 deletions(-) diff --git a/dlls/urlmon/umon.c b/dlls/urlmon/umon.c index 2ccd56ef3ba..3c1d1f0f7c7 100644 --- a/dlls/urlmon/umon.c +++ b/dlls/urlmon/umon.c @@ -802,6 +802,15 @@ static HRESULT WINAPI URLMonikerImpl_IBinding_Suspend(IBinding* iface) return E_NOTIMPL; } +/*********************************************************************** + * CreateAsyncBindCtx (URLMON.@) + */ +HRESULT WINAPI CreateAsyncBindCtx(DWORD reserved, IBindStatusCallback *callback, + IEnumFORMATETC *format, IBindCtx **pbind) +{ + FIXME("stub.\n"); + return E_INVALIDARG; +} /*********************************************************************** * CreateAsyncBindCtxEx (URLMON.@) * @@ -923,6 +932,15 @@ HRESULT WINAPI FindMimeFromData(LPBC pBC, LPCWSTR pwzUrl, LPVOID pBuffer, return E_OUTOFMEMORY; } +/*********************************************************************** + * IsAsyncMoniker (URLMON.@) + */ +HRESULT WINAPI IsAsyncMoniker(IMoniker *pmk) +{ + FIXME("stub\n"); + return S_FALSE; +} + /*********************************************************************** * RegisterBindStatusCallback (URLMON.@) * diff --git a/dlls/urlmon/urlmon.spec b/dlls/urlmon/urlmon.spec index fa45eab335c..014662d5a9d 100644 --- a/dlls/urlmon/urlmon.spec +++ b/dlls/urlmon/urlmon.spec @@ -17,7 +17,7 @@ @ stub CompareSecurityIds @ stub CopyBindInfo @ stub CopyStgMedium -@ stub CreateAsyncBindCtx +@ stdcall CreateAsyncBindCtx(long ptr ptr ptr) @ stdcall CreateAsyncBindCtxEx(ptr long ptr ptr ptr long) @ stub CreateFormatEnumerator @ stdcall CreateURLMoniker(ptr wstr ptr) @@ -43,7 +43,7 @@ @ stub HlinkNavigateString @ stub HlinkSimpleNavigateToMoniker @ stub HlinkSimpleNavigateToString -@ stub IsAsyncMoniker +@ stdcall IsAsyncMoniker(ptr) @ stub IsLoggingEnabledA @ stub IsLoggingEnabledW @ stub IsValidURL diff --git a/include/urlmon.h b/include/urlmon.h index 1e5a2210a63..2ea5a0d915b 100644 --- a/include/urlmon.h +++ b/include/urlmon.h @@ -1387,6 +1387,8 @@ HRESULT WINAPI RegisterBindStatusCallback(IBindCtx *pbc, IBindStatusCallback *pb HRESULT WINAPI CompareSecurityIds(BYTE*,DWORD,BYTE*,DWORD,DWORD); HRESULT WINAPI URLDownloadToFileA(LPUNKNOWN pCaller, LPCSTR szURL, LPCSTR szFileName, DWORD dwReserved, LPBINDSTATUSCALLBACK lpfnCB); HRESULT WINAPI URLDownloadToFileW(LPUNKNOWN pCaller, LPCWSTR szURL, LPCWSTR szFileName, DWORD dwReserved, LPBINDSTATUSCALLBACK lpfnCB); +HRESULT WINAPI IsAsyncMoniker(IMoniker* pmk); +HRESULT WINAPI CreateAsyncBindCtx(DWORD, IBindStatusCallback*, IEnumFORMATETC*, IBindCtx**); #ifdef __cplusplus } #endif diff --git a/include/urlmon.idl b/include/urlmon.idl index 1863640869c..8ea49607737 100644 --- a/include/urlmon.idl +++ b/include/urlmon.idl @@ -539,3 +539,5 @@ cpp_quote("HRESULT WINAPI RegisterBindStatusCallback(IBindCtx *pbc, IBindStatusC cpp_quote("HRESULT WINAPI CompareSecurityIds(BYTE*,DWORD,BYTE*,DWORD,DWORD);") cpp_quote("HRESULT WINAPI URLDownloadToFileA(LPUNKNOWN pCaller, LPCSTR szURL, LPCSTR szFileName, DWORD dwReserved, LPBINDSTATUSCALLBACK lpfnCB);") cpp_quote("HRESULT WINAPI URLDownloadToFileW(LPUNKNOWN pCaller, LPCWSTR szURL, LPCWSTR szFileName, DWORD dwReserved, LPBINDSTATUSCALLBACK lpfnCB);") +cpp_quote("HRESULT WINAPI IsAsyncMoniker(IMoniker* pmk);") +cpp_quote("HRESULT WINAPI CreateAsyncBindCtx(DWORD, IBindStatusCallback*, IEnumFORMATETC*, IBindCtx**);")