mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-01-07 03:47:56 +08:00
8431b80e48
Co-authored-by: Alexis Campailla <alexis@janeasystems.com> Co-authored-by: Bret Anderson <bretan@microsoft.com> Co-authored-by: Enrico Giordani <enrico.giordani@gmail.com> Co-authored-by: Jaime Bernardo <jaime@janeasystems.com> Co-authored-by: Jeff Bogdan <jeffbog@microsoft.com> Co-authored-by: March Rogers <marchr@microsoft.com> Co-authored-by: Mike Harsh <mharsh@microsoft.com> Co-authored-by: Nachum Bundak <Nachum.Bundak@microsoft.com> Co-authored-by: Oliver Jones <ojones@microsoft.com> Co-authored-by: Patrick Little <plittle@microsoft.com>
15 lines
562 B
C
15 lines
562 B
C
#pragma once
|
|
|
|
interface __declspec(uuid("{8228E934-B6EF-402A-9892-15A1441BF8B0}")) IZone : public IUnknown
|
|
{
|
|
IFACEMETHOD_(RECT, GetZoneRect)() = 0;
|
|
IFACEMETHOD_(bool, IsEmpty)() = 0;
|
|
IFACEMETHOD_(bool, ContainsWindow)(HWND window) = 0;
|
|
IFACEMETHOD_(void, AddWindowToZone)(HWND window, HWND zoneWindow, bool stampZone) = 0;
|
|
IFACEMETHOD_(void, RemoveWindowFromZone)(HWND window, bool restoreSize) = 0;
|
|
IFACEMETHOD_(void, SetId)(size_t id) = 0;
|
|
IFACEMETHOD_(size_t, Id)() = 0;
|
|
};
|
|
|
|
winrt::com_ptr<IZone> MakeZone(RECT zoneRect) noexcept;
|