microsoft / microsoft/Windows-classic-samples

CimFSAPI sample consistently fails when adding file with CimCreateFile

Open
#241 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
5.7k
Forks
3.3k
PR merge metrics
No merged PRs in 30d

Description

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?

https://github.com/microsoft/Windows-classic-samples/blob/6625e1af4f44263e1842919c729eb72a20d3ffb6/Samples/CimFSAPI/app.cpp#L296

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at Samples/CimFSAPI/app.cpp:296 and compare the CimCreateFile call with the linked CimFS documentation. Reproduce the ERROR_PATH_NOT_FOUND result, determine which parameters or setup cause it, and document a working invocation or correction.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.