identify folder and file in irp_mj_create

Hi friends,

I identify folder or file when i use ZwCreateFile function.here
identification is not in irp_mj_create. But I want to know how to
identify folder or file in irp_mj_create.
or any help available on osronline
kindly give me a reply.