Ensure DllCanUnloadNow is a truly void function, and give it a unique

name so it can be documented per-dll.
This commit is contained in:
Jon Griffiths 2004-11-30 17:40:51 +00:00 committed by Alexandre Julliard
parent 18b26d893a
commit c50d8743fa
6 changed files with 6 additions and 6 deletions

View File

@ -47,7 +47,7 @@ HRESULT WINAPI COMCAT_DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv
/***********************************************************************
* DllCanUnloadNow (COMCAT.@)
*/
HRESULT WINAPI COMCAT_DllCanUnloadNow()
HRESULT WINAPI COMCAT_DllCanUnloadNow(void)
{
return dll_ref != 0 ? S_FALSE : S_OK;
}

View File

@ -221,7 +221,7 @@ DWORD WINAPI D3DXOF_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
/***********************************************************************
* DllCanUnloadNow (D3DXOF.@)
*/
HRESULT WINAPI D3DXOF_DllCanUnloadNow()
HRESULT WINAPI D3DXOF_DllCanUnloadNow(void)
{
return dll_ref != 0 ? S_FALSE : S_OK;
}

View File

@ -23,7 +23,7 @@
24 stdcall @(ptr) MPR_Free
25 stdcall @(ptr long) _MPR_25
@ stdcall -private DllCanUnloadNow()
@ stdcall -private DllCanUnloadNow() MPR_DllCanUnloadNow
@ stub DllGetClassObject
@ stdcall MultinetGetConnectionPerformanceA(ptr ptr)
@ stdcall MultinetGetConnectionPerformanceW(ptr ptr)

View File

@ -75,7 +75,7 @@ BOOL WINAPI _MPR_25( LPBYTE lpMem, INT len )
/*****************************************************************
* DllCanUnloadNow [MPR.@]
*/
DWORD WINAPI DllCanUnloadNow(void)
DWORD WINAPI MPR_DllCanUnloadNow(void)
{
FIXME("Stub\n");
return S_OK;

View File

@ -730,7 +730,7 @@ HRESULT WINAPI OLEAUT32_DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *p
* RETURNS
* Always returns S_FALSE. This dll cannot be unloaded.
*/
HRESULT WINAPI OLEAUT32_DllCanUnloadNow()
HRESULT WINAPI OLEAUT32_DllCanUnloadNow(void)
{
return S_FALSE;
}

View File

@ -52,7 +52,7 @@ HRESULT WINAPI OLEPRO32_DllRegisterServer()
/***********************************************************************
* DllCanUnloadNow (OLEPRO32.255)
*/
HRESULT WINAPI OLEPRO32_DllCanUnloadNow( )
HRESULT WINAPI OLEPRO32_DllCanUnloadNow(void)
{
FIXME("not implemented (olepro32.dll) \n");
return S_OK;