Here is a video on how to fix GTA IV Graphics Card issue. This will make GTA IV Recognize your graphics card this works with Windows 10. What you need to make the commandline.txt file is listed below.
-availablevidmem 30.0
-norestrictions
-nomemrestrict