Adding and Using Resources in the Windows Driver

Is it possible for a Windows driver to have resources? If so, how can I add them and, more importantly, access them?

+2


source to share


1 answer


I only add the version info drivers. Just add the rc file to your sources.

SOURCES = ver.rc \
          main.cpp

      



If you want to access your driver's resources, I can suggest getting the base address of the driver and using IMAGE_DOS_HEADER / IMAGE_NT_HEADERS / DataDirectory to find the resources.

+3


source







All Articles