Terminal Services:
If the application is running in a Terminal Services environment, each user has a private Windows directory. There is also a shared Windows directory for the system. If the application is Terminal-Services-aware (has the
IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE flag set in the image header), this function returns the path of the system Windows directory, just as the
GetSystemWindowsDirectory function does. Otherwise, it retrieves the path of the private Windows directory for the user.
Partager