Re: Can kernel mode call Win32 API ?
- From: "Don Burn" <burn@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 6 May 2008 18:36:33 -0400
Yes, look at ZwCreateFile, ZwWriteFile, ZwReadFile and ZwClose. They are
very similar to the Win32 functions. Other ZwXXX calls may also be of
interest.
--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply
"Kid" <Kid@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3950C5BB-2DE7-40B0-BD40-EF3EB880181F@xxxxxxxxxxxxxxxx
hi Don
Can we write some text or database from kernel mode, is there any API ?
Thanks much
"Don Burn" wrote:
This has been answered many times the answer is NO. If you need a
function
that does not have a kernel mode equivalent, you either need to write
your
own or use a helper application to perform that work for the driver.
--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply
"Kid" <Kid@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:2BFDA94B-3827-4BE9-9D58-811401CE401B@xxxxxxxxxxxxxxxx
Hi
Can kernel mode driver call Win32 API function like MessageBox and
winsock
?
If I want to write a virtual driver use some Win32 API and library , is
it
possible?
Thank you .
.
- Follow-Ups:
- Re: Can kernel mode call Win32 API ?
- From: Kid
- Re: Can kernel mode call Win32 API ?
- From: Doron Holan [MSFT]
- Re: Can kernel mode call Win32 API ?
- References:
- Can kernel mode call Win32 API ?
- From: Kid
- Re: Can kernel mode call Win32 API ?
- From: Don Burn
- Re: Can kernel mode call Win32 API ?
- From: Kid
- Can kernel mode call Win32 API ?
- Prev by Date: Re: InstallHinfSection fails on Vista with "Copy Error".
- Next by Date: Re: Can kernel mode call Win32 API ?
- Previous by thread: Re: Can kernel mode call Win32 API ?
- Next by thread: Re: Can kernel mode call Win32 API ?
- Index(es):
Relevant Pages
|