microsoft / microsoft/win32metadata

WinAppSDK definitions?

Open
#2,081 4 comments 0 reactions 1 assignee Claimed by @mikebattista View on GitHub
Dominant language
C++
Stars
1.5k
Forks
149
Avg merge
5d 16h
Merged PRs (30d)
4

Description

Hi,

I don't see (some or any?) WinAPP SDK definitions.

For example:

`ICompositorInterop` exists in Windows' WinRT (located in `Windows.Win32.System.WinRT.Composition` namespace) but WinAPPSDK also has an ICompositorInterop defined which is quite the same but with a different guid and different definitions:

// from WinAPP SDK's Microsoft.UI.Composition.Interop.h
```
DECLARE_INTERFACE_IID_(ICompositorInterop, IUnknown, "FAB19398-6D19-4D8A-B752-8F096C396069")
{
IFACEMETHOD(CreateGraphicsDevice)(
_In_ IUnknown * renderingDevice,
_COM_Outptr_ ICompositionGraphicsDevice ** result
) PURE;
};

```
// from Windows SDK's windows.ui.composition.interop.h
```
DECLARE_INTERFACE_IID_(ICompositorInterop, IUnknown, "25297D5C-3AD4-4C9C-B5CF-E36A38512330")
{

IFACEMETHOD(CreateCompositionSurfaceForHandle)(
_In_ HANDLE swapChain,
_COM_Outptr_ ICompositionSurface ** result
) PURE;

IFACEMETHOD(CreateCompositionSurfaceForSwapChain)(
_In_ IUnknown * swapChain,
_COM_Outptr_ ICompositionSurface ** result
) PURE;

IFACEMETHOD(CreateGraphicsDevice)(
_In_ IUnknown * renderingDevice,
_COM_Outptr_ ICompositionGraphicsDevice ** result
) PURE;
};

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.