MCPcopy Create free account
hub / github.com/KDE/kdiff3 / DllCanUnloadNow

Function DllCanUnloadNow

diff_ext_for_kdiff3/server.cpp:97–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95
96
97STDAPI
98DllCanUnloadNow(void) {
99 HRESULT ret = S_FALSE;
100
101 if(SERVER::instance()->reference_count() == 0) {
102 ret = S_OK;
103 }
104
105 return ret;
106}
107
108extern "C" int APIENTRY
109DllMain(HINSTANCE instance, DWORD reason, LPVOID /* reserved */) {

Callers

nothing calls this directly

Calls 1

reference_countMethod · 0.80

Tested by

no test coverage detected