Basically microsoft ships its own 'appdb' which contains the windows version an app wants to see and in general much, much more things. For instance their appdb allows windows to override the return values of functions, it can fake the presence of certain files/directories/registry keys, it can perform memory hacks and so on.