Skip to content

Commit d6e9b26

Browse files
committed
feat: Add WinRT interop methods
1 parent 95b795d commit d6e9b26

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
using System;
2+
3+
namespace WinRT.Interop;
4+
5+
public static class InitializeWithWindow
6+
{
7+
public static void Initialize(object target, IntPtr hwnd)
8+
{
9+
// Intentionally a no-op, will need to be implemented
10+
// when multi-window support is added #8341.
11+
}
12+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
using System;
2+
3+
namespace WinRT.Interop;
4+
5+
public static class WindowNative
6+
{
7+
public static IntPtr GetWindowHandle(object target)
8+
{
9+
// Intentionally a no-op, will need to be implemented
10+
// when multi-window support is added #8341.
11+
return IntPtr.Zero;
12+
}
13+
}

0 commit comments

Comments
 (0)