IoBuildAsynchronousFsdRequest returns null

How will i get the error status if i got a null as the return value from the
functions IoBuildAsynchronousFsdRequest or IoBuildSynchronousFsdRequest


Regards
Rohit Gauba

“A positive thought is the seed of a positive result”

That is the error status. You will not get any more data on why the call
failed. Typically I do something like:

irp = IoBuildAsynchronousFsdRequest( … );
if ( irp == NULL )
{
status = STATUS_INSUFFICIENT_RESOURCES;
}


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply

“Rohit” wrote in message news:xxxxx@ntfsd…
> How will i get the error status if i got a null as the return value from
> the
> functions IoBuildAsynchronousFsdRequest or IoBuildSynchronousFsdRequest
>
> –
> Regards
> Rohit Gauba
>
> “A positive thought is the seed of a positive result”
>