mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Sync to Wine-20050830:
Francois Gouget <fgouget@free.fr> - Add missing WINAPI to MSXML_DllGetClassObject(). Standardize the DllGetClassObject() prototypes so they match the MSDN definition. Alexandre Julliard <julliard@winehq.org> - Don't prefix the functions DllCanUnloadNow, DllGetClassObject and Dll(Un)RegisterServer with the dll name so that the compiler can check the prototypes. svn path=/trunk/; revision=17717
This commit is contained in:
parent
5be54798fe
commit
179c1bfe6c
4 changed files with 88 additions and 111 deletions
|
@ -1,23 +0,0 @@
|
|||
TOPSRCDIR = @top_srcdir@
|
||||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = urlmon.dll
|
||||
IMPORTLIB = liburlmon.$(IMPLIBEXT)
|
||||
IMPORTS = cabinet ole32 shlwapi wininet user32 advapi32 kernel32 ntdll
|
||||
EXTRALIBS = -luuid
|
||||
|
||||
C_SRCS = \
|
||||
regsvr.c \
|
||||
sec_mgr.c \
|
||||
umon.c \
|
||||
umstream.c \
|
||||
urlmon_main.c
|
||||
|
||||
RC_SRCS = rsrc.rc
|
||||
|
||||
SUBDIRS = tests
|
||||
|
||||
@MAKE_DLL_RULES@
|
||||
|
||||
### Dependencies:
|
|
@ -624,7 +624,7 @@ static HRESULT register_inf(BOOL doregister)
|
|||
/***********************************************************************
|
||||
* DllRegisterServer (URLMON.@)
|
||||
*/
|
||||
HRESULT WINAPI URLMON_DllRegisterServer(void)
|
||||
HRESULT WINAPI DllRegisterServer(void)
|
||||
{
|
||||
HRESULT hr;
|
||||
|
||||
|
@ -641,7 +641,7 @@ HRESULT WINAPI URLMON_DllRegisterServer(void)
|
|||
/***********************************************************************
|
||||
* DllUnregisterServer (URLMON.@)
|
||||
*/
|
||||
HRESULT WINAPI URLMON_DllUnregisterServer(void)
|
||||
HRESULT WINAPI DllUnregisterServer(void)
|
||||
{
|
||||
HRESULT hr;
|
||||
|
||||
|
|
|
@ -1,82 +1,82 @@
|
|||
# Up until Windows 2000 these APIs have hardcoded ordinals.
|
||||
# Keep it that way for compatibility.
|
||||
1 stub CDLGetLongPathNameA
|
||||
2 stub CDLGetLongPathNameW
|
||||
# IsJITInProgress has a hardcoded ordinal on WinME and Windows 2000
|
||||
#3 stub IsJITInProgress
|
||||
|
||||
@ stub AsyncGetClassBits
|
||||
@ stub AsyncInstallDistributionUnit
|
||||
@ stub BindAsyncMoniker
|
||||
@ stdcall CoGetClassObjectFromURL(ptr wstr long long wstr ptr long ptr ptr ptr)
|
||||
@ stub CoInstall
|
||||
@ stdcall CoInternetCombineUrl(wstr wstr long wstr long ptr long)
|
||||
@ stdcall CoInternetCompareUrl(wstr wstr long)
|
||||
@ stdcall CoInternetCreateSecurityManager(ptr ptr long)
|
||||
@ stdcall CoInternetCreateZoneManager(ptr ptr long)
|
||||
@ stub CoInternetGetProtocolFlags
|
||||
@ stub CoInternetGetSecurityUrl
|
||||
@ stdcall CoInternetGetSession(long ptr long)
|
||||
@ stub CoInternetParseUrl
|
||||
@ stdcall CoInternetQueryInfo(ptr long long ptr long ptr long)
|
||||
@ stub CompareSecurityIds
|
||||
@ stub CopyBindInfo
|
||||
@ stub CopyStgMedium
|
||||
@ stdcall CreateAsyncBindCtx(long ptr ptr ptr)
|
||||
@ stdcall CreateAsyncBindCtxEx(ptr long ptr ptr ptr long)
|
||||
@ stub CreateFormatEnumerator
|
||||
@ stdcall CreateURLMoniker(ptr wstr ptr)
|
||||
@ stdcall -private DllCanUnloadNow() URLMON_DllCanUnloadNow
|
||||
@ stdcall -private DllGetClassObject(ptr ptr ptr) URLMON_DllGetClassObject
|
||||
@ stdcall DllInstall(long ptr) URLMON_DllInstall
|
||||
@ stdcall -private DllRegisterServer() URLMON_DllRegisterServer
|
||||
@ stdcall -private DllRegisterServerEx() URLMON_DllRegisterServerEx
|
||||
@ stdcall -private DllUnregisterServer() URLMON_DllUnregisterServer
|
||||
@ stdcall Extract(long ptr) cabinet.Extract
|
||||
@ stdcall FaultInIEFeature(long ptr ptr long)
|
||||
@ stub FindMediaType
|
||||
@ stub FindMediaTypeClass
|
||||
@ stdcall FindMimeFromData(long ptr ptr long ptr long ptr long)
|
||||
@ stub GetClassFileOrMime
|
||||
@ stub GetClassURL
|
||||
@ stub GetComponentIDFromCLSSPEC
|
||||
@ stub GetMarkOfTheWeb
|
||||
@ stdcall GetSoftwareUpdateInfo(ptr ptr)
|
||||
@ stub HlinkGoBack
|
||||
@ stub HlinkGoForward
|
||||
@ stub HlinkNavigateMoniker
|
||||
@ stdcall HlinkNavigateString(ptr wstr)
|
||||
@ stub HlinkSimpleNavigateToMoniker
|
||||
@ stdcall HlinkSimpleNavigateToString(wstr wstr wstr ptr ptr ptr long long)
|
||||
@ stdcall IsAsyncMoniker(ptr)
|
||||
@ stub IsLoggingEnabledA
|
||||
@ stub IsLoggingEnabledW
|
||||
@ stdcall IsValidURL(ptr wstr long)
|
||||
@ stdcall MkParseDisplayNameEx(ptr ptr ptr ptr) ole32.MkParseDisplayName
|
||||
@ stdcall ObtainUserAgentString(long str ptr)
|
||||
@ stub PrivateCoInstall
|
||||
@ stdcall RegisterBindStatusCallback(ptr ptr ptr long)
|
||||
@ stub RegisterFormatEnumerator
|
||||
@ stub RegisterMediaTypeClass
|
||||
@ stub RegisterMediaTypes
|
||||
@ stdcall ReleaseBindInfo(ptr)
|
||||
@ stdcall RevokeBindStatusCallback(ptr ptr)
|
||||
@ stub RevokeFormatEnumerator
|
||||
@ stub SetSoftwareUpdateAdvertisementState
|
||||
@ stub URLDownloadA
|
||||
@ stub URLDownloadToCacheFileA
|
||||
@ stub URLDownloadToCacheFileW
|
||||
@ stdcall URLDownloadToFileA(ptr str str long ptr)
|
||||
@ stdcall URLDownloadToFileW(ptr wstr wstr long ptr)
|
||||
@ stub URLDownloadW
|
||||
@ stub URLOpenBlockingStreamA
|
||||
@ stub URLOpenBlockingStreamW
|
||||
@ stub URLOpenPullStreamA
|
||||
@ stub URLOpenPullStreamW
|
||||
@ stub URLOpenStreamA
|
||||
@ stub URLOpenStreamW
|
||||
@ stub UrlMkBuildVersion
|
||||
@ stdcall UrlMkGetSessionOption(long ptr long ptr long)
|
||||
@ stdcall UrlMkSetSessionOption(long ptr long long)
|
||||
@ stub WriteHitLogging
|
||||
@ stub ZonesReInit
|
||||
# Up until Windows 2000 these APIs have hardcoded ordinals.
|
||||
# Keep it that way for compatibility.
|
||||
1 stub CDLGetLongPathNameA
|
||||
2 stub CDLGetLongPathNameW
|
||||
# IsJITInProgress has a hardcoded ordinal on WinME and Windows 2000
|
||||
#3 stub IsJITInProgress
|
||||
|
||||
@ stub AsyncGetClassBits
|
||||
@ stub AsyncInstallDistributionUnit
|
||||
@ stub BindAsyncMoniker
|
||||
@ stdcall CoGetClassObjectFromURL(ptr wstr long long wstr ptr long ptr ptr ptr)
|
||||
@ stub CoInstall
|
||||
@ stdcall CoInternetCombineUrl(wstr wstr long wstr long ptr long)
|
||||
@ stdcall CoInternetCompareUrl(wstr wstr long)
|
||||
@ stdcall CoInternetCreateSecurityManager(ptr ptr long)
|
||||
@ stdcall CoInternetCreateZoneManager(ptr ptr long)
|
||||
@ stub CoInternetGetProtocolFlags
|
||||
@ stub CoInternetGetSecurityUrl
|
||||
@ stdcall CoInternetGetSession(long ptr long)
|
||||
@ stub CoInternetParseUrl
|
||||
@ stdcall CoInternetQueryInfo(ptr long long ptr long ptr long)
|
||||
@ stub CompareSecurityIds
|
||||
@ stub CopyBindInfo
|
||||
@ stub CopyStgMedium
|
||||
@ stdcall CreateAsyncBindCtx(long ptr ptr ptr)
|
||||
@ stdcall CreateAsyncBindCtxEx(ptr long ptr ptr ptr long)
|
||||
@ stub CreateFormatEnumerator
|
||||
@ stdcall CreateURLMoniker(ptr wstr ptr)
|
||||
@ stdcall -private DllCanUnloadNow()
|
||||
@ stdcall -private DllGetClassObject(ptr ptr ptr)
|
||||
@ stdcall -private DllInstall(long wstr)
|
||||
@ stdcall -private DllRegisterServer()
|
||||
@ stdcall -private DllRegisterServerEx()
|
||||
@ stdcall -private DllUnregisterServer()
|
||||
@ stdcall Extract(long ptr) cabinet.Extract
|
||||
@ stdcall FaultInIEFeature(long ptr ptr long)
|
||||
@ stub FindMediaType
|
||||
@ stub FindMediaTypeClass
|
||||
@ stdcall FindMimeFromData(long ptr ptr long ptr long ptr long)
|
||||
@ stub GetClassFileOrMime
|
||||
@ stub GetClassURL
|
||||
@ stub GetComponentIDFromCLSSPEC
|
||||
@ stub GetMarkOfTheWeb
|
||||
@ stdcall GetSoftwareUpdateInfo(ptr ptr)
|
||||
@ stub HlinkGoBack
|
||||
@ stub HlinkGoForward
|
||||
@ stub HlinkNavigateMoniker
|
||||
@ stdcall HlinkNavigateString(ptr wstr)
|
||||
@ stub HlinkSimpleNavigateToMoniker
|
||||
@ stdcall HlinkSimpleNavigateToString(wstr wstr wstr ptr ptr ptr long long)
|
||||
@ stdcall IsAsyncMoniker(ptr)
|
||||
@ stub IsLoggingEnabledA
|
||||
@ stub IsLoggingEnabledW
|
||||
@ stdcall IsValidURL(ptr wstr long)
|
||||
@ stdcall MkParseDisplayNameEx(ptr ptr ptr ptr) ole32.MkParseDisplayName
|
||||
@ stdcall ObtainUserAgentString(long str ptr)
|
||||
@ stub PrivateCoInstall
|
||||
@ stdcall RegisterBindStatusCallback(ptr ptr ptr long)
|
||||
@ stub RegisterFormatEnumerator
|
||||
@ stub RegisterMediaTypeClass
|
||||
@ stub RegisterMediaTypes
|
||||
@ stdcall ReleaseBindInfo(ptr)
|
||||
@ stdcall RevokeBindStatusCallback(ptr ptr)
|
||||
@ stub RevokeFormatEnumerator
|
||||
@ stub SetSoftwareUpdateAdvertisementState
|
||||
@ stub URLDownloadA
|
||||
@ stub URLDownloadToCacheFileA
|
||||
@ stub URLDownloadToCacheFileW
|
||||
@ stdcall URLDownloadToFileA(ptr str str long ptr)
|
||||
@ stdcall URLDownloadToFileW(ptr wstr wstr long ptr)
|
||||
@ stub URLDownloadW
|
||||
@ stub URLOpenBlockingStreamA
|
||||
@ stub URLOpenBlockingStreamW
|
||||
@ stub URLOpenPullStreamA
|
||||
@ stub URLOpenPullStreamW
|
||||
@ stub URLOpenStreamA
|
||||
@ stub URLOpenStreamW
|
||||
@ stub UrlMkBuildVersion
|
||||
@ stdcall UrlMkGetSessionOption(long ptr long ptr long)
|
||||
@ stdcall UrlMkSetSessionOption(long ptr long long)
|
||||
@ stub WriteHitLogging
|
||||
@ stub ZonesReInit
|
||||
|
|
|
@ -65,7 +65,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
|
|||
/***********************************************************************
|
||||
* DllInstall (URLMON.@)
|
||||
*/
|
||||
HRESULT WINAPI URLMON_DllInstall(BOOL bInstall, LPCWSTR cmdline)
|
||||
HRESULT WINAPI DllInstall(BOOL bInstall, LPCWSTR cmdline)
|
||||
{
|
||||
FIXME("(%s, %s): stub\n", bInstall?"TRUE":"FALSE",
|
||||
debugstr_w(cmdline));
|
||||
|
@ -76,7 +76,7 @@ HRESULT WINAPI URLMON_DllInstall(BOOL bInstall, LPCWSTR cmdline)
|
|||
/***********************************************************************
|
||||
* DllCanUnloadNow (URLMON.@)
|
||||
*/
|
||||
HRESULT WINAPI URLMON_DllCanUnloadNow(void)
|
||||
HRESULT WINAPI DllCanUnloadNow(void)
|
||||
{
|
||||
return URLMON_refCount != 0 ? S_FALSE : S_OK;
|
||||
}
|
||||
|
@ -199,7 +199,7 @@ static const IClassFactoryVtbl CF_Vtbl =
|
|||
* E_UNEXPECTED
|
||||
*/
|
||||
|
||||
DWORD WINAPI URLMON_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
|
||||
HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
|
||||
{
|
||||
int i;
|
||||
IClassFactoryImpl *factory;
|
||||
|
@ -240,7 +240,7 @@ DWORD WINAPI URLMON_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
|
|||
/***********************************************************************
|
||||
* DllRegisterServerEx (URLMON.@)
|
||||
*/
|
||||
HRESULT WINAPI URLMON_DllRegisterServerEx(void)
|
||||
HRESULT WINAPI DllRegisterServerEx(void)
|
||||
{
|
||||
FIXME("(void): stub\n");
|
||||
|
||||
|
|
Loading…
Reference in a new issue