The short answer is, as Ray said, No.
The longer answer is that even if you could finagle the imports and effect the call (not impossible), the stuff you're calling isn't written to accommodate the environment a kernel-mode caller brings along with itself. You'd probably get a BSOD, and that would be the good outcome. The bad outcome would be damage to the process or to the OS without a BSOD.
--
James Antognini
Windows DDK Support
This posting is provided "AS IS" with no warranties, and confers no rights.
"Manohara.K" <> wrote in message news:...
Hi All,
Just wanted to know , If its possible , If yes ..how ?? .to call User Mode APIs/ Win32 APIs
from Kernel Mode/Device Drivers
regards,
Manohara
Calling Win32 API User mode functions from Kernel Mode
|