Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: #362 Register PreviewHandler on Win10 190042ff #370

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

philippseith
Copy link

@philippseith philippseith commented May 2, 2022

Alas described differently in MSDN https://docs.microsoft.com/en-us/windows/win32/shell/how-to-register-a-preview-handler
a PreviewHandler (additionally or only) needs ShellEx{8895b1c6-b41f-4c1c-a562-0d564250836f} below the association key.

The MSDN sample https://github.com/microsoft/Windows-classic-samples/blob/27ffb0811ca761741502feaefdb591aebf592193/Samples/Win7Samples/winui/shell/appshellintegration/RecipePreviewHandler/dll.cpp#L206 creates the ShellEx key only below the association key, not the class name key.

See #362
cc @AdmiralSnyder

Alas described differently in MSDN https://docs.microsoft.com/en-us/windows/win32/shell/how-to-register-a-preview-handler
a PreviewHandler (additionally or only) needs ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f} below the association key.

The MSDN sample https://github.com/microsoft/Windows-classic-samples/blob/27ffb0811ca761741502feaefdb591aebf592193/Samples/Win7Samples/winui/shell/appshellintegration/RecipePreviewHandler/dll.cpp#L206 creates the ShellEx key only below the association key, not the class name key.
@codecov
Copy link

codecov bot commented May 2, 2022

Codecov Report

Merging #370 (5d29568) into master (f523f11) will decrease coverage by 0.03%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #370      +/-   ##
==========================================
- Coverage   11.79%   11.76%   -0.04%     
==========================================
  Files          89       89              
  Lines        3060     3068       +8     
  Branches      388      392       +4     
==========================================
  Hits          361      361              
- Misses       2680     2687       +7     
- Partials       19       20       +1     
Impacted Files Coverage Δ
...ll/ServerRegistration/ServerRegistrationManager.cs 6.13% <0.00%> (-0.20%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f523f11...5d29568. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant