Skip to content

Commit 3cdf047

Browse files
committed
Replace PInvokes in PreviewHandler with CsWin32
1 parent a42e03b commit 3cdf047

File tree

4 files changed

+292
-508
lines changed

4 files changed

+292
-508
lines changed

src/Files.App.CsWin32/NativeMethods.txt

+8
Original file line numberDiff line numberDiff line change
@@ -147,3 +147,11 @@ GetModuleHandle
147147
RegisterClassEx
148148
CREATESTRUCTW
149149
AssocQueryString
150+
IPreviewHandlerFrame
151+
IPreviewHandlerVisuals
152+
IObjectWithSite
153+
IInitializeWithStream
154+
IInitializeWithStreamNative
155+
IInitializeWithFile
156+
IInitializeWithItem
157+
SHCreateStreamOnFileEx

src/Files.App/Utils/Shell/ItemStreamHelper.cs

-37
This file was deleted.

0 commit comments

Comments
 (0)