Details
-
Bug
-
Resolution: Fixed
-
Major
Description
Shell operations call SHGetDesktopFolder extremely frequently. This is currently a very expensive operation because it involves an RPC call (via GetUserName) as well as registry operations.
The function should instead only create one CDesktopFolder object and return a pointer to it from repeated calls.