Some applications obtain the shell desktop folder and invoke the Release() method too many times, resulting in the object ...

Some applications obtain the shell desktop folder and invoke the Release() method too many times, resulting in the object being destroyed prematurely. This compatibility fix invokes the AddRef() method on the desktop folder returned by the SHGetDesktopFolder function to counteract the erroneous Release().