Welcome to Microsoft Q&A.
Referring to the document, you need to note the
broadFileSystemAccess capability works for APIs in the Windows.Storage namespace.
In my side, I use
_wfopen_s to replace
_wfopen is deprecated and we are suggested to use
_wfopen_s instead. I check the value of
errno_t by using _get_error method, the result is 13 which represents
We suggest you use StorageFile.GetFileFromPathAsync method under Windows.Storage namespace to get a
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.