problem about Pending some specified file IO

I’ve implenmented pending some specified file io,using ExInterLockXXXX.
But just before I want to process them, I will read some data from my usb
device.but fails.
how can it be?

Regards,
Ming


No one knows what tomorrow would be,
but I’ll do my best.

> I’ve implenmented pending some specified file io,using ExInterLockXXXX. But just

before I want to process them, I will read some data from my usb device.but fails.
how can it be?

ROFL:-) (Yes, I’m on holiday mood still - no I had no alcohol:-)
That’s just about as much as one can tell with so little info.
Possible causes:
IRQL
Process Context - unlikely, but possible if you read files.


Kind regards, Dejan M. MVP for DDK
http://www.alfasp.com E-mail: xxxxx@alfasp.com
Alfa Transparent File Encryptor - Transparent file encryption services.
Alfa File Protector - File protection and hiding library for Win32 developers.
Alfa File Monitor - File monitoring library for Win32 developers.

I pend the create/read/write irp of the files in one folder. When the event
occurs, just before i
start to process the pending irp, I need to read some data from my usb
device. i have communication
interfaces between my driver and the usb device driver. I build an irp,send
it to usb device driver,
and I can get the result(the addresses of the function exported by usb
device driver).But when I call
the function that exported by the usb device driver,it fails.and then,the
system hangs,no BSOD,
just like deadlock.
on the other hand, if i DO NOT pend any irp, I can call the exported
function, returning status_success.

What on earth is it?

Regards,
Ming
“Dejan Maksimovic” wrote in message news:xxxxx@ntfsd…
> > I’ve implenmented pending some specified file io,using ExInterLockXXXX.
But just
> > before I want to process them, I will read some data from my usb
device.but fails.
> > how can it be?
>
> ROFL:-) (Yes, I’m on holiday mood still - no I had no alcohol:-)
> That’s just about as much as one can tell with so little info.
> Possible causes:
> IRQL
> Process Context - unlikely, but possible if you read files.
>
> –
> Kind regards, Dejan M. MVP for DDK
> http://www.alfasp.com E-mail: xxxxx@alfasp.com
> Alfa Transparent File Encryptor - Transparent file encryption services.
> Alfa File Protector - File protection and hiding library for Win32
developers.
> Alfa File Monitor - File monitoring library for Win32 developers.
>
>
>