How cancel a IRP_MJ_CREATE ?

Hi developers,

I’m writting a Filter and have a problem.
How cancel a IRP_MJ_CREATE? and return
STATUS_ACCESS_DENIED. My filter try stop
access to my private files.

TIA,

Sander.

Tu correo gratis en MixMail http://www.mixmail.com
Inicia tu navegacion en http://www.ya.com

Hi,

if (Allowed == FALSE)
{
Irp->IoStatus.Status = STATUS_NO_SUCH_FILE;
Irp->IoStatus.Information = 0 ;
IoCompleteRequest (Irp, IO_NO_INCREMENT) ;
return STATUS_NO_SUCH_FILE;
}

That works for me.

Regards,
Graham Allen

At 09:29? 31/05/00 -1300, Brayn? Sander Garcia wrote:

Hi developers,

I’m writting a Filter and have a problem.
How cancel a IRP_MJ_CREATE? and return
STATUS_ACCESS_DENIED. My filter try stop
access to my private files.

TIA,

Sander.

Tu correo gratis en MixMail http:</http:>http://www.mixmail.com
Inicia tu navegacion en http:</http:>http://www.ya.com


You are currently subscribed to ntfsd as: xxxxx@datawizard.com.au
To unsubscribe send a blank email to $subst(‘Email.Unsub’)