Tom's Hardware > Forum > Windows XP > Device Driver > any example about read/write memory direct in driver?

any example about read/write memory direct in driver?

Forum Windows XP : Device Driver - any example about read/write memory direct in driver?

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: microsoft.public.windowsxp.device_driver.dev (More info?)

 

i have writed a device driver,when inside driver,i'm trying to read from
memory location 0x03233452 or another (memory address could be any), i get a
bule screen ,why? any example about read/write memory direct in driver?

os:xp sp1 xpddk

Sponsored Links
Register or log in to remove.

Archived from groups: microsoft.public.windowsxp.device_driver.dev (More info?)

 

Off the top of my head I'd say you have an illegal address, or you are
attempting to address user memory while in an arbitrary thread context. If
you really are attempting to use direct, then you need to look at
METHOD_IN/OUT_DIRECT and DO_DIRECT_IO in the DDK documentation.

--
Gary G. Little
Seagate Technologies, LLC

"xiang shifu" <xiangshifu@hotmail.com> wrote in message
news:%23f0%23vU3GEHA.2664@TK2MSFTNGP11.phx.gbl...
> i have writed a device driver,when inside driver,i'm trying to read from
> memory location 0x03233452 or another (memory address could be any), i get
a
> bule screen ,why? any example about read/write memory direct in driver?
>
> os:xp sp1 xpddk
>
>

Reply to Anonymous
Tom's Hardware > Forum > Windows XP > Device Driver > any example about read/write memory direct in driver?
Go to:

There are 1275 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them