> I am writing a project using TDI. I am a very newbie on this topic.
After seeing a lot of blue screens, I have finally
made a connection. But When I try to actually send something
my machine crashes with a PFN_LIST_CORRUPT stop message.
Probably memory corruption.
NTSTATUS MyTdiSend( PRAMDISK_EXTENSION pExtension )
{
KIRQL irql = KeGetCurrentIrql();
if(irql > PASSIVE_LEVEL) {
return STATUS_SUCCESS;
// Could not specify a lower IRQL!!!
//KeLowerIrql(PASSIVE_LEVEL);
}
?? Doing KeLowerIrql if you’re not the one who raised the Irql will result in bug check. If you can’t work
in this routine, you must queue to worker thread.
–
Kind regards, Dejan M. CEO Alfa Co. www.alfasp.com
E-mail: xxxxx@alfasp.com
ICQ#: 56570367
Professional file&system related components and libraries for Win32 developers.
Alfa File Monitor - #1 file monitoring system for Win32 developers.
Alfa File Protector - #1 file protection and hiding system for Win32 developers.
Alfa Units - #1 file and system handling units for Delphi.
You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com