createFile() with driver Name or GUID

Hi, All,

I installed my device driver. I failed in opening the
driver by using createfile(“\\.\mydriver”, …). Using
devview( a tool, like regdt32, from walton Oney’s CD) , I can see the
driver name in driver category, but in
“dosdevice” category, I only see the driver with GUID. If I open the
driver with this GUID in createfile(“\\.\{4D36E972…}”, …), it
returned successfully. Is anything missing in .INF file? How can I give
a user-friendly name to the driver so that I can open it with the
name instead of the long GUID in createFile()? Any suggestion is
appreciated

Thanks in advance.

Best Regards,