Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
bd6b5374
Commit
bd6b5374
authored
Apr 30, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winecrt0: Add a default implementation for DllCanUnloadNow().
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2b6458b7
Hide whitespace changes
Inline
Side-by-side
Showing
113 changed files
with
54 additions
and
663 deletions
+54
-663
activeds.spec
dlls/activeds/activeds.spec
+1
-1
adsldp.c
dlls/adsldp/adsldp.c
+0
-5
amsi.spec
dlls/amsi/amsi.spec
+1
-1
main.c
dlls/amstream/main.c
+0
-8
atl30.c
dlls/atl/atl30.c
+0
-8
factory.c
dlls/avifil32/factory.c
+0
-13
bluetoothapis.spec
dlls/bluetoothapis/bluetoothapis.spec
+1
-1
bthprops.cpl.spec
dlls/bthprops.cpl/bthprops.cpl.spec
+1
-1
main.c
dlls/cdosys/main.c
+0
-5
comcat_main.c
dlls/comcat/comcat_main.c
+0
-8
main.c
dlls/comsvcs/main.c
+0
-8
connect.spec
dlls/connect/connect.spec
+1
-1
credui.spec
dlls/credui/credui.spec
+1
-1
cryptext.spec
dlls/cryptext/cryptext.spec
+1
-1
d3drm.c
dlls/d3drm/d3drm.c
+0
-5
main.c
dlls/d3dxof/main.c
+0
-8
davclnt.spec
dlls/davclnt/davclnt.spec
+1
-1
dcomp.spec
dlls/dcomp/dcomp.spec
+1
-1
main.c
dlls/ddraw/main.c
+0
-15
main.c
dlls/ddrawex/main.c
+0
-9
main.c
dlls/dhtmled.ocx/main.c
+0
-9
dinput_main.c
dlls/dinput/dinput_main.c
+0
-8
directmanipulation.c
dlls/directmanipulation/directmanipulation.c
+0
-5
dpnet_main.c
dlls/dpnet/dpnet_main.c
+0
-8
main.c
dlls/dpnhpast/main.c
+0
-11
main.c
dlls/dpvoice/main.c
+0
-5
main.c
dlls/dsdmo/main.c
+0
-5
dsound_main.c
dlls/dsound/dsound_main.c
+0
-13
main.c
dlls/dsquery/main.c
+0
-8
dsuiext.c
dlls/dsuiext/dsuiext.c
+0
-5
main.c
dlls/dx8vb/main.c
+0
-5
main.c
dlls/evr/main.c
+0
-5
main.c
dlls/gameux/main.c
+0
-5
hlink_main.c
dlls/hlink/hlink_main.c
+0
-8
hnetcfg.c
dlls/hnetcfg/hnetcfg.c
+0
-5
inetcomm_main.c
dlls/inetcomm/inetcomm_main.c
+0
-8
infosoft_main.c
dlls/infosoft/infosoft_main.c
+0
-5
inkobj.c
dlls/inkobj/inkobj.c
+0
-10
inseng_main.c
dlls/inseng/inseng_main.c
+0
-8
itircl_main.c
dlls/itircl/itircl_main.c
+0
-8
ksproxy.ax.spec
dlls/ksproxy.ax/ksproxy.ax.spec
+1
-1
mapistub.spec
dlls/mapistub/mapistub.spec
+1
-1
main.c
dlls/mf/main.c
+0
-8
main.c
dlls/mfmediaengine/main.c
+0
-5
mfplay.spec
dlls/mfplay/mfplay.spec
+1
-1
reader.c
dlls/mfreadwrite/reader.c
+0
-5
mmcndmgr.c
dlls/mmcndmgr/mmcndmgr.c
+0
-5
main.c
dlls/mmdevapi/main.c
+0
-5
mp3dmod.c
dlls/mp3dmod/mp3dmod.c
+0
-8
main.c
dlls/msado15/main.c
+0
-8
mscms.spec
dlls/mscms/mscms.spec
+1
-1
mscoree_main.c
dlls/mscoree/mscoree_main.c
+0
-5
msctf.c
dlls/msctf/msctf.c
+0
-8
msdrm.spec
dlls/msdrm/msdrm.spec
+1
-1
main.c
dlls/mshtml/main.c
+0
-10
msident.c
dlls/msident/msident.c
+0
-8
main.c
dlls/msimtf/main.c
+0
-8
msisys.c
dlls/msisys.ocx/msisys.c
+0
-12
msscript.c
dlls/msscript.ocx/msscript.c
+0
-9
mstask.spec
dlls/mstask/mstask.spec
+2
-2
main.c
dlls/msxml/main.c
+0
-8
main.c
dlls/msxml2/main.c
+0
-8
main.c
dlls/msxml3/main.c
+0
-6
main.c
dlls/msxml4/main.c
+0
-5
main.c
dlls/msxml6/main.c
+0
-5
main.c
dlls/netcfgx/main.c
+0
-5
main.c
dlls/netprofm/main.c
+0
-8
oleaut.c
dlls/oleaut32/oleaut.c
+0
-16
main.c
dlls/oledb32/main.c
+0
-8
olepro32stubs.c
dlls/olepro32/olepro32stubs.c
+0
-8
factory.c
dlls/opcservices/factory.c
+0
-5
packager_main.c
dlls/packager/packager_main.c
+0
-5
photometadatahandler.spec
dlls/photometadatahandler/photometadatahandler.spec
+1
-1
printui.spec
dlls/printui/printui.spec
+1
-1
prntvpt.spec
dlls/prntvpt/prntvpt.spec
+1
-1
propsys_main.c
dlls/propsys/propsys_main.c
+0
-5
pstorec.c
dlls/pstorec/pstorec.c
+0
-5
qasf_main.c
dlls/qasf/qasf_main.c
+0
-5
qdvd_main.c
dlls/qdvd/qdvd_main.c
+0
-5
main.c
dlls/qedit/main.c
+0
-8
query_main.c
dlls/query/query_main.c
+0
-5
main.c
dlls/sapi/main.c
+0
-9
scrobj.c
dlls/scrobj/scrobj.c
+0
-8
scrrun.c
dlls/scrrun/scrrun.c
+0
-8
shcore.spec
dlls/shcore/shcore.spec
+1
-1
shell32_main.c
dlls/shell32/shell32_main.c
+0
-8
sti_main.c
dlls/sti/sti_main.c
+0
-8
taskschd.c
dlls/taskschd/taskschd.c
+0
-8
main.c
dlls/uianimation/main.c
+0
-9
uiautomationcore.spec
dlls/uiautomationcore/uiautomationcore.spec
+1
-1
main.c
dlls/uiribbon/main.c
+0
-5
vbscript_main.c
dlls/vbscript/vbscript_main.c
+0
-8
vssapi.spec
dlls/vssapi/vssapi.spec
+1
-1
main.c
dlls/wbemdisp/main.c
+0
-8
main.c
dlls/wbemprox/main.c
+0
-8
wimgapi.spec
dlls/wimgapi/wimgapi.spec
+1
-1
main.c
dlls/windows.gaming.input/main.c
+0
-5
main.c
dlls/windows.globalization/main.c
+0
-5
main.c
dlls/windows.media.devices/main.c
+0
-5
main.c
dlls/windows.media.speech/main.c
+0
-5
main.c
dlls/windowscodecs/main.c
+0
-5
Makefile.in
dlls/winecrt0/Makefile.in
+1
-0
dll_canunload.c
dlls/winecrt0/dll_canunload.c
+30
-0
main.c
dlls/wineqtdecoder/main.c
+0
-6
main.c
dlls/winhttp/main.c
+0
-8
main.c
dlls/wmiutils/main.c
+0
-8
wmp_main.c
dlls/wmp/wmp_main.c
+0
-9
main.c
dlls/wmphoto/main.c
+0
-5
wpc.c
dlls/wpc/wpc.c
+0
-9
wshom_main.c
dlls/wshom.ocx/wshom_main.c
+0
-8
main.c
dlls/wuapi/main.c
+0
-5
xact_dll.c
dlls/xactengine3_7/xact_dll.c
+0
-5
xaudio_dll.c
dlls/xaudio2_7/xaudio_dll.c
+0
-5
No files found.
dlls/activeds/activeds.spec
View file @
bd6b5374
...
...
@@ -22,7 +22,7 @@
26 stub PropVariantToAdsType2
27 stub ConvertSecDescriptorToVariant
28 stub ConvertSecurityDescriptorToSecDes
#@ stub DllCanUnloadNow
@ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr)
#@ stub DllRegisterServer
#@ stub DllUnregisterServer
dlls/adsldp/adsldp.c
View file @
bd6b5374
...
...
@@ -2115,11 +2115,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID clsid, REFIID iid, LPVOID *obj)
return
CLASS_E_CLASSNOTAVAILABLE
;
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
return
__wine_register_resources
(
adsldp_hinst
);
...
...
dlls/amsi/amsi.spec
View file @
bd6b5374
...
...
@@ -7,7 +7,7 @@
@ stub AmsiUacScan
@ stub AmsiUacUninitialize
@ stdcall AmsiUninitialize(ptr)
@ st
ub DllCanUnloadNow
@ st
dcall -private DllCanUnloadNow()
@ stub DllGetClassObject
@ stub DllRegisterServer
@ stub DllUnregisterServer
dlls/amstream/main.c
View file @
bd6b5374
...
...
@@ -200,14 +200,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
}
/***********************************************************************
* DllCanUnloadNow (AMSTREAM.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer (AMSTREAM.@)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
...
...
dlls/atl/atl30.c
View file @
bd6b5374
...
...
@@ -544,11 +544,3 @@ HRESULT WINAPI DllUnregisterServer(void)
{
return
__wine_unregister_resources
(
atl_instance
);
}
/***********************************************************************
* DllCanUnloadNow (ATL.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
dlls/avifil32/factory.c
View file @
bd6b5374
...
...
@@ -38,9 +38,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(avifile);
HMODULE
AVIFILE_hModule
=
NULL
;
static
BOOL
AVIFILE_bLocked
;
static
UINT
AVIFILE_uUseCount
;
typedef
struct
{
IClassFactory
IClassFactory_iface
;
...
...
@@ -125,8 +122,6 @@ static HRESULT WINAPI IClassFactory_fnLockServer(IClassFactory *iface, BOOL dolo
{
TRACE
(
"(%p,%d)
\n
"
,
iface
,
dolock
);
AVIFILE_bLocked
=
dolock
;
return
S_OK
;
}
...
...
@@ -197,14 +192,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID pclsid, REFIID piid, LPVOID *ppv)
}
/*****************************************************************************
* DllCanUnloadNow (AVIFIL32.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
((
AVIFILE_bLocked
||
AVIFILE_uUseCount
)
?
S_FALSE
:
S_OK
);
}
/*****************************************************************************
* DllMain [AVIFIL32.init]
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
hInstDll
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
...
...
dlls/bluetoothapis/bluetoothapis.spec
View file @
bd6b5374
...
...
@@ -90,7 +90,7 @@
@ stub BthpTranspose16Bits
@ stub BthpTranspose32Bits
@ stub BthpTransposeAndExtendBytes
@ st
ub DllCanUnloadNow
@ st
dcall -private DllCanUnloadNow()
@ stub FindNextOpenVCOMPort
@ stub InstallIncomingComPort
@ stub ShouldForceAuthentication
dlls/bthprops.cpl/bthprops.cpl.spec
View file @
bd6b5374
...
...
@@ -61,5 +61,5 @@
@ stub BthpFindPnpInfo
@ stub BthpMapStatusToErr
#@ stub CPlApplet
@ st
ub DllCanUnloadNow
@ st
dcall -private DllCanUnloadNow()
@ stub DllGetClassObject
dlls/cdosys/main.c
View file @
bd6b5374
...
...
@@ -56,11 +56,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, void **obj)
return
CLASS_E_CLASSNOTAVAILABLE
;
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
return
__wine_register_resources
(
instance
);
...
...
dlls/comcat/comcat_main.c
View file @
bd6b5374
...
...
@@ -24,14 +24,6 @@
#include "winbase.h"
/***********************************************************************
* DllCanUnloadNow (COMCAT.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer (COMCAT.@)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
...
...
dlls/comsvcs/main.c
View file @
bd6b5374
...
...
@@ -1032,14 +1032,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, void **ppv)
return
CLASS_E_CLASSNOTAVAILABLE
;
}
/******************************************************************
* DllCanUnloadNow
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer (comsvcs.@)
*/
...
...
dlls/connect/connect.spec
View file @
bd6b5374
@ stub AddConnectionOptionListEntries
@ stub CreateVPNConnection
@ st
ub DllCanUnloadNow
@ st
dcall -private DllCanUnloadNow()
@ stub DllGetClassObject
@ stub GetInternetConnected
@ stub GetNetworkConnected
...
...
dlls/credui/credui.spec
View file @
bd6b5374
...
...
@@ -14,7 +14,7 @@
@ stdcall CredUIStoreSSOCredA(str str str long)
@ stdcall CredUIStoreSSOCredW(wstr wstr wstr long)
@ stdcall CredUnPackAuthenticationBufferW(long ptr long ptr ptr ptr ptr ptr ptr)
@ st
ub DllCanUnloadNow
@ st
dcall -private DllCanUnloadNow()
@ stub DllGetClassObject
@ stub DllRegisterServer
@ stub DllUnregisterServer
...
...
dlls/cryptext/cryptext.spec
View file @
bd6b5374
...
...
@@ -24,7 +24,7 @@
@ stub CryptExtOpenPKCS7W
@ stub CryptExtOpenSTR
@ stub CryptExtOpenSTRW
@ st
ub DllCanUnloadNow
@ st
dcall -private DllCanUnloadNow()
@ stub DllGetClassObject
@ stub DllRegisterServer
@ stub DllUnregisterServer
dlls/d3drm/d3drm.c
View file @
bd6b5374
...
...
@@ -2339,11 +2339,6 @@ HRESULT WINAPI Direct3DRMCreate(IDirect3DRM **d3drm)
return
S_OK
;
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
HRESULT
WINAPI
DllGetClassObject
(
REFCLSID
rclsid
,
REFIID
riid
,
void
**
ppv
)
{
TRACE
(
"(%s, %s, %p): stub
\n
"
,
debugstr_guid
(
rclsid
),
debugstr_guid
(
riid
),
ppv
);
...
...
dlls/d3dxof/main.c
View file @
bd6b5374
...
...
@@ -220,14 +220,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
}
/***********************************************************************
* DllCanUnloadNow (D3DXOF.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer (D3DXOF.@)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
...
...
dlls/davclnt/davclnt.spec
View file @
bd6b5374
...
...
@@ -5,7 +5,7 @@
@ stub DavInvalidateCache
@ stdcall DavRegisterAuthCallback(ptr long)
@ stdcall DavUnregisterAuthCallback(long)
@ st
ub DllCanUnloadNow
@ st
dcall -private DllCanUnloadNow()
@ stub DllGetClassObject
@ stdcall -private DllMain(long long ptr)
@ stub NPAddConnection3
...
...
dlls/dcomp/dcomp.spec
View file @
bd6b5374
...
...
@@ -18,7 +18,7 @@
@ stdcall DCompositionCreateDevice(ptr ptr ptr)
@ stub DCompositionCreateSurfaceHandle
@ stub DeserializeEffectDescription
@ st
ub DllCanUnloadNow
@ st
dcall -private DllCanUnloadNow()
@ stub DllGetActivationFactory
@ stub DllGetClassObject
@ stub DwmEnableMMCSS
...
...
dlls/ddraw/main.c
View file @
bd6b5374
...
...
@@ -778,21 +778,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, void **out)
}
/*******************************************************************************
* DllCanUnloadNow [DDRAW.@] Determines whether the DLL is in use.
*
* RETURNS
* Success: S_OK
* Failure: S_FALSE
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
TRACE
(
"
\n
"
);
return
S_FALSE
;
}
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
return
__wine_register_resources
(
instance
);
...
...
dlls/ddrawex/main.c
View file @
bd6b5374
...
...
@@ -207,15 +207,6 @@ static HRESULT ddrawex_factory_create(IUnknown *outer_unknown, REFIID riid, void
}
/*******************************************************************************
* DllCanUnloadNow [DDRAWEX.@] Determines whether the DLL is in use.
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/*******************************************************************************
* DllGetClassObject [DDRAWEX.@]
*/
HRESULT
WINAPI
DllGetClassObject
(
REFCLSID
rclsid
,
REFIID
riid
,
void
**
out
)
...
...
dlls/dhtmled.ocx/main.c
View file @
bd6b5374
...
...
@@ -137,15 +137,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID clsid, REFIID iid, LPVOID *out)
}
/***********************************************************************
* DllCanUnloadNow (dhtmled.ocx.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
TRACE
(
"()
\n
"
);
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer (dhtmled.ocx.@)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
...
...
dlls/dinput/dinput_main.c
View file @
bd6b5374
...
...
@@ -1665,14 +1665,6 @@ static const IClassFactoryVtbl DICF_Vtbl = {
static
IClassFactoryImpl
DINPUT_CF
=
{{
&
DICF_Vtbl
},
1
};
/***********************************************************************
* DllCanUnloadNow (DINPUT.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllGetClassObject (DINPUT.@)
*/
HRESULT
WINAPI
DllGetClassObject
(
REFCLSID
rclsid
,
REFIID
riid
,
LPVOID
*
ppv
)
...
...
dlls/directmanipulation/directmanipulation.c
View file @
bd6b5374
...
...
@@ -57,11 +57,6 @@ HRESULT WINAPI DllUnregisterServer(void)
return
__wine_unregister_resources
(
dm_instance
);
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
struct
directmanipulation
{
...
...
dlls/dpnet/dpnet_main.c
View file @
bd6b5374
...
...
@@ -158,14 +158,6 @@ static IClassFactoryImpl DPNET_CFS[] = {
};
/***********************************************************************
* DllCanUnloadNow (DPNET.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllGetClassObject (DPNET.@)
*/
HRESULT
WINAPI
DllGetClassObject
(
REFCLSID
rclsid
,
REFIID
riid
,
LPVOID
*
ppv
)
...
...
dlls/dpnhpast/main.c
View file @
bd6b5374
...
...
@@ -51,17 +51,6 @@ HRESULT WINAPI DllRegisterServer(void)
/******************************************************************
* DllCanUnloadNow (DPNHPAST.@)
*
*
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/******************************************************************
* DllGetClassObject (DPNHPAST.@)
*
*
...
...
dlls/dpvoice/main.c
View file @
bd6b5374
...
...
@@ -143,11 +143,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, void **ppv)
return
CLASS_E_CLASSNOTAVAILABLE
;
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
return
__wine_register_resources
(
DPVOICE_hInstance
);
...
...
dlls/dsdmo/main.c
View file @
bd6b5374
...
...
@@ -914,11 +914,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID clsid, REFIID iid, void **out)
return
CLASS_E_CLASSNOTAVAILABLE
;
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
TRACE
(
"()
\n
"
);
...
...
dlls/dsound/dsound_main.c
View file @
bd6b5374
...
...
@@ -760,19 +760,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
}
/*******************************************************************************
* DllCanUnloadNow [DSOUND.4]
* Determines whether the DLL is in use.
*
* RETURNS
* Can unload now: S_OK
* Cannot unload now (the DLL is still active): S_FALSE
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
#define INIT_GUID(guid, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
guid.Data1 = l; guid.Data2 = w1; guid.Data3 = w2; \
guid.Data4[0] = b1; guid.Data4[1] = b2; guid.Data4[2] = b3; \
...
...
dlls/dsquery/main.c
View file @
bd6b5374
...
...
@@ -215,14 +215,6 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, void *reserved)
}
/***********************************************************************
* DllCanUnloadNow (DSQUERY.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllGetClassObject (DSQUERY.@)
*/
HRESULT
WINAPI
DllGetClassObject
(
REFCLSID
rclsid
,
REFIID
riid
,
void
**
out
)
...
...
dlls/dsuiext/dsuiext.c
View file @
bd6b5374
...
...
@@ -321,8 +321,3 @@ HRESULT WINAPI DllGetClassObject(REFCLSID clsid, REFIID iid, LPVOID *obj)
FIXME
(
"class %s/%s is not implemented
\n
"
,
debugstr_guid
(
clsid
),
debugstr_guid
(
iid
));
return
CLASS_E_CLASSNOTAVAILABLE
;
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
dlls/dx8vb/main.c
View file @
bd6b5374
...
...
@@ -179,11 +179,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, void **ppv)
return
S_OK
;
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
return
__wine_register_resources
(
instance_dx8vb
);
...
...
dlls/evr/main.c
View file @
bd6b5374
...
...
@@ -181,11 +181,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, void **ppv)
return
S_OK
;
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
return
__wine_register_resources
(
instance_evr
);
...
...
dlls/gameux/main.c
View file @
bd6b5374
...
...
@@ -37,11 +37,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(gameux);
static
HINSTANCE
instance
;
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
BOOL
WINAPI
DllMain
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
lpv
)
{
TRACE
(
"(%p, %d, %p)
\n
"
,
hInstDLL
,
fdwReason
,
lpv
);
...
...
dlls/hlink/hlink_main.c
View file @
bd6b5374
...
...
@@ -58,14 +58,6 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
}
/***********************************************************************
* DllCanUnloadNow (HLINK.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* HlinkCreateFromMoniker (HLINK.@)
*/
HRESULT
WINAPI
HlinkCreateFromMoniker
(
IMoniker
*
pimkTrgt
,
LPCWSTR
pwzLocation
,
...
...
dlls/hnetcfg/hnetcfg.c
View file @
bd6b5374
...
...
@@ -166,11 +166,6 @@ HRESULT WINAPI DllGetClassObject( REFCLSID rclsid, REFIID iid, LPVOID *ppv )
return
IClassFactory_QueryInterface
(
cf
,
iid
,
ppv
);
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer (HNETCFG.@)
*/
...
...
dlls/inetcomm/inetcomm_main.c
View file @
bd6b5374
...
...
@@ -210,14 +210,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv)
}
/***********************************************************************
* DllCanUnloadNow (INETCOMM.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer (INETCOMM.@)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
...
...
dlls/infosoft/infosoft_main.c
View file @
bd6b5374
...
...
@@ -147,11 +147,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv)
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer (INFOSOFT.@)
*/
...
...
dlls/inkobj/inkobj.c
View file @
bd6b5374
...
...
@@ -19,16 +19,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
inkobj
);
static
LONG
INKOBJ_refCount
;
/*****************************************************
* DllCanUnloadNow (INKOBJ.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
(
INKOBJ_refCount
!=
0
)
?
S_FALSE
:
S_OK
;
}
/*****************************************************
* DllGetClassObject [INKOBJ.@]
*/
...
...
dlls/inseng/inseng_main.c
View file @
bd6b5374
...
...
@@ -385,14 +385,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv)
}
/***********************************************************************
* DllCanUnloadNow (INSENG.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer (INSENG.@)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
...
...
dlls/itircl/itircl_main.c
View file @
bd6b5374
...
...
@@ -44,11 +44,3 @@ HRESULT WINAPI DllUnregisterServer(void)
FIXME
(
"stub
\n
"
);
return
S_FALSE
;
}
/***********************************************************************
* DllCanUnloadNow (ITIRCL.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
dlls/ksproxy.ax/ksproxy.ax.spec
View file @
bd6b5374
@ st
ub DllCanUnloadNow
@ st
dcall -private DllCanUnloadNow()
@ stub DllGetClassObject
@ stub DllRegisterServer
@ stub DllUnregisterServer
...
...
dlls/mapistub/mapistub.spec
View file @
bd6b5374
...
...
@@ -17,7 +17,7 @@
25 stub LAUNCHWIZARD
26 stub LaunchWizard@20
27 stub DllGetClassObject
28 st
ub DllCanUnloadNow
28 st
dcall -private DllCanUnloadNow()
29 stub MAPIOpenFormMgr
30 stub MAPIOpenFormMgr@8
31 stdcall MAPIOpenLocalFormContainer(ptr) mapi32.MAPIOpenLocalFormContainer
...
...
dlls/mf/main.c
View file @
bd6b5374
...
...
@@ -1048,14 +1048,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, void **obj)
return
CLASS_E_CLASSNOTAVAILABLE
;
}
/******************************************************************
* DllCanUnloadNow (mf.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer (mf.@)
*/
...
...
dlls/mfmediaengine/main.c
View file @
bd6b5374
...
...
@@ -2028,8 +2028,3 @@ HRESULT WINAPI DllGetClassObject(REFCLSID clsid, REFIID riid, void **obj)
*
obj
=
NULL
;
return
CLASS_E_CLASSNOTAVAILABLE
;
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
dlls/mfplay/mfplay.spec
View file @
bd6b5374
@ st
ub DllCanUnloadNow
@ st
dcall -private DllCanUnloadNow()
@ stub DllGetClassObject
@ stub DllRegisterServer
@ stub DllUnregisterServer
...
...
dlls/mfreadwrite/reader.c
View file @
bd6b5374
...
...
@@ -59,11 +59,6 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
return
TRUE
;
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
return
__wine_register_resources
(
mfinstance
);
...
...
dlls/mmcndmgr/mmcndmgr.c
View file @
bd6b5374
...
...
@@ -166,11 +166,6 @@ HRESULT WINAPI DllUnregisterServer(void)
return
__wine_unregister_resources
(
MMC_hInstance
);
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
TRACE
(
"(%p, %d, %p)
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
...
...
dlls/mmdevapi/main.c
View file @
bd6b5374
...
...
@@ -173,11 +173,6 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
return
TRUE
;
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
typedef
HRESULT
(
*
FnCreateInstance
)(
REFIID
riid
,
LPVOID
*
ppobj
);
typedef
struct
{
...
...
dlls/mp3dmod/mp3dmod.c
View file @
bd6b5374
...
...
@@ -678,14 +678,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID clsid, REFIID iid, void **obj)
return
CLASS_E_CLASSNOTAVAILABLE
;
}
/******************************************************************
* DllCanUnloadNow (DSDMO.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer (DSDMO.@)
*/
...
...
dlls/msado15/main.c
View file @
bd6b5374
...
...
@@ -151,14 +151,6 @@ HRESULT WINAPI DllGetClassObject( REFCLSID clsid, REFIID iid, void **obj )
return
IClassFactory_QueryInterface
(
cf
,
iid
,
obj
);
}
/******************************************************************
* DllCanUnloadNow
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer
*/
...
...
dlls/mscms/mscms.spec
View file @
bd6b5374
...
...
@@ -34,7 +34,7 @@
@ stub DeviceRenameEvent
@ stdcall DisassociateColorProfileFromDeviceA(str str str)
@ stdcall DisassociateColorProfileFromDeviceW(wstr wstr wstr)
#@ stub DllCanUnloadNow
@ stdcall -private DllCanUnloadNow()
#@ stub DllGetClassObject
@ stdcall EnumColorProfilesA(str ptr ptr ptr ptr)
@ stdcall EnumColorProfilesW(wstr ptr ptr ptr ptr)
...
...
dlls/mscoree/mscoree_main.c
View file @
bd6b5374
...
...
@@ -891,11 +891,6 @@ HRESULT WINAPI DllUnregisterServer(void)
return
__wine_unregister_resources
(
MSCOREE_hInstance
);
}
HRESULT
WINAPI
DllCanUnloadNow
(
VOID
)
{
return
S_FALSE
;
}
void
WINAPI
CoEEShutDownCOM
(
void
)
{
FIXME
(
"stub.
\n
"
);
...
...
dlls/msctf/msctf.c
View file @
bd6b5374
...
...
@@ -568,14 +568,6 @@ BOOL WINAPI DllMain(HINSTANCE hinst, DWORD fdwReason, LPVOID fImpLoad)
return
TRUE
;
}
/*************************************************************************
* DllCanUnloadNow (MSCTF.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllGetClassObject (MSCTF.@)
*/
...
...
dlls/msdrm/msdrm.spec
View file @
bd6b5374
...
...
@@ -82,7 +82,7 @@
@ stub DRMSetRevocationPoint
@ stub DRMSetUsagePolicy
@ stub DRMVerify
@ st
ub DllCanUnloadNow
@ st
dcall -private DllCanUnloadNow()
@ stub DllGetClassObject
@ stub DllRegisterServer
@ stub DllUnregisterServer
...
...
dlls/mshtml/main.c
View file @
bd6b5374
...
...
@@ -490,16 +490,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
return
CLASS_E_CLASSNOTAVAILABLE
;
}
/******************************************************************
* DllCanUnloadNow (MSHTML.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
TRACE
(
"()
\n
"
);
/* The cost of keeping this DLL in memory is small. */
return
S_FALSE
;
}
/***********************************************************************
* RunHTMLApplication (MSHTML.@)
*
...
...
dlls/msident/msident.c
View file @
bd6b5374
...
...
@@ -307,14 +307,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
}
/***********************************************************************
* DllCanUnloadNow (msident.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer (msident.@)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
...
...
dlls/msimtf/main.c
View file @
bd6b5374
...
...
@@ -144,14 +144,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
return
CLASS_E_CLASSNOTAVAILABLE
;
}
/******************************************************************
* DllCanUnloadNow (msimtf.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer (msimtf.@)
*/
...
...
dlls/msisys.ocx/msisys.c
View file @
bd6b5374
...
...
@@ -33,18 +33,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(msisys);
/***********************************************************************
* DllCanUnloadNow (MSISYS.@)
*
* RETURNS
* Success: S_OK
* Failure: S_FALSE
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllGetClassObject (MSISYS.@)
*/
HRESULT
WINAPI
DllGetClassObject
(
REFCLSID
pclsid
,
REFIID
piid
,
LPVOID
*
ppv
)
...
...
dlls/msscript.ocx/msscript.c
View file @
bd6b5374
...
...
@@ -4090,15 +4090,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
}
/***********************************************************************
* DllCanUnloadNow (msscript.ocx.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
TRACE
(
"
\n
"
);
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer (msscript.ocx.@)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
...
...
dlls/mstask/mstask.spec
View file @
bd6b5374
...
...
@@ -12,8 +12,8 @@
@ stub SASetNSAccountInformation
@ stub SetNetScheduleAccountInformation
@ stub _ConvertAtJobsToTasks@0
@ st
ub _DllCanUnloadNow@0
@ st
ub _DllGetClassObject@12
@ st
dcall -private _DllCanUnloadNow@0() DllCanUnloadNow
@ st
dcall -private _DllGetClassObject@12(ptr ptr ptr) DllGetClassObject
@ stub _GetNetScheduleAccountInformation@12
@ stdcall _NetrJobAdd@12(wstr ptr ptr) NetrJobAdd_wrapper
@ stdcall _NetrJobDel@12(wstr long long) NetrJobDel_wrapper
...
...
dlls/msxml/main.c
View file @
bd6b5374
...
...
@@ -39,14 +39,6 @@ BOOL WINAPI DllMain(HINSTANCE hinstance, DWORD reason, LPVOID reserved)
}
/***********************************************************************
* DllCanUnloadNow (MSXML.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer (MSXML.@)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
...
...
dlls/msxml2/main.c
View file @
bd6b5374
...
...
@@ -39,14 +39,6 @@ BOOL WINAPI DllMain(HINSTANCE hinstance, DWORD reason, LPVOID reserved)
}
/***********************************************************************
* DllCanUnloadNow (MSXML2.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer (MSXML2.@)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
...
...
dlls/msxml3/main.c
View file @
bd6b5374
...
...
@@ -418,12 +418,6 @@ const CLSID* SchemaCache_version(MSXML_VERSION v)
}
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
BOOL
WINAPI
DllMain
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
reserved
)
{
MSXML_hInstance
=
hInstDLL
;
...
...
dlls/msxml4/main.c
View file @
bd6b5374
...
...
@@ -26,11 +26,6 @@
static
HINSTANCE
instance
;
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstance
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
...
...
dlls/msxml6/main.c
View file @
bd6b5374
...
...
@@ -26,11 +26,6 @@
static
HINSTANCE
instance
;
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstance
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
...
...
dlls/netcfgx/main.c
View file @
bd6b5374
...
...
@@ -166,8 +166,3 @@ HRESULT WINAPI DllUnregisterServer(void)
{
return
__wine_unregister_resources
(
NETCFGX_hInstance
);
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
dlls/netprofm/main.c
View file @
bd6b5374
...
...
@@ -132,14 +132,6 @@ HRESULT WINAPI DllGetClassObject( REFCLSID rclsid, REFIID iid, LPVOID *ppv )
}
/***********************************************************************
* DllCanUnloadNow (NETPROFM.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer (NETPROFM.@)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
...
...
dlls/oleaut32/oleaut.c
View file @
bd6b5374
...
...
@@ -1080,22 +1080,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv)
return
OLEAUTPS_DllGetClassObject
(
rclsid
,
iid
,
ppv
);
}
/***********************************************************************
* DllCanUnloadNow (OLEAUT32.@)
*
* Determine if this dll can be unloaded from the callers address space.
*
* PARAMS
* None.
*
* RETURNS
* Always returns S_FALSE. This dll cannot be unloaded.
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/*****************************************************************************
* DllMain [OLEAUT32.@]
*/
...
...
dlls/oledb32/main.c
View file @
bd6b5374
...
...
@@ -166,14 +166,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, void **obj)
return
CLASS_E_CLASSNOTAVAILABLE
;
}
/******************************************************************
* DllCanUnloadNow
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer
*/
...
...
dlls/olepro32/olepro32stubs.c
View file @
bd6b5374
...
...
@@ -49,14 +49,6 @@ HRESULT WINAPI DllRegisterServer(void)
}
/***********************************************************************
* DllCanUnloadNow (OLEPRO32.255)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllGetClassObject (OLEPRO32.@)
*/
HRESULT
WINAPI
DllGetClassObject
(
REFCLSID
rclsid
,
REFIID
riid
,
LPVOID
*
ppv
)
...
...
dlls/opcservices/factory.c
View file @
bd6b5374
...
...
@@ -482,11 +482,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID clsid, REFIID iid, void **out)
return
E_NOTIMPL
;
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
static
HINSTANCE
OPC_hInstance
;
BOOL
WINAPI
DllMain
(
HINSTANCE
hInstDLL
,
DWORD
reason
,
void
*
reserved
)
...
...
dlls/packager/packager_main.c
View file @
bd6b5374
...
...
@@ -648,11 +648,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID clsid, REFIID iid, void **obj)
return
CLASS_E_CLASSNOTAVAILABLE
;
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_OK
;
}
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
return
__wine_register_resources
(
g_instance
);
...
...
dlls/photometadatahandler/photometadatahandler.spec
View file @
bd6b5374
@ st
ub DllCanUnloadNow
@ st
dcall -private DllCanUnloadNow()
@ stub DllGetClassObject
@ stub DllRegisterServer
@ stub DllUnregisterServer
dlls/printui/printui.spec
View file @
bd6b5374
@ stub ConnectToPrinterDlg
@ stub ConnectToPrinterPropertyPage
@ stub ConstructPrinterFriendlyName
@ st
ub DllCanUnloadNow
@ st
dcall -private DllCanUnloadNow()
@ stub DllGetClassObject
@ stub DocumentPropertiesWrap
@ stub PnPInterface
...
...
dlls/prntvpt/prntvpt.spec
View file @
bd6b5374
...
...
@@ -12,7 +12,7 @@
@ stub ConvertDevModeToPrintTicketThunk
@ stub ConvertPrintTicketToDevModeThunk2
@ stub ConvertPrintTicketToDevModeThunk
@ st
ub DllCanUnloadNow
@ st
dcall -private DllCanUnloadNow()
@ stub DllGetClassObject
@ stdcall -private DllMain(long long ptr)
@ stub DllRegisterServer
...
...
dlls/propsys/propsys_main.c
View file @
bd6b5374
...
...
@@ -130,11 +130,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
return
CLASS_E_CLASSNOTAVAILABLE
;
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
static
HRESULT
WINAPI
propsys_QueryInterface
(
IPropertySystem
*
iface
,
REFIID
riid
,
void
**
obj
)
{
*
obj
=
NULL
;
...
...
dlls/pstorec/pstorec.c
View file @
bd6b5374
...
...
@@ -375,8 +375,3 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv)
FIXME
(
"%s %s %p
\n
"
,
debugstr_guid
(
rclsid
),
debugstr_guid
(
iid
),
ppv
);
return
CLASS_E_CLASSNOTAVAILABLE
;
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
dlls/qasf/qasf_main.c
View file @
bd6b5374
...
...
@@ -128,11 +128,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID clsid, REFIID iid, void **out)
return
CLASS_E_CLASSNOTAVAILABLE
;
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
return
__wine_register_resources
(
qasf_instance
);
...
...
dlls/qdvd/qdvd_main.c
View file @
bd6b5374
...
...
@@ -134,8 +134,3 @@ HRESULT WINAPI DllUnregisterServer(void)
{
return
__wine_unregister_resources
(
qdvd_instance
);
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
dlls/qedit/main.c
View file @
bd6b5374
...
...
@@ -139,14 +139,6 @@ static const IClassFactoryVtbl DSCF_Vtbl =
};
/***********************************************************************
* DllCanUnloadNow (QEDIT.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/*******************************************************************************
* DllGetClassObject [QEDIT.@]
* Retrieves class object from a DLL object
...
...
dlls/query/query_main.c
View file @
bd6b5374
...
...
@@ -46,11 +46,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv)
return
CLASS_E_CLASSNOTAVAILABLE
;
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
FIXME
(
"
\n
"
);
...
...
dlls/sapi/main.c
View file @
bd6b5374
...
...
@@ -157,15 +157,6 @@ BOOL WINAPI DllMain( HINSTANCE dll, DWORD reason, LPVOID reserved )
return
TRUE
;
}
/******************************************************************
* DllCanUnloadNow
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
TRACE
(
"()
\n
"
);
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer
*/
...
...
dlls/scrobj/scrobj.c
View file @
bd6b5374
...
...
@@ -2550,11 +2550,3 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, void **ppv)
FIXME
(
"%s %s %p
\n
"
,
debugstr_guid
(
rclsid
),
debugstr_guid
(
riid
),
ppv
);
return
CLASS_E_CLASSNOTAVAILABLE
;
}
/***********************************************************************
* DllCanUnloadNow (scrobj.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
dlls/scrrun/scrrun.c
View file @
bd6b5374
...
...
@@ -290,11 +290,3 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID* ppv)
FIXME
(
"%s %s %p
\n
"
,
debugstr_guid
(
rclsid
),
debugstr_guid
(
riid
),
ppv
);
return
CLASS_E_CLASSNOTAVAILABLE
;
}
/***********************************************************************
* DllCanUnloadNow (scrrun.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
dlls/shcore/shcore.spec
View file @
bd6b5374
...
...
@@ -3,7 +3,7 @@
@ stub CreateRandomAccessStreamOnFile
@ stub CreateRandomAccessStreamOverStream
@ stub CreateStreamOverRandomAccessStream
@ st
ub DllCanUnloadNow
@ st
dcall -private DllCanUnloadNow()
@ stub DllGetActivationFactory
@ stub DllGetClassObject
@ stdcall GetCurrentProcessExplicitAppUserModelID(ptr)
...
...
dlls/shell32/shell32_main.c
View file @
bd6b5374
...
...
@@ -1170,14 +1170,6 @@ HRESULT WINAPI DllInstall(BOOL bInstall, LPCWSTR cmdline)
}
/***********************************************************************
* DllCanUnloadNow (SHELL32.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer (SHELL32.@)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
...
...
dlls/sti/sti_main.c
View file @
bd6b5374
...
...
@@ -159,14 +159,6 @@ HRESULT WINAPI DllGetClassObject( REFCLSID rclsid, REFIID iid, LPVOID *ppv )
return
STI_DllGetClassObject
(
rclsid
,
iid
,
ppv
);
}
/******************************************************************************
* DllCanUnloadNow (STI.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer (STI.@)
*/
...
...
dlls/taskschd/taskschd.c
View file @
bd6b5374
...
...
@@ -154,14 +154,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *obj)
}
/***********************************************************************
* DllCanUnloadNow
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
...
...
dlls/uianimation/main.c
View file @
bd6b5374
...
...
@@ -1199,15 +1199,6 @@ HRESULT WINAPI DllGetClassObject( REFCLSID clsid, REFIID iid, void **obj )
return
IClassFactory_QueryInterface
(
cf
,
iid
,
obj
);
}
/******************************************************************
* DllCanUnloadNow
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
TRACE
(
"()
\n
"
);
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer
*/
...
...
dlls/uiautomationcore/uiautomationcore.spec
View file @
bd6b5374
@ st
ub DllCanUnloadNow
@ st
dcall -private DllCanUnloadNow()
@ stub DllGetClassObject
@ stub DllRegisterServer
@ stub DllUnregisterServer
...
...
dlls/uiribbon/main.c
View file @
bd6b5374
...
...
@@ -197,11 +197,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, void **ppv)
return
S_OK
;
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
return
__wine_register_resources
(
instance
);
...
...
dlls/vbscript/vbscript_main.c
View file @
bd6b5374
...
...
@@ -303,14 +303,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
}
/***********************************************************************
* DllCanUnloadNow (vbscript.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer (vbscript.@)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
...
...
dlls/vssapi/vssapi.spec
View file @
bd6b5374
...
...
@@ -80,7 +80,7 @@
@ stub CreateVssExpressWriterInternal
@ stub CreateWriter
@ stub CreateWriterEx
@ st
ub DllCanUnloadNow
@ st
dcall -private DllCanUnloadNow()
@ stub DllGetClassObject
@ stub GetProviderMgmtInterface
@ stub GetProviderMgmtInterfaceInternal
...
...
dlls/wbemdisp/main.c
View file @
bd6b5374
...
...
@@ -297,14 +297,6 @@ HRESULT WINAPI DllGetClassObject( REFCLSID rclsid, REFIID iid, LPVOID *obj )
}
/***********************************************************************
* DllCanUnloadNow (WBEMDISP.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer (WBEMDISP.@)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
...
...
dlls/wbemprox/main.c
View file @
bd6b5374
...
...
@@ -149,14 +149,6 @@ HRESULT WINAPI DllGetClassObject( REFCLSID rclsid, REFIID iid, LPVOID *ppv )
}
/***********************************************************************
* DllCanUnloadNow (WBEMPROX.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer (WBEMPROX.@)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
...
...
dlls/wimgapi/wimgapi.spec
View file @
bd6b5374
@ st
ub -private DllCanUnloadNow
@ st
dcall -private DllCanUnloadNow()
@ stdcall -private DllMain(long long ptr)
@ stub WIMApplyImage
@ stub WIMCaptureImage
...
...
dlls/windows.gaming.input/main.c
View file @
bd6b5374
...
...
@@ -632,11 +632,6 @@ static struct windows_gaming_input windows_gaming_input =
1
};
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
HRESULT
WINAPI
DllGetClassObject
(
REFCLSID
clsid
,
REFIID
riid
,
void
**
out
)
{
FIXME
(
"clsid %s, riid %s, out %p stub!
\n
"
,
debugstr_guid
(
clsid
),
debugstr_guid
(
riid
),
out
);
...
...
dlls/windows.globalization/main.c
View file @
bd6b5374
...
...
@@ -459,11 +459,6 @@ static struct windows_globalization windows_globalization =
0
};
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
HRESULT
WINAPI
DllGetClassObject
(
REFCLSID
clsid
,
REFIID
riid
,
void
**
out
)
{
FIXME
(
"clsid %s, riid %s, out %p stub!
\n
"
,
debugstr_guid
(
clsid
),
debugstr_guid
(
riid
),
out
);
...
...
dlls/windows.media.devices/main.c
View file @
bd6b5374
...
...
@@ -368,11 +368,6 @@ static struct windows_media_devices windows_media_devices =
1
};
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
HRESULT
WINAPI
DllGetClassObject
(
REFCLSID
clsid
,
REFIID
riid
,
void
**
out
)
{
FIXME
(
"clsid %s, riid %s, out %p stub!
\n
"
,
debugstr_guid
(
clsid
),
debugstr_guid
(
riid
),
out
);
...
...
dlls/windows.media.speech/main.c
View file @
bd6b5374
...
...
@@ -355,11 +355,6 @@ static struct windows_media_speech windows_media_speech =
1
};
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
HRESULT
WINAPI
DllGetClassObject
(
REFCLSID
clsid
,
REFIID
riid
,
void
**
out
)
{
FIXME
(
"clsid %s, riid %s, out %p stub!
\n
"
,
debugstr_guid
(
clsid
),
debugstr_guid
(
riid
),
out
);
...
...
dlls/windowscodecs/main.c
View file @
bd6b5374
...
...
@@ -51,11 +51,6 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
return
WIC_DllMain
(
hinstDLL
,
fdwReason
,
lpvReserved
);
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
HRESULT
get_pixelformat_bpp
(
const
GUID
*
pixelformat
,
UINT
*
bpp
)
{
HRESULT
hr
;
...
...
dlls/winecrt0/Makefile.in
View file @
bd6b5374
...
...
@@ -5,6 +5,7 @@ C_SRCS = \
crt_fltused.c
\
debug.c
\
delay_load.c
\
dll_canunload.c
\
dll_main.c
\
exception.c
\
exe16_entry.c
\
...
...
dlls/winecrt0/dll_canunload.c
0 → 100644
View file @
bd6b5374
/*
* DllCanUnloadNow default implementation
*
* Copyright 2021 Alexandre Julliard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <stdarg.h>
#define COBJMACROS
#include "windef.h"
#include "winbase.h"
#include "objbase.h"
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
dlls/wineqtdecoder/main.c
View file @
bd6b5374
...
...
@@ -255,9 +255,3 @@ HRESULT WINAPI DllUnregisterServer(void)
IFilterMapper2_Release
(
mapper
);
return
S_OK
;
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
TRACE
(
".
\n
"
);
return
S_FALSE
;
}
dlls/winhttp/main.c
View file @
bd6b5374
...
...
@@ -156,14 +156,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
return
IClassFactory_QueryInterface
(
cf
,
riid
,
ppv
);
}
/******************************************************************
* DllCanUnloadNow (winhttp.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer (winhttp.@)
*/
...
...
dlls/wmiutils/main.c
View file @
bd6b5374
...
...
@@ -144,14 +144,6 @@ HRESULT WINAPI DllGetClassObject( REFCLSID rclsid, REFIID iid, LPVOID *ppv )
}
/***********************************************************************
* DllCanUnloadNow (WMIUTILS.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer (WMIUTILS.@)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
...
...
dlls/wmp/wmp_main.c
View file @
bd6b5374
...
...
@@ -178,15 +178,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
}
/***********************************************************************
* DllCanUnloadNow (wmp.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
TRACE
(
"
\n
"
);
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer (wmp.@)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
...
...
dlls/wmphoto/main.c
View file @
bd6b5374
...
...
@@ -140,11 +140,6 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
return
TRUE
;
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
HRESULT
WINAPI
DllGetClassObject
(
REFCLSID
clsid
,
REFIID
iid
,
LPVOID
*
out
)
{
struct
class_factory
*
factory
;
...
...
dlls/wpc/wpc.c
View file @
bd6b5374
...
...
@@ -190,15 +190,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, void **ppv)
}
/***********************************************************************
* DllCanUnloadNow (wpc.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
TRACE
(
"
\n
"
);
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer (wpc.@)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
...
...
dlls/wshom.ocx/wshom_main.c
View file @
bd6b5374
...
...
@@ -250,14 +250,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
}
/***********************************************************************
* DllCanUnloadNow (wshom.ocx.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer (wshom.ocx.@)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
...
...
dlls/wuapi/main.c
View file @
bd6b5374
...
...
@@ -153,11 +153,6 @@ HRESULT WINAPI DllGetClassObject( REFCLSID rclsid, REFIID iid, LPVOID *ppv )
return
IClassFactory_QueryInterface
(
cf
,
iid
,
ppv
);
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer (WUAPI.@)
*/
...
...
dlls/xactengine3_7/xact_dll.c
View file @
bd6b5374
...
...
@@ -1477,11 +1477,6 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD reason, void *pReserved)
return
TRUE
;
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
HRESULT
WINAPI
DllGetClassObject
(
REFCLSID
rclsid
,
REFIID
riid
,
void
**
ppv
)
{
if
(
IsEqualGUID
(
rclsid
,
&
CLSID_XACTEngine
))
...
...
dlls/xaudio2_7/xaudio_dll.c
View file @
bd6b5374
...
...
@@ -98,11 +98,6 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD reason, void *pReserved)
return
TRUE
;
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
TRACE
(
"
\n
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment