Get DirectX Caps
Anyone know of a way to query DirectX caps from within NSIS? I am looking for a similar output that DXCapsViewer.exe gives but I need to do some things based on whether a certain cap exists or not.
Archive: Get DirectX Caps
Get DirectX Caps
Anyone know of a way to query DirectX caps from within NSIS? I am looking for a similar output that DXCapsViewer.exe gives but I need to do some things based on whether a certain cap exists or not.
Throw DXCapsViewer.exe into depends.exe, see what API it uses, and call it using the System plug-in.
Forgive my skill level. I know about the depends.exe tool but I'm not sure how to find what I need with it. I hunted around but couldn't find an example anywhere. Can you possibly give me a bump in the right direction?
Well, you open DXCapsViewer.exe with depends.exe and look what API functions DXCapsViewer.exe uses. You then look up those functions in MSDN and read their description. One of them must querying the DX caps. It might also be useful to search MSDN for this function without going through DXCapsViewer.exe first. However, it might save you some time.
After you find that API, either write a NSIS plug-in that queries the caps, or call that API using the System plug-in.