Files
dan_clark@outlook.com 2ac0e3ed26 project
2022-03-23 15:44:32 +00:00

24 lines
986 B
C#

using System;
using System.Runtime.InteropServices;
using Windows.Foundation;
using Windows.UI.Xaml;
//PLACEHOLDER - Replace with the *correct* GUID. I haven't found any hint for this, yet.
[ComImport, Guid("15645012-8F3F-5090-B584-DF078FCC509A"), InterfaceType(ComInterfaceType.InterfaceIsIInspectable)]
public interface IAtlasRequestCallback
{
bool AtlasRequest(uint width, uint height, Windows.Graphics.DirectX.DirectXPixelFormat pixelFormat);
}
[ComImport, Guid("06636C29-5A17-458D-8EA2-2422D997A922"), InterfaceType(ComInterfaceType.InterfaceIsIInspectable)]
public interface IWindowPrivate
{
bool TransparentBackground { get; set; }
void Show();
void Hide();
void MoveWindow(int x, int y, int width, int height);
void SetAtlasSizeHint(uint width, uint height);
void ReleaseGraphicsDeviceOnSuspend(bool enable);
void SetAtlasRequestCallback(IAtlasRequestCallback callback);
Rect GetWindowContentBoundsForElement(DependencyObject element);
}