How to programmatically create a "Status" column in Windows 10 Explorer like OneDrive does?

Bob K 26 Reputation points
2021-06-06T14:29:50.54+00:00

The new version of OneDrive creates a Status column in Windows Explorer to show the status of individual files. This is a better option that Icon Overlays, as there is a strict limit of 15 in the system and also this allows multiple status icons per-file.

This is how it looks:102723-explorerstatuscolumn.png

I have been unable to find the details about how to create this. The closest I've found is a mention in this Microsoft blog:
https://devblogs.microsoft.com/oldnewthing/20190313-00/?p=101094
Specifically here:
https://github.com/Microsoft/Windows-classic-samples/tree/master/Samples/CloudMirror
Unfortunately, I can't get the sample to build, and its structure is very different from my application.

I was hoping that there would be docs detailing the COM entries, something like this (for icon overlays):
https://learn.microsoft.com/en-us/windows/win32/shell/how-to-implement-icon-overlay-handlers

Any help would be appreciated.

Thanks,
Bob

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,426 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,537 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Song Zhu - MSFT 906 Reputation points
    2021-06-07T07:24:26.787+00:00

    You can refer to Microsoft's official sample: Cloud Mirror sample