RE: Calling Win32 API User mode functions from Kernel Mod e

Sure it’s possible. One example is that the kernel mode graphic system needs
to call limited amount of user mode functions with undocmented interface.
But in general, I don’t think it’s a good idea for other drivers to do this
for a lot of reasons.

Maybe you tell us what you really want to do?

Calvin Guan Software Engineer
ATI Technologies Inc. www.ati.com

-----Original Message-----
From: Manohara.K [mailto:xxxxx@sasken.com]
Sent: Tuesday, August 10, 2004 10:15 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Calling Win32 API User mode functions from
Kernel Mode

Hi All,

Just wanted to know , If its possible , If yes …to call
User Mode APIs/
Win32 APIs
from Kernel Mode/Device Drivers

regards,
Manohara


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@ati.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

RE: [ntdev] Calling Win32 API User mode functions from Kernel ModeThis answer is kinda misleading and will cast more shadow over the OP dilema then reveal an answer. Keep in mind that “I don’t think it’s a good ideea” is in fact a categorical NO - NO. Also, keep in mind that the user mode callback which you referer in your post is not a general purpose interface, and even if the correct usage is reverse engineered, it cannot be used to call an arbitrary user mode API.

Best regards, Dan

----- Original Message -----
From: Calvin Guan
To: Windows System Software Devs Interest List
Sent: Tuesday, August 10, 2004 5:25 PM
Subject: RE: [ntdev] Calling Win32 API User mode functions from Kernel Mod e

Sure it’s possible. One example is that the kernel mode graphic system needs to call limited amount of user mode functions with undocmented interface. But in general, I don’t think it’s a good idea for other drivers to do this for a lot of reasons.

Maybe you tell us what you really want to do?

Calvin Guan Software Engineer
ATI Technologies Inc. www.ati.com

-----Original Message-----
> From: Manohara.K [mailto:xxxxx@sasken.com]
> Sent: Tuesday, August 10, 2004 10:15 AM
> To: Windows System Software Devs Interest List
> Subject: [ntdev] Calling Win32 API User mode functions from
> Kernel Mode
>
>
> Hi All,
>
> Just wanted to know , If its possible , If yes …to call
> User Mode APIs/
> Win32 APIs
> from Kernel Mode/Device Drivers
>
>
> regards,
> Manohara
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@ati.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@rdsor.ro
To unsubscribe send a blank email to xxxxx@lists.osr.com