Open a file with CreateFile2 failed, however it works with WinRT. RRS feed

  • Question

  • I can open and read a media file (this is a mp3-file in my music standard folder) with the WinRT classes: StorageFolder::GetFileAsync, StorageFile::OpenAsync and DataReader::LoadAsync. But with the CreateFile2 I get alwasy an error (ERROR_ACCESS_DENIED). There are any differences by CreateFile2 and WinRT?

    Monday, December 5, 2011 7:07 AM