any example about read/write memory direct in driver?

Posted: 04-06-2004, 01:19 AM
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 With Quote

Responses to "any example about read/write memory direct in driver?"

Gary G. Little
Guest
Posts: n/a
 
Re: any example about read/write memory direct in driver?
Posted: 04-06-2004, 12:46 PM
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 With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
cd-rom does not read or write zulu Windows XP Device Drivers 1 02-18-2004 02:37 AM
how to write a printer driver Meng Kim Windows XP Device Drivers 1 09-23-2003 10:46 PM
cd direct device driver Cari \(MS-MVP\) Windows XP Device Drivers 0 09-12-2003 06:37 PM
Enabling Direct Memory Access Edy Windows XP Music 0 08-28-2003 09:26 PM
The Memory Could not be read adam Windows XP Hardware 0 07-18-2003 08:48 PM