How to implement IStorageProviderCopyHook in a Desktop Bridge application
Greetings,
I would like to know what is a proper way to implement the IStorageProviderCopyHook interface in the context of a 'desktop bridge' application for a cloud sync engine (using the cloud filter API).
The available documentation (https://learn.microsoft.com/en-us/windows/win32/shell/nf-shobjidl-istorageprovidercopyhook-copycallback) states:
"To register a copy hook handler for cloud folders, set the CopyHook value under the HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Explorer/SyncRootManager/{SyncRootId} key to the CLSID of the copy hook object."
However, I am not sure how to achieve this in a 'desktop bridge' application. As I am aware, the code is containerized and has no access to HKLM, hence modifying the registry programatically will not work. I could also not find relevant configuration options for the Package.appmanifest file.
I'd appreciate any advice on how to implement this interface and incorporate that into the 'desktop bridge' application I am working on.
Thanks and regards,
Stefan