-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #176 from reflectronic/winrt-abi
Add initial set of Windows Runtime APIs from ABI headers
- Loading branch information
Showing
173 changed files
with
13,637 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
@../../../settings.rsp | ||
@../../../remap.rsp | ||
--exclude | ||
CHECK_NS_PREFIX_STATE | ||
--file | ||
winrt-WindowsContracts.h | ||
--methodClassName | ||
WinRT | ||
--namespace | ||
TerraFX.Interop.WinRT | ||
--output | ||
../../../../sources/Interop/Windows/WinRT/winrt/WindowsContracts | ||
--test-output | ||
../../../../tests/Interop/Windows/WinRT/winrt/WindowsContracts | ||
--traverse | ||
C:/Program Files (x86)/Windows Kits/10/Include/10.0.22621.0/winrt/WindowsContracts.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. | ||
|
||
// Ported from winrt/WindowsContracts.h in the Windows SDK for Windows 10.0.22621.0 | ||
// Original source is Copyright © Microsoft. All rights reserved. |
2 changes: 2 additions & 0 deletions
2
generation/WinRT/winrt/WindowsContracts/winrt-WindowsContracts.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#include "..\..\..\TerraFX.h" | ||
#include <WindowsContracts.h> |
37 changes: 37 additions & 0 deletions
37
generation/WinRT/winrt/windows.devices.haptics/generate.rsp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
@../../../settings.rsp | ||
@../../../remap.rsp | ||
--exclude | ||
ABI::Windows::Foundation::Collections::IIterable<ABI::Windows::Devices::Haptics::SimpleHapticsControllerFeedback *> | ||
ABI::Windows::Foundation::Collections::IIterable<ABI::Windows::Devices::Haptics::VibrationDevice *> | ||
ABI::Windows::Foundation::Collections::IIterator<ABI::Windows::Devices::Haptics::SimpleHapticsControllerFeedback *> | ||
ABI::Windows::Foundation::Collections::IIterator<ABI::Windows::Devices::Haptics::VibrationDevice *> | ||
ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Haptics::SimpleHapticsControllerFeedback *> | ||
ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Haptics::VibrationDevice *> | ||
ABI::Windows::Foundation::IAsyncOperation<ABI::Windows::Devices::Haptics::VibrationAccessStatus> | ||
ABI::Windows::Foundation::IAsyncOperation<ABI::Windows::Devices::Haptics::VibrationDevice *> | ||
ABI::Windows::Foundation::IAsyncOperation<ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Haptics::VibrationDevice *> *> | ||
ABI::Windows::Foundation::IAsyncOperationCompletedHandler<ABI::Windows::Devices::Haptics::VibrationAccessStatus> | ||
ABI::Windows::Foundation::IAsyncOperationCompletedHandler<ABI::Windows::Devices::Haptics::VibrationDevice *> | ||
ABI::Windows::Foundation::IAsyncOperationCompletedHandler<ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Devices::Haptics::VibrationDevice *> *> | ||
CHECK_NS_PREFIX_STATE | ||
DEPRECATEDENUMERATOR | ||
IID_IKnownSimpleHapticsControllerWaveformsStatics | ||
IID_IKnownSimpleHapticsControllerWaveformsStatics2 | ||
IID_ISimpleHapticsController | ||
IID_ISimpleHapticsControllerFeedback | ||
IID_IVibrationDevice | ||
IID_IVibrationDeviceStatics | ||
WINDOWS_FOUNDATION_FOUNDATIONCONTRACT_VERSION | ||
WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION | ||
--file | ||
winrt-windows.devices.haptics.h | ||
--methodClassName | ||
WinRT | ||
--namespace | ||
TerraFX.Interop.WinRT | ||
--output | ||
../../../../sources/Interop/Windows/WinRT/winrt/windows.devices.haptics | ||
--test-output | ||
../../../../tests/Interop/Windows/WinRT/winrt/windows.devices.haptics | ||
--traverse | ||
C:/Program Files (x86)/Windows Kits/10/Include/10.0.22621.0/winrt/windows.devices.haptics.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. | ||
|
||
// Ported from winrt/windows.devices.haptics.h in the Windows SDK for Windows 10.0.22621.0 | ||
// Original source is Copyright © Microsoft. All rights reserved. |
2 changes: 2 additions & 0 deletions
2
generation/WinRT/winrt/windows.devices.haptics/winrt-windows.devices.haptics.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#include "..\..\..\TerraFX.h" | ||
#include <windows.devices.haptics.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
@../../../settings.rsp | ||
@../../../remap.rsp | ||
--exclude | ||
ABI::Windows::Foundation::IAsyncOperation<ABI::Windows::Devices::Power::Battery *> | ||
ABI::Windows::Foundation::IAsyncOperationCompletedHandler<ABI::Windows::Devices::Power::Battery *> | ||
ABI::Windows::Foundation::IReference<int> | ||
ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Devices::Power::Battery *, IInspectable *> | ||
CHECK_NS_PREFIX_STATE | ||
DEPRECATEDENUMERATOR | ||
IID_IBattery | ||
IID_IBatteryReport | ||
IID_IBatteryStatics | ||
WINDOWS_FOUNDATION_FOUNDATIONCONTRACT_VERSION | ||
WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION | ||
--file | ||
winrt-windows.devices.power.h | ||
--methodClassName | ||
WinRT | ||
--namespace | ||
TerraFX.Interop.WinRT | ||
--output | ||
../../../../sources/Interop/Windows/WinRT/winrt/windows.devices.power | ||
--test-output | ||
../../../../tests/Interop/Windows/WinRT/winrt/windows.devices.power | ||
--traverse | ||
C:/Program Files (x86)/Windows Kits/10/Include/10.0.22621.0/winrt/windows.devices.power.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. | ||
|
||
// Ported from winrt/windows.devices.power.h in the Windows SDK for Windows 10.0.22621.0 | ||
// Original source is Copyright © Microsoft. All rights reserved. |
2 changes: 2 additions & 0 deletions
2
generation/WinRT/winrt/windows.devices.power/winrt-windows.devices.power.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#include "..\..\..\TerraFX.h" | ||
#include <windows.devices.power.h> |
20 changes: 20 additions & 0 deletions
20
generation/WinRT/winrt/windows.foundation.metadata/generate.rsp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
@../../../settings.rsp | ||
@../../../remap.rsp | ||
--exclude | ||
CHECK_NS_PREFIX_STATE | ||
DEPRECATEDENUMERATOR | ||
IID_IApiInformationStatics | ||
WINDOWS_FOUNDATION_FOUNDATIONCONTRACT_VERSION | ||
WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION | ||
--file | ||
winrt-windows.foundation.metadata.h | ||
--methodClassName | ||
WinRT | ||
--namespace | ||
TerraFX.Interop.WinRT | ||
--output | ||
../../../../sources/Interop/Windows/WinRT/winrt/windows.foundation.metadata | ||
--test-output | ||
../../../../tests/Interop/Windows/WinRT/winrt/windows.foundation.metadata | ||
--traverse | ||
C:/Program Files (x86)/Windows Kits/10/Include/10.0.22621.0/winrt/windows.foundation.metadata.h |
4 changes: 4 additions & 0 deletions
4
generation/WinRT/winrt/windows.foundation.metadata/header.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. | ||
|
||
// Ported from winrt/windows.foundation.metadata.h in the Windows SDK for Windows 10.0.22621.0 | ||
// Original source is Copyright © Microsoft. All rights reserved. |
2 changes: 2 additions & 0 deletions
2
generation/WinRT/winrt/windows.foundation.metadata/winrt-windows.foundation.metadata.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#include "..\..\..\TerraFX.h" | ||
#include <windows.foundation.metadata.h> |
19 changes: 19 additions & 0 deletions
19
generation/WinRT/winrt/windows.foundation.numerics/generate.rsp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
@../../../settings.rsp | ||
@../../../remap.rsp | ||
--exclude | ||
CHECK_NS_PREFIX_STATE | ||
DEPRECATEDENUMERATOR | ||
WINDOWS_FOUNDATION_FOUNDATIONCONTRACT_VERSION | ||
WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION | ||
--file | ||
winrt-windows.foundation.numerics.h | ||
--methodClassName | ||
WinRT | ||
--namespace | ||
TerraFX.Interop.WinRT | ||
--output | ||
../../../../sources/Interop/Windows/WinRT/winrt/windows.foundation.numerics | ||
--test-output | ||
../../../../tests/Interop/Windows/WinRT/winrt/windows.foundation.numerics | ||
--traverse | ||
C:/Program Files (x86)/Windows Kits/10/Include/10.0.22621.0/winrt/windows.foundation.numerics.h |
4 changes: 4 additions & 0 deletions
4
generation/WinRT/winrt/windows.foundation.numerics/header.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. | ||
|
||
// Ported from winrt/windows.foundation.numerics.h in the Windows SDK for Windows 10.0.22621.0 | ||
// Original source is Copyright © Microsoft. All rights reserved. |
2 changes: 2 additions & 0 deletions
2
generation/WinRT/winrt/windows.foundation.numerics/winrt-windows.foundation.numerics.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#include "..\..\..\TerraFX.h" | ||
#include <windows.foundation.numerics.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
@../../../settings.rsp | ||
@../../../remap.rsp | ||
--exclude | ||
ABI::Windows::Foundation::Collections::IIterable<ABI::Windows::Foundation::Collections::IKeyValuePair<HSTRING, HSTRING> *> | ||
ABI::Windows::Foundation::Collections::IIterable<ABI::Windows::Foundation::Collections::IKeyValuePair<HSTRING, IInspectable *> *> | ||
ABI::Windows::Foundation::Collections::IIterable<ABI::Windows::Foundation::IWwwFormUrlDecoderEntry *> | ||
ABI::Windows::Foundation::Collections::IIterator<ABI::Windows::Foundation::Collections::IKeyValuePair<HSTRING, HSTRING> *> | ||
ABI::Windows::Foundation::Collections::IIterator<ABI::Windows::Foundation::Collections::IKeyValuePair<HSTRING, IInspectable *> *> | ||
ABI::Windows::Foundation::Collections::IIterator<ABI::Windows::Foundation::IWwwFormUrlDecoderEntry *> | ||
ABI::Windows::Foundation::Collections::IKeyValuePair<HSTRING__ *, HSTRING__ *> | ||
ABI::Windows::Foundation::Collections::IKeyValuePair<HSTRING__ *, IInspectable *> | ||
ABI::Windows::Foundation::Collections::IMap<HSTRING__ *, HSTRING__ *> | ||
ABI::Windows::Foundation::Collections::IMap<HSTRING__ *, IInspectable *> | ||
ABI::Windows::Foundation::Collections::IMapChangedEventArgs<HSTRING__ *> | ||
ABI::Windows::Foundation::Collections::IMapView<HSTRING__ *, HSTRING__ *> | ||
ABI::Windows::Foundation::Collections::IMapView<HSTRING__ *, IInspectable *> | ||
ABI::Windows::Foundation::Collections::IObservableMap<HSTRING__ *, HSTRING__ *> | ||
ABI::Windows::Foundation::Collections::IObservableMap<HSTRING__ *, IInspectable *> | ||
ABI::Windows::Foundation::Collections::IVectorView<ABI::Windows::Foundation::IWwwFormUrlDecoderEntry *> | ||
ABI::Windows::Foundation::Collections::MapChangedEventHandler<HSTRING__ *, HSTRING__ *> | ||
ABI::Windows::Foundation::Collections::MapChangedEventHandler<HSTRING__ *, IInspectable *> | ||
ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Foundation::IMemoryBufferReference *, IInspectable *> | ||
CHECK_NS_PREFIX_STATE | ||
DEPRECATEDENUMERATOR | ||
IID_IAsyncAction | ||
IID_IAsyncActionCompletedHandler | ||
IID_IClosable | ||
IID_IDeferral | ||
IID_IDeferralCompletedHandler | ||
IID_IDeferralFactory | ||
IID_IGetActivationFactory | ||
IID_IGuidHelperStatics | ||
IID_IMemoryBuffer | ||
IID_IMemoryBufferFactory | ||
IID_IMemoryBufferReference | ||
IID_IPropertySet | ||
IID_IPropertyValue | ||
IID_IPropertyValueStatics | ||
IID_IStringable | ||
IID_IUriEscapeStatics | ||
IID_IUriRuntimeClass | ||
IID_IUriRuntimeClassFactory | ||
IID_IUriRuntimeClassWithAbsoluteCanonicalUri | ||
IID_IWwwFormUrlDecoderEntry | ||
IID_IWwwFormUrlDecoderRuntimeClass | ||
IID_IWwwFormUrlDecoderRuntimeClassFactory | ||
WINDOWS_FOUNDATION_FOUNDATIONCONTRACT_VERSION | ||
WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION | ||
--file | ||
winrt-windows.foundation.h | ||
--methodClassName | ||
WinRT | ||
--namespace | ||
TerraFX.Interop.WinRT | ||
--output | ||
../../../../sources/Interop/Windows/WinRT/winrt/windows.foundation | ||
--test-output | ||
../../../../tests/Interop/Windows/WinRT/winrt/windows.foundation | ||
--traverse | ||
C:/Program Files (x86)/Windows Kits/10/Include/10.0.22621.0/winrt/windows.foundation.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. | ||
|
||
// Ported from winrt/windows.foundation.h in the Windows SDK for Windows 10.0.22621.0 | ||
// Original source is Copyright © Microsoft. All rights reserved. |
2 changes: 2 additions & 0 deletions
2
generation/WinRT/winrt/windows.foundation/winrt-windows.foundation.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#include "..\..\..\TerraFX.h" | ||
#include <windows.foundation.h> |
19 changes: 19 additions & 0 deletions
19
generation/WinRT/winrt/windows.graphics.directx/generate.rsp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
@../../../settings.rsp | ||
@../../../remap.rsp | ||
--exclude | ||
CHECK_NS_PREFIX_STATE | ||
DEPRECATEDENUMERATOR | ||
WINDOWS_FOUNDATION_FOUNDATIONCONTRACT_VERSION | ||
WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION | ||
--file | ||
winrt-windows.graphics.directx.h | ||
--methodClassName | ||
WinRT | ||
--namespace | ||
TerraFX.Interop.WinRT | ||
--output | ||
../../../../sources/Interop/Windows/WinRT/winrt/windows.graphics.directx | ||
--test-output | ||
../../../../tests/Interop/Windows/WinRT/winrt/windows.graphics.directx | ||
--traverse | ||
C:/Program Files (x86)/Windows Kits/10/Include/10.0.22621.0/winrt/windows.graphics.directx.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. | ||
|
||
// Ported from winrt/windows.graphics.directx.h in the Windows SDK for Windows 10.0.22621.0 | ||
// Original source is Copyright © Microsoft. All rights reserved. |
2 changes: 2 additions & 0 deletions
2
generation/WinRT/winrt/windows.graphics.directx/winrt-windows.graphics.directx.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#include "..\..\..\TerraFX.h" | ||
#include <windows.graphics.directx.h> |
21 changes: 21 additions & 0 deletions
21
generation/WinRT/winrt/windows.graphics.effects/generate.rsp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
@../../../settings.rsp | ||
@../../../remap.rsp | ||
--exclude | ||
CHECK_NS_PREFIX_STATE | ||
DEPRECATEDENUMERATOR | ||
IID_IGraphicsEffect | ||
IID_IGraphicsEffectSource | ||
WINDOWS_FOUNDATION_FOUNDATIONCONTRACT_VERSION | ||
WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION | ||
--file | ||
winrt-windows.graphics.effects.h | ||
--methodClassName | ||
WinRT | ||
--namespace | ||
TerraFX.Interop.WinRT | ||
--output | ||
../../../../sources/Interop/Windows/WinRT/winrt/windows.graphics.effects | ||
--test-output | ||
../../../../tests/Interop/Windows/WinRT/winrt/windows.graphics.effects | ||
--traverse | ||
C:/Program Files (x86)/Windows Kits/10/Include/10.0.22621.0/winrt/windows.graphics.effects.h |
Oops, something went wrong.