This compatibility shim was written to try and fix applications which fail when trying to interact with services running ...

This compatibility shim was written to try and fix applications which fail when trying to interact with services running in different sessions. In LH, a user cannot log in as Session 0 (Global Session) as against Xp. The apps which assumed to be running in Session 0 fail. It catches APIs which take terminal services name prefix(Global or Local) as there parameters. If there is a cmmand line option given to the shim with object names specified, it tries to apply Global/Local prefix to the only specified object names, else it does to everyone.