Microsoft Developer Network > Forums Home > Windows Live Developer Forums Forums > Microsoft adCenter: Development > about drive creation and accessing that drive through driver programming
Ask a questionAsk a question
 

Answerabout drive creation and accessing that drive through driver programming

  • Tuesday, July 21, 2009 8:00 AMDivyaPola Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I have written a driver program that creates a disk(V:) with the help of the function IoCreateDevice() in which i have mentioned device type as FILE_DEVICE_DISK.
    This creates a disk like structure which can be seen in MyComputer , but when I try to access it, it gives me a warning like

    V:\ refers to a location that is unavailable. It could be on a hard drive on this computer or on a network. check to make sure that disk is properly inserted or that you are connected to internet or your network and then try again. If it still cannot be located, the information might have been moved to a different location.

    properties for this disk show that there is no memory allocated for it and filesystem as RAW.
    Can anybody tell me how to write a driver program to create a disk that is accessible which can be used to read and write files.
    Divya

Answers

All Replies