Resources | Resources |



Accessing a removable media card

Applications that need to access files on a removable media card, or save files to a card, can do the following to get information about the card:

  • Call IFileSystem2_Stat() to determine whether the card is present.
  • Call IShell_RegisterNotify() with the NMASK_DEVICENOTIFIER_MMC notifier mask to register for notification of card removal or insertion.

Note that the AEECLSID_CARD0_ACCESS privilege is required to access the card.