How to access a file from Driver?

  • Thread starter Thread starter ramesh.kvp
  • Start date Start date
R

ramesh.kvp

Hi folks,

- In WinCE we are able to do the file handling operations such as
file_Open (fopen), file_Read (fread), file_Write (fwrite) in Driver
Itself.

-Is it possible to do a file handling operation in WDM style drivers?
Is there any API to do a file handling in WDM driver itself? .

- I use VisualStudio 6.0 for application development & Windows DDK
3790.1830 for Driver Development...

- I can't use the RtlInitUnicodeString() to initialize the Unicode
string....whats the actual format to use this..

Suggest me if anyone of you having the solutions or anyother
options...


By
Ramesh.R
 
Yes, the ZwXXX API is available for doing file I/O within a WDM driver (i.e.
ZwCreateFile etc.). If you're used to Win32 API these should be faily easy
to use. You can look them up in the DDK docs.
I didn't quite understand what problem you are experiencing with the call to
RtlInitUnicodeString(). The arguments are well documented in the DDK help
file.

Oren
 
Back
Top