IStorageProviderHandlerFactory - How to register for CloudFiles

Jöran Malek 81 Reputation points
2022-01-17T10:44:34.407+00:00

I found IStorageProviderHandlerFactory which was introduced with Server 2022 and Windows 11 to provide factories for several types of storage provider classes. Thats great for itself, but I can't find any reference for this interface, or IStorageProviderStatusSource for that matter, in the AppX/MSIX-Manifest schema or any other struct.

How am I supposed to use that interface, when there is no documentation?

Universal Windows Platform (UWP)
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,689 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,189 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 39,731 Reputation points
    2022-01-24T13:09:10.237+00:00

    Hello @Jöran Malek

    I can understand you need some documentation for Windows 2022 storage API.

    Please have a look on below documentations which should be helpful in your scenario.

    https://learn.microsoft.com/en-us/windows/win32/cfapi/build-a-cloud-file-sync-engine

    https://learn.microsoft.com/en-us/uwp/api/windows.storage.provider?view=winrt-22000

    Hope this answers your question

    --------
    --If the reply is helpful, please Upvote and Accept as answer--


  2. Roy Li - MSFT 33,491 Reputation points Microsoft Vendor
    2022-01-28T01:58:53.91+00:00

    Hello,

    Welcome to Microsoft Q&A!

    I've consulted other engineers about this. First, currently, there is no UWP capability available at this time. Based on the document here: Build a Cloud Sync Engine that Supports Placeholder Files, it mentions that The cloud files API does not currently support implementing cloud sync engines in UWP apps. Cloud sync engines must be implemented in desktop apps.. There is a Cloud Mirror sample on Github shows how to get started writing a cloud files provider using the cloud files API and it is in Preview which is not supported. You could submit a feedback on the Github about your interest.

    Thank you.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


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.