microsoft/Windows-classic-samples

CimFSAPI sample consistently fails when adding file with CimCreateFile

dahall opened this issue · 1 comments

This line of code consistently returns ERROR_PATH_NOT_FOUND. A review of the documentation doesn't show any misuse. Has the author had success running this code? If so, what parameters were used?

CimCreateFile(cimHandle, imageRelativePath.c_str(), &cimFileData.MetaData, &streamHandle));

Update: do not specify a directory (as suggested in readme.md) for the destination. Does author know how to make subdirs?