How to determine whether media is unformatted, formatted using LFS or formated using MFS?

Proposed How to determine whether media is unformatted, formatted using LFS or formated using MFS?

  • Donnerstag, 31. Mai 2012 09:07
     
     

    Hello,

    I am developing a desktop application that has a file export functionality.

    I am using the IMAPIv2 and am able to burn media with blank media and media formatted using the Mastered formatting option.

    However I would like to be able to determine if media have been formatted using the live file system so that I can use the standard File API to write file to the drive.

    Does anyone have a method of determining this?

    I have tried to used IFileSystemImage::IdentifyFileSystemsOnDisc method from IMAPIv2, however this returns None for both LFS and unformatted media.

    Kind regards

    Lee 

Alle Antworten

  • Montag, 11. Juni 2012 23:11
     
     Vorgeschlagene Antwort
    It's a little bit of a trick, but using File API you will be able to distinguish unformatted media from LFS as only LFS will allow you to list the root directory content.

    Senior Soft. Dev. Eng. | Microsoft IT | Microsoft Corporation

    • Als Antwort vorgeschlagen David Burg Dienstag, 12. Juni 2012 21:44
    •