Understand the difference between CfRegisterSyncRoot function (cfapi.h)
vs. StorageProviderSyncRootManager.Register(root)
#4909
Labels
Hi there, i am trying to build a cloud sync provider using
https://learn.microsoft.com/en-us/windows/win32/api/cfapi/nf-cfapi-cfregistersyncroot
and
https://learn.microsoft.com/en-us/uwp/api/windows.storage.provider.storageprovidersyncrootmanager.register?view=winrt-26100#windows-storage-provider-storageprovidersyncrootmanager-register(windows-storage-provider-storageprovidersyncrootinfo)
I have a set up where I successfully register a sync root using
CfRegisterSyncRoot function (cfapi.h)
.However, if I try to get the sync root from https://learn.microsoft.com/en-us/uwp/api/windows.storage.provider.storageprovidersyncrootmanager.getsyncrootinformationforfolder?view=winrt-26100, it does not return any.
So i am wondering if someone can help clarify the difference between https://learn.microsoft.com/en-us/windows/win32/api/cfapi/nf-cfapi-cfregistersyncroot and https://learn.microsoft.com/en-us/uwp/api/windows.storage.provider.storageprovidersyncrootmanager.register?view=winrt-26100#windows-storage-provider-storageprovidersyncrootmanager-register(windows-storage-provider-storageprovidersyncrootinfo)?
Thanks
The text was updated successfully, but these errors were encountered: