Commit 94defee5 authored by Alexandre Julliard's avatar Alexandre Julliard

Don't prefix the functions DllInstall and DllGetVersion with the dll

name so that the compiler can check the prototypes.
parent 5f4cdfcd
2 stdcall DllGetVersion (ptr) RICHED32_DllGetVersion 2 stdcall -private DllGetVersion (ptr)
...@@ -90,7 +90,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) ...@@ -90,7 +90,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
* *
* Retrieves version information * Retrieves version information
*/ */
HRESULT WINAPI RICHED32_DllGetVersion (DLLVERSIONINFO *pdvi) HRESULT WINAPI DllGetVersion (DLLVERSIONINFO *pdvi)
{ {
TRACE("\n"); TRACE("\n");
......
...@@ -559,7 +559,7 @@ ...@@ -559,7 +559,7 @@
@ stdcall ColorAdjustLuma(long long long) @ stdcall ColorAdjustLuma(long long long)
@ stdcall ColorHLSToRGB(long long long) @ stdcall ColorHLSToRGB(long long long)
@ stdcall ColorRGBToHLS(long ptr ptr ptr) @ stdcall ColorRGBToHLS(long ptr ptr ptr)
@ stdcall DllGetVersion (ptr) SHLWAPI_DllGetVersion @ stdcall -private DllGetVersion(ptr)
@ stdcall GetMenuPosFromID(ptr long) @ stdcall GetMenuPosFromID(ptr long)
@ stdcall HashData (ptr long ptr long) @ stdcall HashData (ptr long ptr long)
@ stdcall IntlStrEqWorkerA(long str str long) StrIsIntlEqualA @ stdcall IntlStrEqWorkerA(long str str long) StrIsIntlEqualA
......
...@@ -105,7 +105,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad) ...@@ -105,7 +105,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
* as pdvi, provided that the size is set correctly. * as pdvi, provided that the size is set correctly.
* Returns version as shlwapi.dll from IE5.01. * Returns version as shlwapi.dll from IE5.01.
*/ */
HRESULT WINAPI SHLWAPI_DllGetVersion (DLLVERSIONINFO *pdvi) HRESULT WINAPI DllGetVersion (DLLVERSIONINFO *pdvi)
{ {
DLLVERSIONINFO2 *pdvi2 = (DLLVERSIONINFO2*)pdvi; DLLVERSIONINFO2 *pdvi2 = (DLLVERSIONINFO2*)pdvi;
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
@ stdcall DeleteUrlCacheEntryW(wstr) @ stdcall DeleteUrlCacheEntryW(wstr)
@ stdcall DeleteUrlCacheGroup(double long ptr) @ stdcall DeleteUrlCacheGroup(double long ptr)
@ stdcall DetectAutoProxyUrl(str long long) @ stdcall DetectAutoProxyUrl(str long long)
@ stdcall DllInstall(long ptr) WININET_DllInstall @ stdcall -private DllInstall(long wstr)
@ stdcall FindCloseUrlCache(long) @ stdcall FindCloseUrlCache(long)
@ stdcall FindFirstUrlCacheContainerA(ptr ptr ptr long) @ stdcall FindFirstUrlCacheContainerA(ptr ptr ptr long)
@ stdcall FindFirstUrlCacheContainerW(ptr ptr ptr long) @ stdcall FindFirstUrlCacheContainerW(ptr ptr ptr long)
......
...@@ -31,11 +31,10 @@ WINE_DEFAULT_DEBUG_CHANNEL(wininet); ...@@ -31,11 +31,10 @@ WINE_DEFAULT_DEBUG_CHANNEL(wininet);
/*********************************************************************** /***********************************************************************
* DllInstall (WININET.@) * DllInstall (WININET.@)
*/ */
HRESULT WINAPI WININET_DllInstall(BOOL bInstall, LPCWSTR cmdline) HRESULT WINAPI DllInstall(BOOL bInstall, LPCWSTR cmdline)
{ {
FIXME("(%s, %s): stub\n", bInstall?"TRUE":"FALSE", FIXME("(%s, %s): stub\n", bInstall?"TRUE":"FALSE",
debugstr_w(cmdline)); debugstr_w(cmdline));
return S_OK; return S_OK;
} }
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