Commit d37f0abf authored by Alexandre Julliard's avatar Alexandre Julliard

Don't prefix the functions DllCanUnloadNow, DllGetClassObject and

Dll(Un)RegisterServer with the dll name so that the compiler can check the prototypes.
parent 964815bc
@ stdcall -private DllCanUnloadNow() AMSTREAM_DllCanUnloadNow @ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr) AMSTREAM_DllGetClassObject @ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllRegisterServer() AMSTREAM_DllRegisterServer @ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer() AMSTREAM_DllUnregisterServer @ stdcall -private DllUnregisterServer()
...@@ -167,7 +167,7 @@ static const IClassFactoryVtbl DSCF_Vtbl = ...@@ -167,7 +167,7 @@ static const IClassFactoryVtbl DSCF_Vtbl =
* Failure: CLASS_E_CLASSNOTAVAILABLE, E_OUTOFMEMORY, E_INVALIDARG, * Failure: CLASS_E_CLASSNOTAVAILABLE, E_OUTOFMEMORY, E_INVALIDARG,
* E_UNEXPECTED * E_UNEXPECTED
*/ */
HRESULT WINAPI AMSTREAM_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv) HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
{ {
int i; int i;
IClassFactoryImpl *factory; IClassFactoryImpl *factory;
...@@ -205,7 +205,7 @@ HRESULT WINAPI AMSTREAM_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID * ...@@ -205,7 +205,7 @@ HRESULT WINAPI AMSTREAM_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *
/*********************************************************************** /***********************************************************************
* DllCanUnloadNow (AMSTREAM.@) * DllCanUnloadNow (AMSTREAM.@)
*/ */
HRESULT WINAPI AMSTREAM_DllCanUnloadNow() HRESULT WINAPI DllCanUnloadNow(void)
{ {
return dll_ref != 0 ? S_FALSE : S_OK; return dll_ref != 0 ? S_FALSE : S_OK;
} }
...@@ -526,7 +526,7 @@ static struct regsvr_interface const interface_list[] = { ...@@ -526,7 +526,7 @@ static struct regsvr_interface const interface_list[] = {
/*********************************************************************** /***********************************************************************
* DllRegisterServer (AMSTREAM.@) * DllRegisterServer (AMSTREAM.@)
*/ */
HRESULT WINAPI AMSTREAM_DllRegisterServer(void) HRESULT WINAPI DllRegisterServer(void)
{ {
HRESULT hr; HRESULT hr;
...@@ -541,7 +541,7 @@ HRESULT WINAPI AMSTREAM_DllRegisterServer(void) ...@@ -541,7 +541,7 @@ HRESULT WINAPI AMSTREAM_DllRegisterServer(void)
/*********************************************************************** /***********************************************************************
* DllUnregisterServer (AMSTREAM.@) * DllUnregisterServer (AMSTREAM.@)
*/ */
HRESULT WINAPI AMSTREAM_DllUnregisterServer(void) HRESULT WINAPI DllUnregisterServer(void)
{ {
HRESULT hr; HRESULT hr;
......
1 stdcall -private DllCanUnloadNow() ATL_DllCanUnloadNow 1 stdcall -private DllCanUnloadNow()
2 stdcall -private DllGetClassObject(ptr ptr ptr) ATL_DllGetClassObject 2 stdcall -private DllGetClassObject(ptr ptr ptr)
3 stdcall -private DllRegisterServer() ATL_DllRegisterServer 3 stdcall -private DllRegisterServer()
4 stdcall -private DllUnregisterServer() ATL_DllUnregisterServer 4 stdcall -private DllUnregisterServer()
10 stdcall AtlAdvise(ptr ptr ptr ptr) 10 stdcall AtlAdvise(ptr ptr ptr ptr)
11 stdcall AtlUnadvise(ptr ptr long) 11 stdcall AtlUnadvise(ptr ptr long)
12 stdcall AtlFreeMarshalStream(ptr) 12 stdcall AtlFreeMarshalStream(ptr)
......
...@@ -739,7 +739,7 @@ static IClassFactory RegistrarCF = { &IRegistrarCFVtbl }; ...@@ -739,7 +739,7 @@ static IClassFactory RegistrarCF = { &IRegistrarCFVtbl };
/************************************************************** /**************************************************************
* DllGetClassObject implementation * DllGetClassObject implementation
*/ */
HRESULT WINAPI ATL_DllGetClassObject(REFCLSID clsid, REFIID riid, LPVOID *ppvObject) HRESULT WINAPI DllGetClassObject(REFCLSID clsid, REFIID riid, LPVOID *ppvObject)
{ {
TRACE("(%s %s %p)", debugstr_guid(clsid), debugstr_guid(riid), ppvObject); TRACE("(%s %s %p)", debugstr_guid(clsid), debugstr_guid(riid), ppvObject);
...@@ -820,7 +820,7 @@ HRESULT WINAPI AtlModuleUpdateRegistryFromResourceD(_ATL_MODULEW* pM, LPCOLESTR ...@@ -820,7 +820,7 @@ HRESULT WINAPI AtlModuleUpdateRegistryFromResourceD(_ATL_MODULEW* pM, LPCOLESTR
/*********************************************************************** /***********************************************************************
* DllRegisterServer (ATL.@) * DllRegisterServer (ATL.@)
*/ */
HRESULT WINAPI ATL_DllRegisterServer(void) HRESULT WINAPI DllRegisterServer(void)
{ {
TRACE("\n"); TRACE("\n");
return do_register_server(TRUE); return do_register_server(TRUE);
...@@ -829,7 +829,7 @@ HRESULT WINAPI ATL_DllRegisterServer(void) ...@@ -829,7 +829,7 @@ HRESULT WINAPI ATL_DllRegisterServer(void)
/*********************************************************************** /***********************************************************************
* DllRegisterServer (ATL.@) * DllRegisterServer (ATL.@)
*/ */
HRESULT WINAPI ATL_DllUnregisterServer(void) HRESULT WINAPI DllUnregisterServer(void)
{ {
TRACE("\n"); TRACE("\n");
return do_register_server(FALSE); return do_register_server(FALSE);
...@@ -838,7 +838,7 @@ HRESULT WINAPI ATL_DllUnregisterServer(void) ...@@ -838,7 +838,7 @@ HRESULT WINAPI ATL_DllUnregisterServer(void)
/*********************************************************************** /***********************************************************************
* DllCanUnloadNow (ATL.@) * DllCanUnloadNow (ATL.@)
*/ */
HRESULT WINAPI ATL_DllCanUnloadNow(void) HRESULT WINAPI DllCanUnloadNow(void)
{ {
TRACE("dll_count = %lu\n", dll_count); TRACE("dll_count = %lu\n", dll_count);
return dll_count ? S_FALSE : S_OK; return dll_count ? S_FALSE : S_OK;
......
...@@ -59,10 +59,10 @@ ...@@ -59,10 +59,10 @@
@ stdcall AVIStreamWriteData(ptr long ptr long) @ stdcall AVIStreamWriteData(ptr long ptr long)
@ extern CLSID_AVISimpleUnMarshal @ extern CLSID_AVISimpleUnMarshal
@ stdcall CreateEditableStream(ptr ptr) @ stdcall CreateEditableStream(ptr ptr)
@ stdcall -private DllCanUnloadNow() AVIFILE_DllCanUnloadNow @ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr) AVIFILE_DllGetClassObject @ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllRegisterServer() AVIFILE_DllRegisterServer @ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer() AVIFILE_DllUnregisterServer @ stdcall -private DllUnregisterServer()
@ stdcall EditStreamClone(ptr ptr) @ stdcall EditStreamClone(ptr ptr)
@ stdcall EditStreamCopy(ptr ptr ptr ptr) @ stdcall EditStreamCopy(ptr ptr ptr ptr)
@ stdcall EditStreamCut(ptr ptr ptr ptr) @ stdcall EditStreamCut(ptr ptr ptr ptr)
......
...@@ -182,7 +182,7 @@ LPCWSTR AVIFILE_BasenameW(LPCWSTR szPath) ...@@ -182,7 +182,7 @@ LPCWSTR AVIFILE_BasenameW(LPCWSTR szPath)
/*********************************************************************** /***********************************************************************
* DllGetClassObject (AVIFIL32.@) * DllGetClassObject (AVIFIL32.@)
*/ */
HRESULT WINAPI AVIFILE_DllGetClassObject(REFCLSID pclsid, REFIID piid, LPVOID *ppv) HRESULT WINAPI DllGetClassObject(REFCLSID pclsid, REFIID piid, LPVOID *ppv)
{ {
TRACE("(%s,%s,%p)\n", debugstr_guid(pclsid), debugstr_guid(piid), ppv); TRACE("(%s,%s,%p)\n", debugstr_guid(pclsid), debugstr_guid(piid), ppv);
...@@ -195,7 +195,7 @@ HRESULT WINAPI AVIFILE_DllGetClassObject(REFCLSID pclsid, REFIID piid, LPVOID *p ...@@ -195,7 +195,7 @@ HRESULT WINAPI AVIFILE_DllGetClassObject(REFCLSID pclsid, REFIID piid, LPVOID *p
/***************************************************************************** /*****************************************************************************
* DllCanUnloadNow (AVIFIL32.@) * DllCanUnloadNow (AVIFIL32.@)
*/ */
DWORD WINAPI AVIFILE_DllCanUnloadNow(void) HRESULT WINAPI DllCanUnloadNow(void)
{ {
return ((AVIFILE_bLocked || AVIFILE_uUseCount) ? S_FALSE : S_OK); return ((AVIFILE_bLocked || AVIFILE_uUseCount) ? S_FALSE : S_OK);
} }
......
...@@ -552,7 +552,7 @@ static struct regsvr_interface const interface_list[] = { ...@@ -552,7 +552,7 @@ static struct regsvr_interface const interface_list[] = {
/*********************************************************************** /***********************************************************************
* DllRegisterServer (AVIFILE.@) * DllRegisterServer (AVIFILE.@)
*/ */
HRESULT WINAPI AVIFILE_DllRegisterServer(void) HRESULT WINAPI DllRegisterServer(void)
{ {
HRESULT hr; HRESULT hr;
...@@ -567,7 +567,7 @@ HRESULT WINAPI AVIFILE_DllRegisterServer(void) ...@@ -567,7 +567,7 @@ HRESULT WINAPI AVIFILE_DllRegisterServer(void)
/*********************************************************************** /***********************************************************************
* DllUnregisterServer (AVIFILE.@) * DllUnregisterServer (AVIFILE.@)
*/ */
HRESULT WINAPI AVIFILE_DllUnregisterServer(void) HRESULT WINAPI DllUnregisterServer(void)
{ {
HRESULT hr; HRESULT hr;
......
1 stub GetDllVersion 1 stub GetDllVersion
2 stdcall DllGetVersion (ptr) CABINET_DllGetVersion 2 stdcall -private DllGetVersion (ptr)
3 stdcall Extract(ptr str) 3 stdcall Extract(ptr str)
4 stub DeleteExtractedFiles 4 stub DeleteExtractedFiles
10 cdecl FCICreate(ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr) 10 cdecl FCICreate(ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr)
......
...@@ -52,7 +52,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(cabinet); ...@@ -52,7 +52,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(cabinet);
* NOTES * NOTES
* Supposedly returns version from IE6SP1RP1 * Supposedly returns version from IE6SP1RP1
*/ */
HRESULT WINAPI CABINET_DllGetVersion (DLLVERSIONINFO *pdvi) HRESULT WINAPI DllGetVersion (DLLVERSIONINFO *pdvi)
{ {
WARN("hmmm... not right version number \"5.1.1106.1\"?\n"); WARN("hmmm... not right version number \"5.1.1106.1\"?\n");
......
@ stdcall -private DllCanUnloadNow() COMCAT_DllCanUnloadNow @ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr) COMCAT_DllGetClassObject @ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllRegisterServer() COMCAT_DllRegisterServer @ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer() COMCAT_DllUnregisterServer @ stdcall -private DllUnregisterServer()
...@@ -34,7 +34,7 @@ const WCHAR clsid_keyname[6] = { 'C', 'L', 'S', 'I', 'D', 0 }; ...@@ -34,7 +34,7 @@ const WCHAR clsid_keyname[6] = { 'C', 'L', 'S', 'I', 'D', 0 };
/*********************************************************************** /***********************************************************************
* DllGetClassObject (COMCAT.@) * DllGetClassObject (COMCAT.@)
*/ */
HRESULT WINAPI COMCAT_DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv) HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv)
{ {
*ppv = NULL; *ppv = NULL;
if (IsEqualGUID(rclsid, &CLSID_StdComponentCategoriesMgr)) { if (IsEqualGUID(rclsid, &CLSID_StdComponentCategoriesMgr)) {
...@@ -47,7 +47,7 @@ HRESULT WINAPI COMCAT_DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv ...@@ -47,7 +47,7 @@ HRESULT WINAPI COMCAT_DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv
/*********************************************************************** /***********************************************************************
* DllCanUnloadNow (COMCAT.@) * DllCanUnloadNow (COMCAT.@)
*/ */
HRESULT WINAPI COMCAT_DllCanUnloadNow(void) HRESULT WINAPI DllCanUnloadNow(void)
{ {
return dll_ref != 0 ? S_FALSE : S_OK; return dll_ref != 0 ? S_FALSE : S_OK;
} }
......
...@@ -447,7 +447,7 @@ static struct regsvr_interface const interface_list[] = { ...@@ -447,7 +447,7 @@ static struct regsvr_interface const interface_list[] = {
/*********************************************************************** /***********************************************************************
* DllRegisterServer (COMCAT.@) * DllRegisterServer (COMCAT.@)
*/ */
HRESULT WINAPI COMCAT_DllRegisterServer() HRESULT WINAPI DllRegisterServer(void)
{ {
HRESULT hr; HRESULT hr;
...@@ -462,7 +462,7 @@ HRESULT WINAPI COMCAT_DllRegisterServer() ...@@ -462,7 +462,7 @@ HRESULT WINAPI COMCAT_DllRegisterServer()
/*********************************************************************** /***********************************************************************
* DllUnregisterServer (COMCAT.@) * DllUnregisterServer (COMCAT.@)
*/ */
HRESULT WINAPI COMCAT_DllUnregisterServer() HRESULT WINAPI DllUnregisterServer(void)
{ {
HRESULT hr; HRESULT hr;
......
...@@ -123,8 +123,8 @@ ...@@ -123,8 +123,8 @@
@ stdcall CreateStatusWindowW(long wstr long long) @ stdcall CreateStatusWindowW(long wstr long long)
@ stdcall CreateToolbarEx(long long long long long long ptr long long long long long long) @ stdcall CreateToolbarEx(long long long long long long ptr long long long long long long)
@ stdcall DestroyPropertySheetPage(long) @ stdcall DestroyPropertySheetPage(long)
@ stdcall DllGetVersion(ptr) COMCTL32_DllGetVersion @ stdcall -private DllGetVersion(ptr)
@ stdcall DllInstall(long ptr) COMCTL32_DllInstall @ stdcall -private DllInstall(long wstr)
@ stdcall DrawStatusText(long ptr ptr long) DrawStatusTextA @ stdcall DrawStatusText(long ptr ptr long) DrawStatusTextA
@ stdcall DrawStatusTextW(long ptr wstr long) @ stdcall DrawStatusTextW(long ptr wstr long)
@ stdcall FlatSB_EnableScrollBar (long long long) @ stdcall FlatSB_EnableScrollBar (long long long)
......
...@@ -934,8 +934,7 @@ CreateToolbar (HWND hwnd, DWORD style, UINT wID, INT nBitmaps, ...@@ -934,8 +934,7 @@ CreateToolbar (HWND hwnd, DWORD style, UINT wID, INT nBitmaps,
* Returns version of a comctl32.dll from IE4.01 SP1. * Returns version of a comctl32.dll from IE4.01 SP1.
*/ */
HRESULT WINAPI HRESULT WINAPI DllGetVersion (DLLVERSIONINFO *pdvi)
COMCTL32_DllGetVersion (DLLVERSIONINFO *pdvi)
{ {
if (pdvi->cbSize != sizeof(DLLVERSIONINFO)) { if (pdvi->cbSize != sizeof(DLLVERSIONINFO)) {
WARN("wrong DLLVERSIONINFO size from app\n"); WARN("wrong DLLVERSIONINFO size from app\n");
...@@ -963,7 +962,7 @@ COMCTL32_DllGetVersion (DLLVERSIONINFO *pdvi) ...@@ -963,7 +962,7 @@ COMCTL32_DllGetVersion (DLLVERSIONINFO *pdvi)
* Success: S_OK * Success: S_OK
* Failure: A HRESULT error * Failure: A HRESULT error
*/ */
HRESULT WINAPI COMCTL32_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));
......
@ stdcall DirectXFileCreate(ptr) @ stdcall DirectXFileCreate(ptr)
@ stdcall -private DllCanUnloadNow() D3DXOF_DllCanUnloadNow @ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr) D3DXOF_DllGetClassObject @ stdcall -private DllGetClassObject(ptr ptr ptr)
...@@ -183,7 +183,7 @@ HRESULT WINAPI DirectXFileCreate(LPDIRECTXFILE* lplpDirectXFile) ...@@ -183,7 +183,7 @@ HRESULT WINAPI DirectXFileCreate(LPDIRECTXFILE* lplpDirectXFile)
* Failure: CLASS_E_CLASSNOTAVAILABLE, E_OUTOFMEMORY, E_INVALIDARG, * Failure: CLASS_E_CLASSNOTAVAILABLE, E_OUTOFMEMORY, E_INVALIDARG,
* E_UNEXPECTED * E_UNEXPECTED
*/ */
HRESULT WINAPI D3DXOF_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv) HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
{ {
int i; int i;
IClassFactoryImpl *factory; IClassFactoryImpl *factory;
...@@ -221,7 +221,7 @@ HRESULT WINAPI D3DXOF_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *pp ...@@ -221,7 +221,7 @@ HRESULT WINAPI D3DXOF_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *pp
/*********************************************************************** /***********************************************************************
* DllCanUnloadNow (D3DXOF.@) * DllCanUnloadNow (D3DXOF.@)
*/ */
HRESULT WINAPI D3DXOF_DllCanUnloadNow(void) HRESULT WINAPI DllCanUnloadNow(void)
{ {
return dll_ref != 0 ? S_FALSE : S_OK; return dll_ref != 0 ? S_FALSE : S_OK;
} }
...@@ -526,7 +526,7 @@ static struct regsvr_interface const interface_list[] = { ...@@ -526,7 +526,7 @@ static struct regsvr_interface const interface_list[] = {
/*********************************************************************** /***********************************************************************
* DllRegisterServer (D3DXOF.@) * DllRegisterServer (D3DXOF.@)
*/ */
HRESULT WINAPI D3DXOF_DllRegisterServer(void) HRESULT WINAPI DllRegisterServer(void)
{ {
HRESULT hr; HRESULT hr;
...@@ -541,7 +541,7 @@ HRESULT WINAPI D3DXOF_DllRegisterServer(void) ...@@ -541,7 +541,7 @@ HRESULT WINAPI D3DXOF_DllRegisterServer(void)
/*********************************************************************** /***********************************************************************
* DllUnregisterServer (D3DXOF.@) * DllUnregisterServer (D3DXOF.@)
*/ */
HRESULT WINAPI D3DXOF_DllUnregisterServer(void) HRESULT WINAPI DllUnregisterServer(void)
{ {
HRESULT hr; HRESULT hr;
......
...@@ -10,10 +10,10 @@ ...@@ -10,10 +10,10 @@
@ stdcall DirectDrawEnumerateExA(ptr ptr long) @ stdcall DirectDrawEnumerateExA(ptr ptr long)
@ stdcall DirectDrawEnumerateExW(ptr ptr long) @ stdcall DirectDrawEnumerateExW(ptr ptr long)
@ stdcall DirectDrawEnumerateW(ptr ptr) @ stdcall DirectDrawEnumerateW(ptr ptr)
@ stdcall -private DllCanUnloadNow() DDRAW_DllCanUnloadNow @ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr) DDRAW_DllGetClassObject @ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllRegisterServer() DDRAW_DllRegisterServer @ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer() DDRAW_DllUnregisterServer @ stdcall -private DllUnregisterServer()
@ stub GetNextMipMap @ stub GetNextMipMap
@ stub GetSurfaceFromDC @ stub GetSurfaceFromDC
@ stub HeapVidMemAllocAligned @ stub HeapVidMemAllocAligned
......
...@@ -560,7 +560,7 @@ static const IClassFactoryVtbl DDCF_Vtbl = ...@@ -560,7 +560,7 @@ static const IClassFactoryVtbl DDCF_Vtbl =
* Failure: CLASS_E_CLASSNOTAVAILABLE, E_OUTOFMEMORY, E_INVALIDARG, * Failure: CLASS_E_CLASSNOTAVAILABLE, E_OUTOFMEMORY, E_INVALIDARG,
* E_UNEXPECTED * E_UNEXPECTED
*/ */
HRESULT WINAPI DDRAW_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv) HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
{ {
unsigned int i; unsigned int i;
IClassFactoryImpl *factory; IClassFactoryImpl *factory;
...@@ -603,7 +603,8 @@ HRESULT WINAPI DDRAW_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv ...@@ -603,7 +603,8 @@ HRESULT WINAPI DDRAW_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv
* Success: S_OK * Success: S_OK
* Failure: S_FALSE * Failure: S_FALSE
*/ */
DWORD WINAPI DDRAW_DllCanUnloadNow(void) { HRESULT WINAPI DllCanUnloadNow(void)
{
FIXME("(void): stub\n"); FIXME("(void): stub\n");
return S_FALSE; return S_FALSE;
} }
......
...@@ -467,7 +467,7 @@ static struct regsvr_interface const interface_list[] = { ...@@ -467,7 +467,7 @@ static struct regsvr_interface const interface_list[] = {
/*********************************************************************** /***********************************************************************
* DllRegisterServer (DDRAW.@) * DllRegisterServer (DDRAW.@)
*/ */
HRESULT WINAPI DDRAW_DllRegisterServer() HRESULT WINAPI DllRegisterServer(void)
{ {
HRESULT hr; HRESULT hr;
...@@ -482,7 +482,7 @@ HRESULT WINAPI DDRAW_DllRegisterServer() ...@@ -482,7 +482,7 @@ HRESULT WINAPI DDRAW_DllRegisterServer()
/*********************************************************************** /***********************************************************************
* DllUnregisterServer (DDRAW.@) * DllUnregisterServer (DDRAW.@)
*/ */
HRESULT WINAPI DDRAW_DllUnregisterServer() HRESULT WINAPI DllUnregisterServer(void)
{ {
HRESULT hr; HRESULT hr;
......
@ stdcall DirectInputCreateA(long long ptr ptr) @ stdcall DirectInputCreateA(long long ptr ptr)
@ stdcall DirectInputCreateEx(long long ptr ptr ptr) @ stdcall DirectInputCreateEx(long long ptr ptr ptr)
@ stdcall DirectInputCreateW(long long ptr ptr) @ stdcall DirectInputCreateW(long long ptr ptr)
@ stdcall -private DllCanUnloadNow() DINPUT_DllCanUnloadNow @ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr) DINPUT_DllGetClassObject @ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllRegisterServer() DINPUT_DllRegisterServer @ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer() DINPUT_DllUnregisterServer @ stdcall -private DllUnregisterServer()
...@@ -678,7 +678,7 @@ static IClassFactoryImpl DINPUT_CF = {&DICF_Vtbl, 1 }; ...@@ -678,7 +678,7 @@ static IClassFactoryImpl DINPUT_CF = {&DICF_Vtbl, 1 };
/*********************************************************************** /***********************************************************************
* DllCanUnloadNow (DINPUT.@) * DllCanUnloadNow (DINPUT.@)
*/ */
HRESULT WINAPI DINPUT_DllCanUnloadNow(void) HRESULT WINAPI DllCanUnloadNow(void)
{ {
FIXME("(void): stub\n"); FIXME("(void): stub\n");
...@@ -688,8 +688,7 @@ HRESULT WINAPI DINPUT_DllCanUnloadNow(void) ...@@ -688,8 +688,7 @@ HRESULT WINAPI DINPUT_DllCanUnloadNow(void)
/*********************************************************************** /***********************************************************************
* DllGetClassObject (DINPUT.@) * DllGetClassObject (DINPUT.@)
*/ */
HRESULT WINAPI DINPUT_DllGetClassObject(REFCLSID rclsid, REFIID riid, HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
LPVOID *ppv)
{ {
TRACE("(%s,%s,%p)\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv); TRACE("(%s,%s,%p)\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv);
if ( IsEqualCLSID( &IID_IClassFactory, riid ) ) { if ( IsEqualCLSID( &IID_IClassFactory, riid ) ) {
......
...@@ -530,7 +530,7 @@ static struct regsvr_interface const interface_list[] = { ...@@ -530,7 +530,7 @@ static struct regsvr_interface const interface_list[] = {
/*********************************************************************** /***********************************************************************
* DllRegisterServer (DINPUT.@) * DllRegisterServer (DINPUT.@)
*/ */
HRESULT WINAPI DINPUT_DllRegisterServer(void) HRESULT WINAPI DllRegisterServer(void)
{ {
HRESULT hr; HRESULT hr;
...@@ -545,7 +545,7 @@ HRESULT WINAPI DINPUT_DllRegisterServer(void) ...@@ -545,7 +545,7 @@ HRESULT WINAPI DINPUT_DllRegisterServer(void)
/*********************************************************************** /***********************************************************************
* DllUnregisterServer (DINPUT.@) * DllUnregisterServer (DINPUT.@)
*/ */
HRESULT WINAPI DINPUT_DllUnregisterServer(void) HRESULT WINAPI DllUnregisterServer(void)
{ {
HRESULT hr; HRESULT hr;
......
@ stdcall DirectInput8Create(long long ptr ptr ptr) @ stdcall DirectInput8Create(long long ptr ptr ptr)
@ stdcall -private DllCanUnloadNow() DINPUT8_DllCanUnloadNow @ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr) DINPUT8_DllGetClassObject @ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllRegisterServer() DINPUT8_DllRegisterServer @ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer() DINPUT8_DllUnregisterServer @ stdcall -private DllUnregisterServer()
...@@ -43,7 +43,7 @@ HRESULT WINAPI DirectInput8Create( ...@@ -43,7 +43,7 @@ HRESULT WINAPI DirectInput8Create(
/*********************************************************************** /***********************************************************************
* DllCanUnloadNow (DINPUT8.@) * DllCanUnloadNow (DINPUT8.@)
*/ */
HRESULT WINAPI DINPUT8_DllCanUnloadNow(void) HRESULT WINAPI DllCanUnloadNow(void)
{ {
FIXME("(void): stub\n"); FIXME("(void): stub\n");
...@@ -53,8 +53,7 @@ HRESULT WINAPI DINPUT8_DllCanUnloadNow(void) ...@@ -53,8 +53,7 @@ HRESULT WINAPI DINPUT8_DllCanUnloadNow(void)
/*********************************************************************** /***********************************************************************
* DllGetClassObject (DINPUT8.@) * DllGetClassObject (DINPUT8.@)
*/ */
HRESULT WINAPI DINPUT8_DllGetClassObject(REFCLSID rclsid, REFIID riid, HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
LPVOID *ppv)
{ {
FIXME("(%p, %p, %p): stub\n", debugstr_guid(rclsid), FIXME("(%p, %p, %p): stub\n", debugstr_guid(rclsid),
debugstr_guid(riid), ppv); debugstr_guid(riid), ppv);
...@@ -65,7 +64,7 @@ HRESULT WINAPI DINPUT8_DllGetClassObject(REFCLSID rclsid, REFIID riid, ...@@ -65,7 +64,7 @@ HRESULT WINAPI DINPUT8_DllGetClassObject(REFCLSID rclsid, REFIID riid,
/*********************************************************************** /***********************************************************************
* DllRegisterServer (DINPUT8.@) * DllRegisterServer (DINPUT8.@)
*/ */
HRESULT WINAPI DINPUT8_DllRegisterServer(void) HRESULT WINAPI DllRegisterServer(void)
{ {
FIXME("(void): stub\n"); FIXME("(void): stub\n");
...@@ -75,7 +74,7 @@ HRESULT WINAPI DINPUT8_DllRegisterServer(void) ...@@ -75,7 +74,7 @@ HRESULT WINAPI DINPUT8_DllRegisterServer(void)
/*********************************************************************** /***********************************************************************
* DllUnregisterServer (DINPUT8.@) * DllUnregisterServer (DINPUT8.@)
*/ */
HRESULT WINAPI DINPUT8_DllUnregisterServer(void) HRESULT WINAPI DllUnregisterServer(void)
{ {
FIXME("(void): stub\n"); FIXME("(void): stub\n");
......
@ stdcall -private DllCanUnloadNow() DMBAND_DllCanUnloadNow @ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(long long ptr) DMBAND_DllGetClassObject @ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllRegisterServer() DMBAND_DllRegisterServer @ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer() DMBAND_DllUnregisterServer @ stdcall -private DllUnregisterServer()
...@@ -152,7 +152,8 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { ...@@ -152,7 +152,8 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) {
* *
* *
*/ */
HRESULT WINAPI DMBAND_DllCanUnloadNow(void) { HRESULT WINAPI DllCanUnloadNow(void)
{
return DMBAND_refCount != 0 ? S_FALSE : S_OK; return DMBAND_refCount != 0 ? S_FALSE : S_OK;
} }
...@@ -162,7 +163,8 @@ HRESULT WINAPI DMBAND_DllCanUnloadNow(void) { ...@@ -162,7 +163,8 @@ HRESULT WINAPI DMBAND_DllCanUnloadNow(void) {
* *
* *
*/ */
HRESULT WINAPI DMBAND_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv) { HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
{
TRACE("(%s, %s, %p)\n", debugstr_dmguid(rclsid), debugstr_dmguid(riid), ppv); TRACE("(%s, %s, %p)\n", debugstr_dmguid(rclsid), debugstr_dmguid(riid), ppv);
if (IsEqualCLSID (rclsid, &CLSID_DirectMusicBand) && IsEqualIID (riid, &IID_IClassFactory)) { if (IsEqualCLSID (rclsid, &CLSID_DirectMusicBand) && IsEqualIID (riid, &IID_IClassFactory)) {
......
...@@ -507,7 +507,8 @@ static struct regsvr_interface const interface_list[] = { ...@@ -507,7 +507,8 @@ static struct regsvr_interface const interface_list[] = {
/*********************************************************************** /***********************************************************************
* DllRegisterServer (DMBAND.3) * DllRegisterServer (DMBAND.3)
*/ */
HRESULT WINAPI DMBAND_DllRegisterServer(void) { HRESULT WINAPI DllRegisterServer(void)
{
HRESULT hr; HRESULT hr;
TRACE("\n"); TRACE("\n");
...@@ -521,7 +522,8 @@ HRESULT WINAPI DMBAND_DllRegisterServer(void) { ...@@ -521,7 +522,8 @@ HRESULT WINAPI DMBAND_DllRegisterServer(void) {
/*********************************************************************** /***********************************************************************
* DllUnregisterServer (DMBAND.4) * DllUnregisterServer (DMBAND.4)
*/ */
HRESULT WINAPI DMBAND_DllUnregisterServer(void) { HRESULT WINAPI DllUnregisterServer(void)
{
HRESULT hr; HRESULT hr;
TRACE("\n"); TRACE("\n");
......
@ stdcall -private DllCanUnloadNow() DMLOADER_DllCanUnloadNow @ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(long long ptr) DMLOADER_DllGetClassObject @ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllRegisterServer() DMLOADER_DllRegisterServer @ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer() DMLOADER_DllUnregisterServer @ stdcall -private DllUnregisterServer()
...@@ -41,7 +41,8 @@ BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { ...@@ -41,7 +41,8 @@ BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) {
/****************************************************************** /******************************************************************
* DllCanUnloadNow (DMLOADER.1) * DllCanUnloadNow (DMLOADER.1)
*/ */
HRESULT WINAPI DMLOADER_DllCanUnloadNow (void) { HRESULT WINAPI DllCanUnloadNow (void)
{
TRACE("(void)\n"); TRACE("(void)\n");
/* if there are no instances left, it's safe to release */ /* if there are no instances left, it's safe to release */
if (!dwDirectMusicContainer && !dwDirectMusicLoader) if (!dwDirectMusicContainer && !dwDirectMusicLoader)
...@@ -54,7 +55,8 @@ HRESULT WINAPI DMLOADER_DllCanUnloadNow (void) { ...@@ -54,7 +55,8 @@ HRESULT WINAPI DMLOADER_DllCanUnloadNow (void) {
/****************************************************************** /******************************************************************
* DllGetClassObject (DMLOADER.2) * DllGetClassObject (DMLOADER.2)
*/ */
HRESULT WINAPI DMLOADER_DllGetClassObject (REFCLSID rclsid, REFIID riid, LPVOID *ppv) { HRESULT WINAPI DllGetClassObject (REFCLSID rclsid, REFIID riid, LPVOID *ppv)
{
TRACE("(%s, %s, %p)\n", debugstr_dmguid(rclsid), debugstr_dmguid(riid), ppv); TRACE("(%s, %s, %p)\n", debugstr_dmguid(rclsid), debugstr_dmguid(riid), ppv);
if (IsEqualCLSID (rclsid, &CLSID_DirectMusicLoader) && IsEqualIID (riid, &IID_IClassFactory)) { if (IsEqualCLSID (rclsid, &CLSID_DirectMusicLoader) && IsEqualIID (riid, &IID_IClassFactory)) {
return DMUSIC_CreateDirectMusicLoaderCF (riid, ppv, NULL); return DMUSIC_CreateDirectMusicLoaderCF (riid, ppv, NULL);
......
...@@ -507,7 +507,8 @@ static struct regsvr_interface const interface_list[] = { ...@@ -507,7 +507,8 @@ static struct regsvr_interface const interface_list[] = {
/*********************************************************************** /***********************************************************************
* DllRegisterServer (DMLOADER.3) * DllRegisterServer (DMLOADER.3)
*/ */
HRESULT WINAPI DMLOADER_DllRegisterServer(void) { HRESULT WINAPI DllRegisterServer(void)
{
HRESULT hr; HRESULT hr;
TRACE("\n"); TRACE("\n");
...@@ -521,7 +522,8 @@ HRESULT WINAPI DMLOADER_DllRegisterServer(void) { ...@@ -521,7 +522,8 @@ HRESULT WINAPI DMLOADER_DllRegisterServer(void) {
/*********************************************************************** /***********************************************************************
* DllUnregisterServer (DMLOADER.4) * DllUnregisterServer (DMLOADER.4)
*/ */
HRESULT WINAPI DMLOADER_DllUnregisterServer(void) { HRESULT WINAPI DllUnregisterServer(void)
{
HRESULT hr; HRESULT hr;
TRACE("\n"); TRACE("\n");
......
@ stdcall -private DllCanUnloadNow() DMSCRIPT_DllCanUnloadNow @ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(long long ptr) DMSCRIPT_DllGetClassObject @ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllRegisterServer() DMSCRIPT_DllRegisterServer @ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer() DMSCRIPT_DllUnregisterServer @ stdcall -private DllUnregisterServer()
...@@ -564,7 +564,8 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { ...@@ -564,7 +564,8 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) {
* *
* *
*/ */
HRESULT WINAPI DMSCRIPT_DllCanUnloadNow(void) { HRESULT WINAPI DllCanUnloadNow(void)
{
return DMSCRIPT_refCount != 0 ? S_FALSE : S_OK; return DMSCRIPT_refCount != 0 ? S_FALSE : S_OK;
} }
...@@ -574,7 +575,8 @@ HRESULT WINAPI DMSCRIPT_DllCanUnloadNow(void) { ...@@ -574,7 +575,8 @@ HRESULT WINAPI DMSCRIPT_DllCanUnloadNow(void) {
* *
* *
*/ */
HRESULT WINAPI DMSCRIPT_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv) { HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
{
TRACE("(%s, %s, %p)\n", debugstr_dmguid(rclsid), debugstr_dmguid(riid), ppv); TRACE("(%s, %s, %p)\n", debugstr_dmguid(rclsid), debugstr_dmguid(riid), ppv);
if (IsEqualCLSID (rclsid, &CLSID_DirectMusicScriptAutoImpSegment) && IsEqualIID (riid, &IID_IClassFactory)) { if (IsEqualCLSID (rclsid, &CLSID_DirectMusicScriptAutoImpSegment) && IsEqualIID (riid, &IID_IClassFactory)) {
*ppv = (LPVOID) &ScriptAutoImplSegment_CF; *ppv = (LPVOID) &ScriptAutoImplSegment_CF;
......
...@@ -572,7 +572,8 @@ static struct regsvr_interface const interface_list[] = { ...@@ -572,7 +572,8 @@ static struct regsvr_interface const interface_list[] = {
/*********************************************************************** /***********************************************************************
* DllRegisterServer (DMSCRIPT.3) * DllRegisterServer (DMSCRIPT.3)
*/ */
HRESULT WINAPI DMSCRIPT_DllRegisterServer(void) { HRESULT WINAPI DllRegisterServer(void)
{
HRESULT hr; HRESULT hr;
TRACE("\n"); TRACE("\n");
...@@ -586,7 +587,8 @@ HRESULT WINAPI DMSCRIPT_DllRegisterServer(void) { ...@@ -586,7 +587,8 @@ HRESULT WINAPI DMSCRIPT_DllRegisterServer(void) {
/*********************************************************************** /***********************************************************************
* DllUnregisterServer (DMSCRIPT.4) * DllUnregisterServer (DMSCRIPT.4)
*/ */
HRESULT WINAPI DMSCRIPT_DllUnregisterServer(void) { HRESULT WINAPI DllUnregisterServer(void)
{
HRESULT hr; HRESULT hr;
TRACE("\n"); TRACE("\n");
......
@ stdcall -private DllCanUnloadNow() DMSYNTH_DllCanUnloadNow @ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(long long ptr) DMSYNTH_DllGetClassObject @ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllRegisterServer() DMSYNTH_DllRegisterServer @ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer() DMSYNTH_DllUnregisterServer @ stdcall -private DllUnregisterServer()
...@@ -149,7 +149,8 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { ...@@ -149,7 +149,8 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) {
* *
* *
*/ */
HRESULT WINAPI DMSYNTH_DllCanUnloadNow(void) { HRESULT WINAPI DllCanUnloadNow(void)
{
return DMSYNTH_refCount != 0 ? S_FALSE : S_OK; return DMSYNTH_refCount != 0 ? S_FALSE : S_OK;
} }
...@@ -159,7 +160,8 @@ HRESULT WINAPI DMSYNTH_DllCanUnloadNow(void) { ...@@ -159,7 +160,8 @@ HRESULT WINAPI DMSYNTH_DllCanUnloadNow(void) {
* *
* *
*/ */
HRESULT WINAPI DMSYNTH_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv) { HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
{
TRACE("(%s, %s, %p)\n", debugstr_dmguid(rclsid), debugstr_dmguid(riid), ppv); TRACE("(%s, %s, %p)\n", debugstr_dmguid(rclsid), debugstr_dmguid(riid), ppv);
if (IsEqualCLSID (rclsid, &CLSID_DirectMusicSynth) && IsEqualIID (riid, &IID_IClassFactory)) { if (IsEqualCLSID (rclsid, &CLSID_DirectMusicSynth) && IsEqualIID (riid, &IID_IClassFactory)) {
*ppv = (LPVOID) &Synth_CF; *ppv = (LPVOID) &Synth_CF;
......
...@@ -507,7 +507,8 @@ static struct regsvr_interface const interface_list[] = { ...@@ -507,7 +507,8 @@ static struct regsvr_interface const interface_list[] = {
/*********************************************************************** /***********************************************************************
* DllRegisterServer (DMSYNTH.3) * DllRegisterServer (DMSYNTH.3)
*/ */
HRESULT WINAPI DMSYNTH_DllRegisterServer(void) { HRESULT WINAPI DllRegisterServer(void)
{
HRESULT hr; HRESULT hr;
TRACE("\n"); TRACE("\n");
...@@ -521,7 +522,8 @@ HRESULT WINAPI DMSYNTH_DllRegisterServer(void) { ...@@ -521,7 +522,8 @@ HRESULT WINAPI DMSYNTH_DllRegisterServer(void) {
/*********************************************************************** /***********************************************************************
* DllUnregisterServer (DMSYNTH.4) * DllUnregisterServer (DMSYNTH.4)
*/ */
HRESULT WINAPI DMSYNTH_DllUnregisterServer(void) { HRESULT WINAPI DllUnregisterServer(void)
{
HRESULT hr; HRESULT hr;
TRACE("\n"); TRACE("\n");
......
@ stdcall -private DllCanUnloadNow() DMUSIC_DllCanUnloadNow @ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr) DMUSIC_DllGetClassObject @ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllRegisterServer() DMUSIC_DllRegisterServer @ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer() DMUSIC_DllUnregisterServer @ stdcall -private DllUnregisterServer()
...@@ -149,7 +149,8 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { ...@@ -149,7 +149,8 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) {
* *
* *
*/ */
HRESULT WINAPI DMUSIC_DllCanUnloadNow(void) { HRESULT WINAPI DllCanUnloadNow(void)
{
return DMUSIC_refCount != 0 ? S_FALSE : S_OK; return DMUSIC_refCount != 0 ? S_FALSE : S_OK;
} }
...@@ -159,7 +160,8 @@ HRESULT WINAPI DMUSIC_DllCanUnloadNow(void) { ...@@ -159,7 +160,8 @@ HRESULT WINAPI DMUSIC_DllCanUnloadNow(void) {
* *
* *
*/ */
HRESULT WINAPI DMUSIC_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv) { HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
{
TRACE("(%s, %s, %p)\n", debugstr_dmguid(rclsid), debugstr_dmguid(riid), ppv); TRACE("(%s, %s, %p)\n", debugstr_dmguid(rclsid), debugstr_dmguid(riid), ppv);
if (IsEqualCLSID (rclsid, &CLSID_DirectMusic) && IsEqualIID (riid, &IID_IClassFactory)) { if (IsEqualCLSID (rclsid, &CLSID_DirectMusic) && IsEqualIID (riid, &IID_IClassFactory)) {
*ppv = (LPVOID) &DirectMusic_CF; *ppv = (LPVOID) &DirectMusic_CF;
......
...@@ -507,7 +507,8 @@ static struct regsvr_interface const interface_list[] = { ...@@ -507,7 +507,8 @@ static struct regsvr_interface const interface_list[] = {
/*********************************************************************** /***********************************************************************
* DllRegisterServer (DMUSIC.3) * DllRegisterServer (DMUSIC.3)
*/ */
HRESULT WINAPI DMUSIC_DllRegisterServer(void) { HRESULT WINAPI DllRegisterServer(void)
{
HRESULT hr; HRESULT hr;
TRACE("\n"); TRACE("\n");
...@@ -521,7 +522,8 @@ HRESULT WINAPI DMUSIC_DllRegisterServer(void) { ...@@ -521,7 +522,8 @@ HRESULT WINAPI DMUSIC_DllRegisterServer(void) {
/*********************************************************************** /***********************************************************************
* DllUnregisterServer (DMUSIC.4) * DllUnregisterServer (DMUSIC.4)
*/ */
HRESULT WINAPI DMUSIC_DllUnregisterServer(void) { HRESULT WINAPI DllUnregisterServer(void)
{
HRESULT hr; HRESULT hr;
TRACE("\n"); TRACE("\n");
......
...@@ -117,7 +117,7 @@ static IClassFactoryImpl DP_and_DPL_CF = {&DP_and_DPL_Vtbl, 1 }; ...@@ -117,7 +117,7 @@ static IClassFactoryImpl DP_and_DPL_CF = {&DP_and_DPL_Vtbl, 1 };
* Failure: CLASS_E_CLASSNOTAVAILABLE, E_OUTOFMEMORY, E_INVALIDARG, * Failure: CLASS_E_CLASSNOTAVAILABLE, E_OUTOFMEMORY, E_INVALIDARG,
* E_UNEXPECTED * E_UNEXPECTED
*/ */
HRESULT WINAPI DPLAYX_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv) HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
{ {
TRACE("(%p,%p,%p)\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv); TRACE("(%p,%p,%p)\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv);
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
5 stdcall DirectPlayLobbyCreateW(ptr ptr ptr ptr long) 5 stdcall DirectPlayLobbyCreateW(ptr ptr ptr ptr long)
6 extern gdwDPlaySPRefCount 6 extern gdwDPlaySPRefCount
9 stdcall DirectPlayEnumerate(ptr ptr) DirectPlayEnumerateA 9 stdcall DirectPlayEnumerate(ptr ptr) DirectPlayEnumerateA
10 stdcall -private DllCanUnloadNow() DPLAYX_DllCanUnloadNow 10 stdcall -private DllCanUnloadNow()
11 stdcall -private DllGetClassObject(ptr ptr ptr) DPLAYX_DllGetClassObject 11 stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllRegisterServer() DPLAYX_DllRegisterServer @ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer() DPLAYX_DllUnregisterServer @ stdcall -private DllUnregisterServer()
...@@ -97,7 +97,7 @@ BOOL WINAPI DllMain( HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved ) ...@@ -97,7 +97,7 @@ BOOL WINAPI DllMain( HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved )
/*********************************************************************** /***********************************************************************
* DllCanUnloadNow (DPLAYX.10) * DllCanUnloadNow (DPLAYX.10)
*/ */
HRESULT WINAPI DPLAYX_DllCanUnloadNow(void) HRESULT WINAPI DllCanUnloadNow(void)
{ {
HRESULT hr = ( gdwDPlaySPRefCount > 0 ) ? S_FALSE : S_OK; HRESULT hr = ( gdwDPlaySPRefCount > 0 ) ? S_FALSE : S_OK;
......
...@@ -528,7 +528,7 @@ static struct regsvr_interface const interface_list[] = { ...@@ -528,7 +528,7 @@ static struct regsvr_interface const interface_list[] = {
/*********************************************************************** /***********************************************************************
* DllRegisterServer (DPLAYX.@) * DllRegisterServer (DPLAYX.@)
*/ */
HRESULT WINAPI DPLAYX_DllRegisterServer(void) HRESULT WINAPI DllRegisterServer(void)
{ {
HRESULT hr; HRESULT hr;
...@@ -543,7 +543,7 @@ HRESULT WINAPI DPLAYX_DllRegisterServer(void) ...@@ -543,7 +543,7 @@ HRESULT WINAPI DPLAYX_DllRegisterServer(void)
/*********************************************************************** /***********************************************************************
* DllUnregisterServer (DPLAYX.@) * DllUnregisterServer (DPLAYX.@)
*/ */
HRESULT WINAPI DPLAYX_DllUnregisterServer(void) HRESULT WINAPI DllUnregisterServer(void)
{ {
HRESULT hr; HRESULT hr;
......
@ stdcall DirectPlay8Create(ptr ptr ptr) @ stdcall DirectPlay8Create(ptr ptr ptr)
@ stdcall -private DllCanUnloadNow() DPNET_DllCanUnloadNow @ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr) DPNET_DllGetClassObject @ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllRegisterServer() DPNET_DllRegisterServer @ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer() DPNET_DllUnregisterServer @ stdcall -private DllUnregisterServer()
...@@ -121,7 +121,7 @@ static IClassFactoryImpl DPNET_CFS[] = { ...@@ -121,7 +121,7 @@ static IClassFactoryImpl DPNET_CFS[] = {
/*********************************************************************** /***********************************************************************
* DllCanUnloadNow (DPNET.@) * DllCanUnloadNow (DPNET.@)
*/ */
BOOL WINAPI DPNET_DllCanUnloadNow(void) HRESULT WINAPI DllCanUnloadNow(void)
{ {
return S_FALSE; return S_FALSE;
} }
...@@ -129,7 +129,7 @@ BOOL WINAPI DPNET_DllCanUnloadNow(void) ...@@ -129,7 +129,7 @@ BOOL WINAPI DPNET_DllCanUnloadNow(void)
/*********************************************************************** /***********************************************************************
* DllGetClassObject (DPNET.@) * DllGetClassObject (DPNET.@)
*/ */
HRESULT WINAPI DPNET_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv) HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
{ {
int i = 0; int i = 0;
......
...@@ -557,7 +557,7 @@ static struct regsvr_interface const interface_list[] = { ...@@ -557,7 +557,7 @@ static struct regsvr_interface const interface_list[] = {
/*********************************************************************** /***********************************************************************
* DllRegisterServer (DPNET.@) * DllRegisterServer (DPNET.@)
*/ */
HRESULT WINAPI DPNET_DllRegisterServer(void) HRESULT WINAPI DllRegisterServer(void)
{ {
HRESULT hr; HRESULT hr;
...@@ -572,7 +572,7 @@ HRESULT WINAPI DPNET_DllRegisterServer(void) ...@@ -572,7 +572,7 @@ HRESULT WINAPI DPNET_DllRegisterServer(void)
/*********************************************************************** /***********************************************************************
* DllUnregisterServer (DPNET.@) * DllUnregisterServer (DPNET.@)
*/ */
HRESULT WINAPI DPNET_DllUnregisterServer(void) HRESULT WINAPI DllUnregisterServer(void)
{ {
HRESULT hr; HRESULT hr;
......
1 stub DirectPlayNATHelpCreate 1 stub DirectPlayNATHelpCreate
2 stdcall -private DllRegisterServer() DPNHPAST_DllRegisterServer 2 stdcall -private DllRegisterServer()
3 stdcall -private DllCanUnloadNow() DPNHPAST_DllCanUnloadNow 3 stdcall -private DllCanUnloadNow()
4 stdcall -private DllGetClassObject( long long ptr ) DPNHPAST_DllGetClassObject 4 stdcall -private DllGetClassObject(ptr ptr ptr)
5 stdcall -private DllUnregisterServer() DPNHPAST_DllUnregisterServer 5 stdcall -private DllUnregisterServer()
...@@ -67,7 +67,7 @@ HRESULT WINAPI DPNHPAST_DirectPlayNATHelpCreate() ...@@ -67,7 +67,7 @@ HRESULT WINAPI DPNHPAST_DirectPlayNATHelpCreate()
* *
* *
*/ */
HRESULT WINAPI DPNHPAST_DllRegisterServer(void) HRESULT WINAPI DllRegisterServer(void)
{ {
FIXME(":stub\n"); FIXME(":stub\n");
return S_OK; return S_OK;
...@@ -79,7 +79,7 @@ HRESULT WINAPI DPNHPAST_DllRegisterServer(void) ...@@ -79,7 +79,7 @@ HRESULT WINAPI DPNHPAST_DllRegisterServer(void)
* *
* *
*/ */
HRESULT WINAPI DPNHPAST_DllCanUnloadNow(void) HRESULT WINAPI DllCanUnloadNow(void)
{ {
FIXME(":stub\n"); FIXME(":stub\n");
return S_OK; return S_OK;
...@@ -91,7 +91,7 @@ HRESULT WINAPI DPNHPAST_DllCanUnloadNow(void) ...@@ -91,7 +91,7 @@ HRESULT WINAPI DPNHPAST_DllCanUnloadNow(void)
* *
* *
*/ */
HRESULT WINAPI DPNHPAST_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv) HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
{ {
FIXME(":stub\n"); FIXME(":stub\n");
return E_FAIL; return E_FAIL;
...@@ -103,7 +103,7 @@ HRESULT WINAPI DPNHPAST_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID * ...@@ -103,7 +103,7 @@ HRESULT WINAPI DPNHPAST_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *
* *
* *
*/ */
HRESULT WINAPI DPNHPAST_DllUnregisterServer(void) HRESULT WINAPI DllUnregisterServer(void)
{ {
FIXME(":stub\n"); FIXME(":stub\n");
return S_OK; return S_OK;
......
@ stdcall -private DllCanUnloadNow() DSWAVE_DllCanUnloadNow @ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr) DSWAVE_DllGetClassObject @ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllRegisterServer() DSWAVE_DllRegisterServer @ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer() DSWAVE_DllUnregisterServer @ stdcall -private DllUnregisterServer()
...@@ -101,7 +101,8 @@ BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { ...@@ -101,7 +101,8 @@ BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) {
* *
* *
*/ */
HRESULT WINAPI DSWAVE_DllCanUnloadNow(void) { HRESULT WINAPI DllCanUnloadNow(void)
{
return DSWAVE_refCount != 0 ? S_FALSE : S_OK; return DSWAVE_refCount != 0 ? S_FALSE : S_OK;
} }
...@@ -111,7 +112,8 @@ HRESULT WINAPI DSWAVE_DllCanUnloadNow(void) { ...@@ -111,7 +112,8 @@ HRESULT WINAPI DSWAVE_DllCanUnloadNow(void) {
* *
* *
*/ */
HRESULT WINAPI DSWAVE_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv) { HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
{
TRACE("(%s, %s, %p)\n", debugstr_dmguid(rclsid), debugstr_dmguid(riid), ppv); TRACE("(%s, %s, %p)\n", debugstr_dmguid(rclsid), debugstr_dmguid(riid), ppv);
if (IsEqualCLSID (rclsid, &CLSID_DirectSoundWave) && IsEqualIID (riid, &IID_IClassFactory)) { if (IsEqualCLSID (rclsid, &CLSID_DirectSoundWave) && IsEqualIID (riid, &IID_IClassFactory)) {
*ppv = (LPVOID) &Wave_CF; *ppv = (LPVOID) &Wave_CF;
......
...@@ -499,7 +499,8 @@ static struct regsvr_interface const interface_list[] = { ...@@ -499,7 +499,8 @@ static struct regsvr_interface const interface_list[] = {
/*********************************************************************** /***********************************************************************
* DllRegisterServer (DSWAVE.3) * DllRegisterServer (DSWAVE.3)
*/ */
HRESULT WINAPI DSWAVE_DllRegisterServer(void) { HRESULT WINAPI DllRegisterServer(void)
{
HRESULT hr; HRESULT hr;
TRACE("\n"); TRACE("\n");
...@@ -513,7 +514,8 @@ HRESULT WINAPI DSWAVE_DllRegisterServer(void) { ...@@ -513,7 +514,8 @@ HRESULT WINAPI DSWAVE_DllRegisterServer(void) {
/*********************************************************************** /***********************************************************************
* DllUnregisterServer (DSWAVE.4) * DllUnregisterServer (DSWAVE.4)
*/ */
HRESULT WINAPI DSWAVE_DllUnregisterServer(void) { HRESULT WINAPI DllUnregisterServer(void)
{
HRESULT hr; HRESULT hr;
TRACE("\n"); TRACE("\n");
......
@ stdcall -private DllCanUnloadNow() DllCanUnloadNow @ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr) DllGetClassObject @ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllRegisterServer() DllRegisterServer @ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer() DllUnregisterServer @ stdcall -private DllUnregisterServer()
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
25 stub LAUNCHWIZARD 25 stub LAUNCHWIZARD
26 stub LaunchWizard@20 26 stub LaunchWizard@20
27 stub DllGetClassObject 27 stub DllGetClassObject
28 stdcall -private DllCanUnloadNow() MAPI32_DllCanUnloadNow 28 stdcall -private DllCanUnloadNow()
29 stub MAPIOpenFormMgr 29 stub MAPIOpenFormMgr
30 stub MAPIOpenFormMgr@8 30 stub MAPIOpenFormMgr@8
31 stub MAPIOpenLocalFormContainer 31 stub MAPIOpenLocalFormContainer
......
...@@ -62,7 +62,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad) ...@@ -62,7 +62,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
* S_OK, if the dll can be unloaded, * S_OK, if the dll can be unloaded,
* S_FALSE, otherwise. * S_FALSE, otherwise.
*/ */
HRESULT WINAPI MAPI32_DllCanUnloadNow(void) HRESULT WINAPI DllCanUnloadNow(void)
{ {
return MAPI_ObjectCount == 0 ? S_OK : S_FALSE; return MAPI_ObjectCount == 0 ? S_OK : S_FALSE;
} }
......
...@@ -745,7 +745,7 @@ static const IClassFactoryVtbl MLANGCF_Vtbl = ...@@ -745,7 +745,7 @@ static const IClassFactoryVtbl MLANGCF_Vtbl =
MLANGCF_LockServer MLANGCF_LockServer
}; };
HRESULT WINAPI MLANG_DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv) HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv)
{ {
int i; int i;
IClassFactoryImpl *factory; IClassFactoryImpl *factory;
...@@ -1992,7 +1992,7 @@ static HRESULT MultiLanguage_create(IUnknown *pUnkOuter, LPVOID *ppObj) ...@@ -1992,7 +1992,7 @@ static HRESULT MultiLanguage_create(IUnknown *pUnkOuter, LPVOID *ppObj)
/******************************************************************************/ /******************************************************************************/
HRESULT WINAPI MLANG_DllCanUnloadNow(void) HRESULT WINAPI DllCanUnloadNow(void)
{ {
FIXME("\n"); FIXME("\n");
return S_FALSE; return S_FALSE;
......
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
@ stub ConvertINetReset @ stub ConvertINetReset
@ stdcall ConvertINetString(ptr long long ptr ptr ptr ptr) @ stdcall ConvertINetString(ptr long long ptr ptr ptr ptr)
@ stdcall ConvertINetUnicodeToMultiByte(ptr long ptr ptr ptr ptr) @ stdcall ConvertINetUnicodeToMultiByte(ptr long ptr ptr ptr ptr)
@ stdcall -private DllCanUnloadNow() MLANG_DllCanUnloadNow @ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr) MLANG_DllGetClassObject @ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllRegisterServer() MLANG_DllRegisterServer @ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer() MLANG_DllUnregisterServer @ stdcall -private DllUnregisterServer()
@ stdcall GetGlobalFontLinkObject() @ stdcall GetGlobalFontLinkObject()
@ stdcall IsConvertINetStringAvailable(long long) @ stdcall IsConvertINetStringAvailable(long long)
@ stdcall LcidToRfc1766A(long ptr long) @ stdcall LcidToRfc1766A(long ptr long)
......
...@@ -543,7 +543,7 @@ static struct regsvr_interface const interface_list[] = { ...@@ -543,7 +543,7 @@ static struct regsvr_interface const interface_list[] = {
/*********************************************************************** /***********************************************************************
* DllRegisterServer (MLANG.@) * DllRegisterServer (MLANG.@)
*/ */
HRESULT WINAPI MLANG_DllRegisterServer(void) HRESULT WINAPI DllRegisterServer(void)
{ {
HRESULT hr; HRESULT hr;
...@@ -558,7 +558,7 @@ HRESULT WINAPI MLANG_DllRegisterServer(void) ...@@ -558,7 +558,7 @@ HRESULT WINAPI MLANG_DllRegisterServer(void)
/*********************************************************************** /***********************************************************************
* DllUnregisterServer (MLANG.@) * DllUnregisterServer (MLANG.@)
*/ */
HRESULT WINAPI MLANG_DllUnregisterServer(void) HRESULT WINAPI DllUnregisterServer(void)
{ {
HRESULT hr; HRESULT hr;
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
24 stdcall @(ptr) MPR_Free 24 stdcall @(ptr) MPR_Free
25 stdcall @(ptr long) _MPR_25 25 stdcall @(ptr long) _MPR_25
@ stdcall -private DllCanUnloadNow() MPR_DllCanUnloadNow @ stdcall -private DllCanUnloadNow()
@ stub DllGetClassObject @ stub DllGetClassObject
@ stdcall MultinetGetConnectionPerformanceA(ptr ptr) @ stdcall MultinetGetConnectionPerformanceA(ptr ptr)
@ stdcall MultinetGetConnectionPerformanceW(ptr ptr) @ stdcall MultinetGetConnectionPerformanceW(ptr ptr)
......
...@@ -75,7 +75,7 @@ BOOL WINAPI _MPR_25( LPBYTE lpMem, INT len ) ...@@ -75,7 +75,7 @@ BOOL WINAPI _MPR_25( LPBYTE lpMem, INT len )
/***************************************************************** /*****************************************************************
* DllCanUnloadNow [MPR.@] * DllCanUnloadNow [MPR.@]
*/ */
DWORD WINAPI MPR_DllCanUnloadNow(void) DWORD WINAPI DllCanUnloadNow(void)
{ {
FIXME("Stub\n"); FIXME("Stub\n");
return S_OK; return S_OK;
......
...@@ -155,7 +155,7 @@ static HRESULT ClassFactory_Create(REFIID riid, void **ppv, CreateInstanceFunc f ...@@ -155,7 +155,7 @@ static HRESULT ClassFactory_Create(REFIID riid, void **ppv, CreateInstanceFunc f
return hres; return hres;
} }
HRESULT WINAPI MSHTML_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv) HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
{ {
if(IsEqualGUID(&CLSID_HTMLDocument, rclsid)) { if(IsEqualGUID(&CLSID_HTMLDocument, rclsid)) {
TRACE("(CLSID_HTMLDocument %s %p)\n", debugstr_guid(riid), ppv); TRACE("(CLSID_HTMLDocument %s %p)\n", debugstr_guid(riid), ppv);
...@@ -181,7 +181,7 @@ HRESULT WINAPI MSHTML_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *pp ...@@ -181,7 +181,7 @@ HRESULT WINAPI MSHTML_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *pp
return CLASS_E_CLASSNOTAVAILABLE; return CLASS_E_CLASSNOTAVAILABLE;
} }
HRESULT WINAPI MSHTML_DllCanUnloadNow(void) HRESULT WINAPI DllCanUnloadNow(void)
{ {
TRACE("() ref=%ld\n", module_ref); TRACE("() ref=%ld\n", module_ref);
return module_ref ? S_FALSE : S_OK; return module_ref ? S_FALSE : S_OK;
...@@ -202,7 +202,7 @@ HRESULT WINAPI RunHTMLApplication( HINSTANCE hinst, HINSTANCE hPrevInst, ...@@ -202,7 +202,7 @@ HRESULT WINAPI RunHTMLApplication( HINSTANCE hinst, HINSTANCE hPrevInst,
/*********************************************************************** /***********************************************************************
* DllInstall (MSHTML.@) * DllInstall (MSHTML.@)
*/ */
HRESULT WINAPI MSHTML_DllInstall(BOOL bInstall, LPCWSTR cmdline) HRESULT WINAPI DllInstall(BOOL bInstall, LPCWSTR cmdline)
{ {
FIXME("stub %d %s: returning S_OK\n", bInstall, debugstr_w(cmdline)); FIXME("stub %d %s: returning S_OK\n", bInstall, debugstr_w(cmdline));
return S_OK; return S_OK;
...@@ -320,7 +320,7 @@ static HRESULT register_server(BOOL do_register) ...@@ -320,7 +320,7 @@ static HRESULT register_server(BOOL do_register)
/*********************************************************************** /***********************************************************************
* DllRegisterServer (MSHTML.@) * DllRegisterServer (MSHTML.@)
*/ */
HRESULT WINAPI MSHTML_DllRegisterServer(void) HRESULT WINAPI DllRegisterServer(void)
{ {
return register_server(TRUE); return register_server(TRUE);
} }
...@@ -328,7 +328,7 @@ HRESULT WINAPI MSHTML_DllRegisterServer(void) ...@@ -328,7 +328,7 @@ HRESULT WINAPI MSHTML_DllRegisterServer(void)
/*********************************************************************** /***********************************************************************
* DllUnregisterServer (MSHTML.@) * DllUnregisterServer (MSHTML.@)
*/ */
HRESULT WINAPI MSHTML_DllUnregisterServer(void) HRESULT WINAPI DllUnregisterServer(void)
{ {
return register_server(FALSE); return register_server(FALSE);
} }
@ stub CreateHTMLPropertyPage @ stub CreateHTMLPropertyPage
@ stdcall -private DllCanUnloadNow() MSHTML_DllCanUnloadNow @ stdcall -private DllCanUnloadNow()
@ stub DllEnumClassObjects @ stub DllEnumClassObjects
@ stdcall -private DllGetClassObject(ptr ptr ptr) MSHTML_DllGetClassObject @ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall DllInstall(long wstr) MSHTML_DllInstall @ stdcall -private DllInstall(long wstr)
@ stdcall -private DllRegisterServer() MSHTML_DllRegisterServer @ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer() MSHTML_DllUnregisterServer @ stdcall -private DllUnregisterServer()
@ stub MatchExactGetIDsOfNames @ stub MatchExactGetIDsOfNames
@ stub PrintHTML @ stub PrintHTML
@ stub RNIGetCompatibleVersion @ stub RNIGetCompatibleVersion
......
...@@ -1342,7 +1342,7 @@ static IClassFactoryImpl Msi_CF = { &MsiCF_Vtbl }; ...@@ -1342,7 +1342,7 @@ static IClassFactoryImpl Msi_CF = { &MsiCF_Vtbl };
/****************************************************************** /******************************************************************
* DllGetClassObject [MSI.@] * DllGetClassObject [MSI.@]
*/ */
HRESULT WINAPI MSI_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv) HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
{ {
TRACE("%s %s %p\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv); TRACE("%s %s %p\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv);
...@@ -1361,7 +1361,7 @@ HRESULT WINAPI MSI_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv) ...@@ -1361,7 +1361,7 @@ HRESULT WINAPI MSI_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
/****************************************************************** /******************************************************************
* DllGetVersion [MSI.@] * DllGetVersion [MSI.@]
*/ */
HRESULT WINAPI MSI_DllGetVersion(DLLVERSIONINFO *pdvi) HRESULT WINAPI DllGetVersion(DLLVERSIONINFO *pdvi)
{ {
TRACE("%p\n",pdvi); TRACE("%p\n",pdvi);
...@@ -1379,7 +1379,7 @@ HRESULT WINAPI MSI_DllGetVersion(DLLVERSIONINFO *pdvi) ...@@ -1379,7 +1379,7 @@ HRESULT WINAPI MSI_DllGetVersion(DLLVERSIONINFO *pdvi)
/****************************************************************** /******************************************************************
* DllCanUnloadNow [MSI.@] * DllCanUnloadNow [MSI.@]
*/ */
BOOL WINAPI MSI_DllCanUnloadNow(void) HRESULT WINAPI DllCanUnloadNow(void)
{ {
return S_FALSE; return S_FALSE;
} }
......
1 stdcall -private DllCanUnloadNow() MSI_DllCanUnloadNow 1 stdcall -private DllCanUnloadNow()
2 stdcall -private DllGetClassObject(ptr ptr ptr) MSI_DllGetClassObject 2 stdcall -private DllGetClassObject(ptr ptr ptr)
3 stdcall -private DllRegisterServer() MSI_DllRegisterServer 3 stdcall -private DllRegisterServer()
4 stdcall -private DllUnregisterServer() MSI_DllUnregisterServer 4 stdcall -private DllUnregisterServer()
5 stdcall MsiAdvertiseProductA(str str str long) 5 stdcall MsiAdvertiseProductA(str str str long)
6 stdcall MsiAdvertiseProductW(wstr wstr wstr long) 6 stdcall MsiAdvertiseProductW(wstr wstr wstr long)
7 stdcall MsiCloseAllHandles() 7 stdcall MsiCloseAllHandles()
...@@ -179,7 +179,7 @@ ...@@ -179,7 +179,7 @@
179 stub MsiGetPatchInfoW 179 stub MsiGetPatchInfoW
180 stub MsiEnumPatchesA 180 stub MsiEnumPatchesA
181 stub MsiEnumPatchesW 181 stub MsiEnumPatchesW
182 stdcall DllGetVersion(ptr) MSI_DllGetVersion 182 stdcall -private DllGetVersion(ptr)
183 stub MsiGetProductCodeFromPackageCodeA 183 stub MsiGetProductCodeFromPackageCodeA
184 stub MsiGetProductCodeFromPackageCodeW 184 stub MsiGetProductCodeFromPackageCodeW
185 stub MsiCreateTransformSummaryInfoA 185 stub MsiCreateTransformSummaryInfoA
......
...@@ -411,11 +411,6 @@ UINT WINAPI MsiDecomposeDescriptorA( LPCSTR, LPSTR, LPSTR, LPSTR, DWORD * ); ...@@ -411,11 +411,6 @@ UINT WINAPI MsiDecomposeDescriptorA( LPCSTR, LPSTR, LPSTR, LPSTR, DWORD * );
LANGID WINAPI MsiLoadStringW( MSIHANDLE, UINT, LPWSTR, int, LANGID ); LANGID WINAPI MsiLoadStringW( MSIHANDLE, UINT, LPWSTR, int, LANGID );
LANGID WINAPI MsiLoadStringA( MSIHANDLE, UINT, LPSTR, int, LANGID ); LANGID WINAPI MsiLoadStringA( MSIHANDLE, UINT, LPSTR, int, LANGID );
HRESULT WINAPI MSI_DllGetClassObject( REFCLSID, REFIID, LPVOID * );
HRESULT WINAPI MSI_DllRegisterServer( void );
HRESULT WINAPI MSI_DllUnregisterServer( void );
BOOL WINAPI MSI_DllCanUnloadNow( void );
/* UI globals */ /* UI globals */
extern INSTALLUILEVEL gUILevel; extern INSTALLUILEVEL gUILevel;
extern HWND gUIhwnd; extern HWND gUIhwnd;
......
...@@ -598,7 +598,8 @@ static struct regsvr_interface const interface_list[] = { ...@@ -598,7 +598,8 @@ static struct regsvr_interface const interface_list[] = {
/*********************************************************************** /***********************************************************************
* DllRegisterServer * DllRegisterServer
*/ */
HRESULT WINAPI MSI_DllRegisterServer(void) { HRESULT WINAPI DllRegisterServer(void)
{
HRESULT hr; HRESULT hr;
TRACE("\n"); TRACE("\n");
...@@ -612,7 +613,8 @@ HRESULT WINAPI MSI_DllRegisterServer(void) { ...@@ -612,7 +613,8 @@ HRESULT WINAPI MSI_DllRegisterServer(void) {
/*********************************************************************** /***********************************************************************
* DllUnregisterServer * DllUnregisterServer
*/ */
HRESULT WINAPI MSI_DllUnregisterServer(void) { HRESULT WINAPI DllUnregisterServer(void)
{
HRESULT hr; HRESULT hr;
TRACE("\n"); TRACE("\n");
......
...@@ -84,7 +84,7 @@ BOOL WINAPI DllMain( ...@@ -84,7 +84,7 @@ BOOL WINAPI DllMain(
* Success: S_OK * Success: S_OK
* Failure: S_FALSE * Failure: S_FALSE
*/ */
HRESULT WINAPI MSISYS_DllCanUnloadNow(void) HRESULT WINAPI DllCanUnloadNow(void)
{ {
return S_OK; return S_OK;
} }
...@@ -92,8 +92,7 @@ HRESULT WINAPI MSISYS_DllCanUnloadNow(void) ...@@ -92,8 +92,7 @@ HRESULT WINAPI MSISYS_DllCanUnloadNow(void)
/*********************************************************************** /***********************************************************************
* DllGetClassObject (MSISYS.@) * DllGetClassObject (MSISYS.@)
*/ */
HRESULT WINAPI MSISYS_DllGetClassObject( HRESULT WINAPI DllGetClassObject(REFCLSID pclsid, const IID* piid, LPVOID *ppv)
REFCLSID pclsid, const IID* piid, LPVOID *ppv)
{ {
FIXME("\n"); FIXME("\n");
...@@ -104,7 +103,7 @@ HRESULT WINAPI MSISYS_DllGetClassObject( ...@@ -104,7 +103,7 @@ HRESULT WINAPI MSISYS_DllGetClassObject(
* DllRegisterServer (MSISYS.@) * DllRegisterServer (MSISYS.@)
*/ */
HRESULT WINAPI MSISYS_DllRegisterServer( void ) HRESULT WINAPI DllRegisterServer( void )
{ {
FIXME( "(): stub\n" ); FIXME( "(): stub\n" );
return E_FAIL; return E_FAIL;
...@@ -114,7 +113,7 @@ HRESULT WINAPI MSISYS_DllRegisterServer( void ) ...@@ -114,7 +113,7 @@ HRESULT WINAPI MSISYS_DllRegisterServer( void )
* DllUnregisterServer (MSISYS.@) * DllUnregisterServer (MSISYS.@)
*/ */
HRESULT WINAPI MSISYS_DllUnregisterServer( void ) HRESULT WINAPI DllUnregisterServer( void )
{ {
FIXME( "(): stub\n" ); FIXME( "(): stub\n" );
return E_FAIL; return E_FAIL;
......
@ stdcall -private DllCanUnloadNow() MSISYS_DllCanUnloadNow @ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr) MSISYS_DllGetClassObject @ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllRegisterServer() MSISYS_DllRegisterServer @ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer() MSISYS_DllUnregisterServer @ stdcall -private DllUnregisterServer()
...@@ -127,7 +127,7 @@ const struct IClassFactoryVtbl xmlcf_vtbl = ...@@ -127,7 +127,7 @@ const struct IClassFactoryVtbl xmlcf_vtbl =
static xmlcf domdoccf = { &xmlcf_vtbl, DOMDocument_create }; static xmlcf domdoccf = { &xmlcf_vtbl, DOMDocument_create };
HRESULT WINAPI MSXML_DllGetClassObject( REFCLSID rclsid, REFIID iid, LPVOID *ppv ) HRESULT WINAPI DllGetClassObject( REFCLSID rclsid, REFIID iid, LPVOID *ppv )
{ {
IClassFactory *cf = NULL; IClassFactory *cf = NULL;
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(msxml); WINE_DEFAULT_DEBUG_CHANNEL(msxml);
HRESULT WINAPI MSXML_DllCanUnloadNow(void) HRESULT WINAPI DllCanUnloadNow(void)
{ {
FIXME("\n"); FIXME("\n");
return S_FALSE; return S_FALSE;
...@@ -48,7 +48,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv) ...@@ -48,7 +48,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
return TRUE; return TRUE;
} }
HRESULT WINAPI MSXML_DllRegisterServer(void) HRESULT WINAPI DllRegisterServer(void)
{ {
FIXME("\n"); FIXME("\n");
return S_OK; return S_OK;
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
11 stub @ 11 stub @
12 stub @ 12 stub @
@ stdcall -private DllCanUnloadNow() MSXML_DllCanUnloadNow @ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr) MSXML_DllGetClassObject @ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllRegisterServer() MSXML_DllRegisterServer @ stdcall -private DllRegisterServer()
@ stub DllUnregisterServer @ stub DllUnregisterServer
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
@ stub CreatePointerMoniker #@ stdcall (ptr ptr) return 0,ERR_NOTIMPLEMENTED @ stub CreatePointerMoniker #@ stdcall (ptr ptr) return 0,ERR_NOTIMPLEMENTED
@ stdcall CreateStreamOnHGlobal(ptr long ptr) @ stdcall CreateStreamOnHGlobal(ptr long ptr)
@ stdcall DllDebugObjectRPCHook(long ptr) @ stdcall DllDebugObjectRPCHook(long ptr)
@ stdcall -private DllGetClassObject (ptr ptr ptr) OLE32_DllGetClassObject @ stdcall -private DllGetClassObject (ptr ptr ptr)
@ stub DllGetClassObjectWOW @ stub DllGetClassObjectWOW
@ stdcall -private DllRegisterServer() @ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer() @ stdcall -private DllUnregisterServer()
......
...@@ -988,7 +988,7 @@ static const IPSFactoryBufferVtbl *lppsfac = &psfacbufvtbl; ...@@ -988,7 +988,7 @@ static const IPSFactoryBufferVtbl *lppsfac = &psfacbufvtbl;
/*********************************************************************** /***********************************************************************
* DllGetClassObject [OLE32.@] * DllGetClassObject [OLE32.@]
*/ */
HRESULT WINAPI OLE32_DllGetClassObject(REFCLSID rclsid, REFIID iid,LPVOID *ppv) HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid,LPVOID *ppv)
{ {
*ppv = NULL; *ppv = NULL;
if (IsEqualIID(rclsid, &CLSID_PSFactoryBuffer)) if (IsEqualIID(rclsid, &CLSID_PSFactoryBuffer))
......
...@@ -50,13 +50,13 @@ HRESULT WINAPI AccessibleObjectFromWindow( HWND hwnd, DWORD dwObjectID, ...@@ -50,13 +50,13 @@ HRESULT WINAPI AccessibleObjectFromWindow( HWND hwnd, DWORD dwObjectID,
return E_NOTIMPL; return E_NOTIMPL;
} }
HRESULT WINAPI OLEACC_DllRegisterServer() HRESULT WINAPI DllRegisterServer(void)
{ {
FIXME("\n"); FIXME("\n");
return S_OK; return S_OK;
} }
HRESULT WINAPI OLEACC_DllUnregisterServer() HRESULT WINAPI DllUnregisterServer(void)
{ {
FIXME("\n"); FIXME("\n");
return S_OK; return S_OK;
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
@ stdcall CreateStdAccessibleObject(ptr long ptr ptr) @ stdcall CreateStdAccessibleObject(ptr long ptr ptr)
@ stub CreateStdAccessibleProxyA @ stub CreateStdAccessibleProxyA
@ stub CreateStdAccessibleProxyW @ stub CreateStdAccessibleProxyW
@ stdcall -private DllRegisterServer() OLEACC_DllRegisterServer @ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer() OLEACC_DllUnregisterServer @ stdcall -private DllUnregisterServer()
@ stub GetOleaccVersionInfo @ stub GetOleaccVersionInfo
@ stub GetRoleTextA @ stub GetRoleTextA
@ stub GetRoleTextW @ stub GetRoleTextW
......
@ stdcall -private DllCanUnloadNow() QCAP_DllCanUnloadNow @ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr) QCAP_DllGetClassObject @ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllRegisterServer() QCAP_DllRegisterServer @ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer() QCAP_DllUnregisterServer @ stdcall -private DllUnregisterServer()
...@@ -171,7 +171,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv) ...@@ -171,7 +171,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
/*********************************************************************** /***********************************************************************
* DllRegisterServer (QCAP.@) * DllRegisterServer (QCAP.@)
*/ */
HRESULT WINAPI QCAP_DllRegisterServer(void) HRESULT WINAPI DllRegisterServer(void)
{ {
TRACE("()\n"); TRACE("()\n");
...@@ -181,7 +181,7 @@ HRESULT WINAPI QCAP_DllRegisterServer(void) ...@@ -181,7 +181,7 @@ HRESULT WINAPI QCAP_DllRegisterServer(void)
/*********************************************************************** /***********************************************************************
* DllUnregisterServer (QCAP.@) * DllUnregisterServer (QCAP.@)
*/ */
HRESULT WINAPI QCAP_DllUnregisterServer(void) HRESULT WINAPI DllUnregisterServer(void)
{ {
TRACE("\n"); TRACE("\n");
...@@ -191,7 +191,7 @@ HRESULT WINAPI QCAP_DllUnregisterServer(void) ...@@ -191,7 +191,7 @@ HRESULT WINAPI QCAP_DllUnregisterServer(void)
/*********************************************************************** /***********************************************************************
* DllCanUnloadNow (QCAP.@) * DllCanUnloadNow (QCAP.@)
*/ */
HRESULT WINAPI QCAP_DllCanUnloadNow(void) HRESULT WINAPI DllCanUnloadNow(void)
{ {
TRACE("\n"); TRACE("\n");
...@@ -306,7 +306,7 @@ static const IClassFactoryVtbl DSCF_Vtbl = ...@@ -306,7 +306,7 @@ static const IClassFactoryVtbl DSCF_Vtbl =
/*********************************************************************** /***********************************************************************
* DllGetClassObject (QCAP.@) * DllGetClassObject (QCAP.@)
*/ */
HRESULT WINAPI QCAP_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv) HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
{ {
const CFactoryTemplate *pList = g_cTemplates; const CFactoryTemplate *pList = g_cTemplates;
IClassFactoryImpl *factory; IClassFactoryImpl *factory;
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
@ stub CreateServerInterfaceFromStub # wxp @ stub CreateServerInterfaceFromStub # wxp
@ stdcall DceErrorInqTextA (long ptr) @ stdcall DceErrorInqTextA (long ptr)
@ stdcall DceErrorInqTextW (long ptr) @ stdcall DceErrorInqTextW (long ptr)
@ stdcall -private DllRegisterServer() RPCRT4_DllRegisterServer @ stdcall -private DllRegisterServer()
@ stub GlobalMutexClearExternal @ stub GlobalMutexClearExternal
@ stub GlobalMutexRequestExternal @ stub GlobalMutexRequestExternal
@ stdcall IUnknown_AddRef_Proxy(ptr) @ stdcall IUnknown_AddRef_Proxy(ptr)
......
...@@ -650,7 +650,7 @@ RPC_STATUS WINAPI UuidFromStringW(unsigned short* s, UUID *uuid) ...@@ -650,7 +650,7 @@ RPC_STATUS WINAPI UuidFromStringW(unsigned short* s, UUID *uuid)
* DllRegisterServer (RPCRT4.@) * DllRegisterServer (RPCRT4.@)
*/ */
HRESULT WINAPI RPCRT4_DllRegisterServer( void ) HRESULT WINAPI DllRegisterServer( void )
{ {
FIXME( "(): stub\n" ); FIXME( "(): stub\n" );
return S_OK; return S_OK;
......
...@@ -650,7 +650,7 @@ static struct regsvr_namespace const namespace_extensions_list[] = { ...@@ -650,7 +650,7 @@ static struct regsvr_namespace const namespace_extensions_list[] = {
/*********************************************************************** /***********************************************************************
* DllRegisterServer (SHELL32.@) * DllRegisterServer (SHELL32.@)
*/ */
HRESULT WINAPI SHELL32_DllRegisterServer() HRESULT WINAPI DllRegisterServer(void)
{ {
HRESULT hr; HRESULT hr;
...@@ -669,7 +669,7 @@ HRESULT WINAPI SHELL32_DllRegisterServer() ...@@ -669,7 +669,7 @@ HRESULT WINAPI SHELL32_DllRegisterServer()
/*********************************************************************** /***********************************************************************
* DllUnregisterServer (SHELL32.@) * DllUnregisterServer (SHELL32.@)
*/ */
HRESULT WINAPI SHELL32_DllUnregisterServer() HRESULT WINAPI DllUnregisterServer(void)
{ {
HRESULT hr; HRESULT hr;
......
...@@ -260,12 +260,12 @@ ...@@ -260,12 +260,12 @@
@ stdcall Control_RunDLLA(ptr ptr str long) @ stdcall Control_RunDLLA(ptr ptr str long)
@ stub Control_RunDLLAsUserW @ stub Control_RunDLLAsUserW
@ stdcall Control_RunDLLW(ptr ptr wstr long) @ stdcall Control_RunDLLW(ptr ptr wstr long)
@ stdcall -private DllCanUnloadNow() SHELL32_DllCanUnloadNow @ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(long long ptr) SHELL32_DllGetClassObject @ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall DllGetVersion(ptr)SHELL32_DllGetVersion @ stdcall -private DllGetVersion(ptr)
@ stdcall DllInstall(long wstr)SHELL32_DllInstall @ stdcall -private DllInstall(long wstr)
@ stdcall -private DllRegisterServer() SHELL32_DllRegisterServer @ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer() SHELL32_DllUnregisterServer @ stdcall -private DllUnregisterServer()
@ stdcall DoEnvironmentSubstA(str str) @ stdcall DoEnvironmentSubstA(str str)
@ stdcall DoEnvironmentSubstW(wstr wstr) @ stdcall DoEnvironmentSubstW(wstr wstr)
@ stdcall DragAcceptFiles(long long) @ stdcall DragAcceptFiles(long long)
......
...@@ -1058,7 +1058,7 @@ void WINAPI FreeIconList( DWORD dw ) ...@@ -1058,7 +1058,7 @@ void WINAPI FreeIconList( DWORD dw )
* Returns version of a shell32.dll from IE4.01 SP1. * Returns version of a shell32.dll from IE4.01 SP1.
*/ */
HRESULT WINAPI SHELL32_DllGetVersion (DLLVERSIONINFO *pdvi) HRESULT WINAPI DllGetVersion (DLLVERSIONINFO *pdvi)
{ {
/* FIXME: shouldn't these values come from the version resource? */ /* FIXME: shouldn't these values come from the version resource? */
if (pdvi->cbSize == sizeof(DLLVERSIONINFO) || if (pdvi->cbSize == sizeof(DLLVERSIONINFO) ||
...@@ -1145,7 +1145,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad) ...@@ -1145,7 +1145,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
* LPCWSTR pszCmdLine - command line (unused by shell32?) * LPCWSTR pszCmdLine - command line (unused by shell32?)
*/ */
HRESULT WINAPI SHELL32_DllInstall(BOOL bInstall, LPCWSTR cmdline) HRESULT WINAPI DllInstall(BOOL bInstall, LPCWSTR cmdline)
{ {
FIXME("%s %s: stub\n", bInstall ? "TRUE":"FALSE", debugstr_w(cmdline)); FIXME("%s %s: stub\n", bInstall ? "TRUE":"FALSE", debugstr_w(cmdline));
return S_OK; /* indicate success */ return S_OK; /* indicate success */
...@@ -1154,7 +1154,7 @@ HRESULT WINAPI SHELL32_DllInstall(BOOL bInstall, LPCWSTR cmdline) ...@@ -1154,7 +1154,7 @@ HRESULT WINAPI SHELL32_DllInstall(BOOL bInstall, LPCWSTR cmdline)
/*********************************************************************** /***********************************************************************
* DllCanUnloadNow (SHELL32.@) * DllCanUnloadNow (SHELL32.@)
*/ */
HRESULT WINAPI SHELL32_DllCanUnloadNow(void) HRESULT WINAPI DllCanUnloadNow(void)
{ {
FIXME("stub\n"); FIXME("stub\n");
return S_FALSE; return S_FALSE;
......
...@@ -103,11 +103,6 @@ HRESULT WINAPI IAutoComplete_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVO ...@@ -103,11 +103,6 @@ HRESULT WINAPI IAutoComplete_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVO
LPEXTRACTICONA IExtractIconA_Constructor(LPCITEMIDLIST); LPEXTRACTICONA IExtractIconA_Constructor(LPCITEMIDLIST);
LPEXTRACTICONW IExtractIconW_Constructor(LPCITEMIDLIST); LPEXTRACTICONW IExtractIconW_Constructor(LPCITEMIDLIST);
/* FIXME: rename the functions when the shell32.dll has it's own exports namespace */
HRESULT WINAPI SHELL32_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID * ppv);
HRESULT WINAPI SHELL32_DllCanUnloadNow(void);
/* menu merging */ /* menu merging */
#define MM_ADDSEPARATOR 0x00000001L #define MM_ADDSEPARATOR 0x00000001L
#define MM_SUBMENUSHAVEIDS 0x00000002L #define MM_SUBMENUSHAVEIDS 0x00000002L
......
...@@ -165,7 +165,7 @@ HRESULT WINAPI SHCoCreateInstance( ...@@ -165,7 +165,7 @@ HRESULT WINAPI SHCoCreateInstance(
/* now we create an instance */ /* now we create an instance */
if (bLoadFromShell32) { if (bLoadFromShell32) {
if (! SUCCEEDED(SHELL32_DllGetClassObject(myclsid, &IID_IClassFactory,(LPVOID*)&pcf))) { if (! SUCCEEDED(DllGetClassObject(myclsid, &IID_IClassFactory,(LPVOID*)&pcf))) {
ERR("LoadFromShell failed for CLSID=%s\n", shdebugstr_guid(myclsid)); ERR("LoadFromShell failed for CLSID=%s\n", shdebugstr_guid(myclsid));
} }
} else if (bLoadWithoutCOM) { } else if (bLoadWithoutCOM) {
...@@ -216,7 +216,7 @@ end: ...@@ -216,7 +216,7 @@ end:
/************************************************************************* /*************************************************************************
* DllGetClassObject [SHELL32.@] * DllGetClassObject [SHELL32.@]
*/ */
HRESULT WINAPI SHELL32_DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv) HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv)
{ {
HRESULT hres = E_OUTOFMEMORY; HRESULT hres = E_OUTOFMEMORY;
IClassFactory * pcf = NULL; IClassFactory * pcf = NULL;
......
...@@ -624,7 +624,7 @@ static HRESULT register_inf(BOOL doregister) ...@@ -624,7 +624,7 @@ static HRESULT register_inf(BOOL doregister)
/*********************************************************************** /***********************************************************************
* DllRegisterServer (URLMON.@) * DllRegisterServer (URLMON.@)
*/ */
HRESULT WINAPI URLMON_DllRegisterServer(void) HRESULT WINAPI DllRegisterServer(void)
{ {
HRESULT hr; HRESULT hr;
...@@ -641,7 +641,7 @@ HRESULT WINAPI URLMON_DllRegisterServer(void) ...@@ -641,7 +641,7 @@ HRESULT WINAPI URLMON_DllRegisterServer(void)
/*********************************************************************** /***********************************************************************
* DllUnregisterServer (URLMON.@) * DllUnregisterServer (URLMON.@)
*/ */
HRESULT WINAPI URLMON_DllUnregisterServer(void) HRESULT WINAPI DllUnregisterServer(void)
{ {
HRESULT hr; HRESULT hr;
......
...@@ -26,12 +26,12 @@ ...@@ -26,12 +26,12 @@
@ stdcall CreateAsyncBindCtxEx(ptr long ptr ptr ptr long) @ stdcall CreateAsyncBindCtxEx(ptr long ptr ptr ptr long)
@ stub CreateFormatEnumerator @ stub CreateFormatEnumerator
@ stdcall CreateURLMoniker(ptr wstr ptr) @ stdcall CreateURLMoniker(ptr wstr ptr)
@ stdcall -private DllCanUnloadNow() URLMON_DllCanUnloadNow @ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr) URLMON_DllGetClassObject @ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall DllInstall(long ptr) URLMON_DllInstall @ stdcall -private DllInstall(long wstr)
@ stdcall -private DllRegisterServer() URLMON_DllRegisterServer @ stdcall -private DllRegisterServer()
@ stdcall -private DllRegisterServerEx() URLMON_DllRegisterServerEx @ stdcall -private DllRegisterServerEx()
@ stdcall -private DllUnregisterServer() URLMON_DllUnregisterServer @ stdcall -private DllUnregisterServer()
@ stdcall Extract(long ptr) cabinet.Extract @ stdcall Extract(long ptr) cabinet.Extract
@ stdcall FaultInIEFeature(long ptr ptr long) @ stdcall FaultInIEFeature(long ptr ptr long)
@ stub FindMediaType @ stub FindMediaType
......
...@@ -65,7 +65,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad) ...@@ -65,7 +65,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
/*********************************************************************** /***********************************************************************
* DllInstall (URLMON.@) * 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", FIXME("(%s, %s): stub\n", bInstall?"TRUE":"FALSE",
debugstr_w(cmdline)); debugstr_w(cmdline));
...@@ -76,7 +76,7 @@ HRESULT WINAPI URLMON_DllInstall(BOOL bInstall, LPCWSTR cmdline) ...@@ -76,7 +76,7 @@ HRESULT WINAPI URLMON_DllInstall(BOOL bInstall, LPCWSTR cmdline)
/*********************************************************************** /***********************************************************************
* DllCanUnloadNow (URLMON.@) * DllCanUnloadNow (URLMON.@)
*/ */
HRESULT WINAPI URLMON_DllCanUnloadNow(void) HRESULT WINAPI DllCanUnloadNow(void)
{ {
return URLMON_refCount != 0 ? S_FALSE : S_OK; return URLMON_refCount != 0 ? S_FALSE : S_OK;
} }
...@@ -199,7 +199,7 @@ static const IClassFactoryVtbl CF_Vtbl = ...@@ -199,7 +199,7 @@ static const IClassFactoryVtbl CF_Vtbl =
* E_UNEXPECTED * E_UNEXPECTED
*/ */
HRESULT WINAPI URLMON_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv) HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
{ {
int i; int i;
IClassFactoryImpl *factory; IClassFactoryImpl *factory;
...@@ -240,7 +240,7 @@ HRESULT WINAPI URLMON_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *pp ...@@ -240,7 +240,7 @@ HRESULT WINAPI URLMON_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *pp
/*********************************************************************** /***********************************************************************
* DllRegisterServerEx (URLMON.@) * DllRegisterServerEx (URLMON.@)
*/ */
HRESULT WINAPI URLMON_DllRegisterServerEx(void) HRESULT WINAPI DllRegisterServerEx(void)
{ {
FIXME("(void): stub\n"); FIXME("(void): stub\n");
......
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