As windiff is a GUI tool, you cannot expect the result after comparision. Even when you run windiff from command prompt, it will open the GUI and show differences for you.
If you want to open windiff GUI with files compared, use the following command:
If path where windiff.exe lies is not set, you need to give the full path of windiff.exe and pass two arguments A.txt and B.txt.