How can I use cfapi.h and/or Windows.Storage.Provider to get sync status of existing sync root engines like OneDrive?

Jeet Jain 0 Reputation points
2023-07-27T11:38:59.0966667+00:00

I want to get current sync status of OneDrive client (whether it is syncing, paused, error or offline etc.) as well as sync state of files in OneDrive folder (whether a file is synced or being synced or there is an error etc.). I need to do it from client side (i.e. can't use graph APIs).

I come across Cloud Filter API which can be used to create and manage Cloud Sync Engines. One example of this is Cloud Mirror.

My question is, can I use this API to get sync status of existing sync root engines like OneDrive? If not then is there any way to get sync status of OneDrive files from client machine?

OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
1,299 questions
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,729 questions
OneDrive Management
OneDrive Management
OneDrive: A Microsoft file hosting and synchronization service.Management: The act or process of organizing, handling, directing or controlling something.
1,341 questions
{count} votes

Your answer

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