Jacek Caban wrote:
Changelog: Implemented DllCanUnloadNow
BOOL WINAPI ITSS_DllCanUnloadNow(void)
{
- FIXME("\n");
-
- return FALSE;
+ TRACE("dll_count = %lu\n", dll_count);
+ return !dll_count;
This function should return an HRESULT, not a BOOL. This error would have been caught if it weren't for the silly ITSS_ prefix. Consequently, the return value should be either S_OK or S_FALSE depending on whether there are no or some remaining references respectively.
Rob