wtsapi: don't use freerds functions