How can I enable my software to trigger cloud filter placeholder retrieval?

sysadmin 40 Reputation points
2025-12-03T02:34:54.3666667+00:00

I have a cloud filter provider which is running just fine, however I have noticed that if I programmatically traverse directories, the placeholders aren't fetched - it's only when doing it using explorer or command line.

Is there something I can do to make my software work like explorer? e.g. If I do a directory read of a folder, it should trigger the cloud filter API to actually retrieve the placeholders before returning

(Tagging you @Danny Nguyen (WICLOUD CORPORATION) because you are very knowledgeable about this subject)

Windows development | Windows API - Win32
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Danny Nguyen (WICLOUD CORPORATION) 5,065 Reputation points Microsoft External Staff Moderator
    2025-12-03T08:45:26.9633333+00:00

    Hi,

    You don’t need any special API just to see those files. Normal directory traversal APIs do enumerate them.

    For me, directory traversal should list all items the same as Explorer:

    • FindFirstFileW / FindNextFileW
      • C++: std::filesystem::directory_iterator

    If you’re not seeing some entries, check for Unicode issues (filenames with non‑ASCII chars; use wide APIs and std::wcout / WriteConsoleW).

    I'm not sure I understand what you really want. Do you want to make your program make your program differentiate file types like how your explorer shows different status? If so, enumeration can give you names + attributes. You can interpret those attributes:

    I'm not sure if this is what you wanted though, let me know if you mean something else.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.