You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This being a WinRT API doesn't mean that it is outright unusable in desktop applications. In fact, Windows.Storage.Provider.StorageProviderSyncRootManager.IsSupported returns true in a desktop environment, even an unpackaged desktop environment.
The most likely cause of this is that the different API sets don't share registrations. This isn't the first, and I doubt that it will be the last, where separate functionality to control the same feature isn't interoperatable.
documentationImprovements or additions to documentation
3 participants
Converted from issue
This discussion was converted from issue #4909 on November 25, 2024 18:48.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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
Beta Was this translation helpful? Give feedback.
All reactions