Link to home
Start Free TrialLog in
Avatar of GNVS Sudhakar
GNVS Sudhakar

asked on

how to access a variable in windows device drivers across modules

I have 2 .sys files. A variable defined in 1 .sys file needs to be accessed in another .sys file. I am looking at the simplest of the solution: something like importsymbol by name. Is it possible? In case so, how? Thanks.
Avatar of Amitabh Singh
Amitabh Singh
Flag of India image

hi
set the value in environment variable by set command (for more info type "set /?" in cmd)  then read that environment variable when need them via %variable%
Avatar of GNVS Sudhakar
GNVS Sudhakar

ASKER

These are load time drivers. So no shared environment.
ASKER CERTIFIED SOLUTION
Avatar of GNVS Sudhakar
GNVS Sudhakar

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
researched.