I have a sample driver file (test.sys). I want to know the version of the .sys file. I have these questions:
I have not put in the version when I wrote the driver. So possibly it does not have any version. How do I modify the source file to attribute a version to the .sys file?
I know that this can be achieved by these ways:
1) Modifying the PE header of the .sys file. If you know this, can you elaborate how to do? If any tool is available for this?
2) Incorporating version info in the .rc (resource file) in the source code of the test driver. Can you tell me which fields to include in order to compile it successfully after attributing the version?