File: dualapipartitionattribute.idl

package info (click to toggle)
onnxruntime 1.21.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 333,864 kB
  • sloc: cpp: 3,153,080; python: 179,219; ansic: 109,131; asm: 37,791; cs: 34,424; perl: 13,070; java: 11,047; javascript: 6,330; pascal: 4,126; sh: 3,277; xml: 598; objc: 281; makefile: 63
file content (29 lines) | stat: -rw-r--r-- 924 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// 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;
    }
}