mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-17 21:10:43 +00:00
* Migrate winml to Microsoft Namespace (packaging changes are pending) * add ns_prefix toggle * fix packaging * Users/sheilk/add missing raw header (#3484) * add dualapipartition * wrong variable for repo root Co-authored-by: Sheil Kumar <sheilk@microsoft.com> * remove existence check to force failures * extra paren * dualapipartition needs to be referenced from the source * add microsoft.ai.machinelearning.dll to the output dir * rename the idl file so that assembly info is correctly added into the winmd * fix namespaces * update namespaces * default to microsoft, and add namespace override as build argument * update cmakesetings.json as well * remove from cmakelists.txt Co-authored-by: Sheil Kumar <sheilk@microsoft.com> Co-authored-by: Changming Sun <chasun@microsoft.com>
29 lines
924 B
Text
29 lines
924 B
Text
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// Licensed under the MIT License.
|
|
|
|
//! \file dualapipartitionattribute.idl
|
|
|
|
import "Windows.Foundation.idl";
|
|
#include <sdkddkver.h>
|
|
|
|
// This file redefines the DualApiPartition attribute found in
|
|
// internal\sdk\inc\windows.foundation.idl.
|
|
//
|
|
// The DualApiPartitionAttribure defined in windows.foundation.idl
|
|
// is used to annotate Windows SDK APIs with a marker to indicate that
|
|
// the API will be usable on desktop as well as the store uwp app container.
|
|
//
|
|
// All WinML APIs should be usable from the desktop.
|
|
|
|
namespace Windows.Foundation.Metadata
|
|
{
|
|
[attributeusage(target_runtimeclass)]
|
|
[attributename("dualapipartition")]
|
|
[contract(Windows.Foundation.FoundationContract, 1)]
|
|
[version(NTDDI_WIN8),
|
|
version(NTDDI_WIN8, Platform.WindowsPhone)]
|
|
attribute DualApiPartitionAttribute
|
|
{
|
|
unsigned __int32 version;
|
|
}
|
|
}
|