Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
573e20e9
Commit
573e20e9
authored
Jul 19, 2023
by
Hans Leidekker
Committed by
Alexandre Julliard
Jul 19, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add windows.applicationmodel.idl.
parent
3181c5a0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
117 additions
and
0 deletions
+117
-0
Makefile.in
include/Makefile.in
+1
-0
windows.applicationmodel.idl
include/windows.applicationmodel.idl
+116
-0
No files found.
include/Makefile.in
View file @
573e20e9
...
...
@@ -809,6 +809,7 @@ SOURCES = \
windef.h
\
windns.h
\
windot11.h
\
windows.applicationmodel.idl
\
windows.devices.bluetooth.idl
\
windows.devices.enumeration.idl
\
windows.devices.geolocation.idl
\
...
...
include/windows.applicationmodel.idl
0 → 100644
View file @
573e20e9
/*
*
Copyright
2023
Hans
Leidekker
for
CodeWeavers
*
*
This
library
is
free
software
; you can redistribute it and/or
*
modify
it
under
the
terms
of
the
GNU
Lesser
General
Public
*
License
as
published
by
the
Free
Software
Foundation
; either
*
version
2.1
of
the
License
,
or
(
at
your
option
)
any
later
version
.
*
*
This
library
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
GNU
*
Lesser
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
Lesser
General
Public
*
License
along
with
this
library
; if not, write to the Free Software
*
Foundation
,
Inc
.
,
51
Franklin
St
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
,
USA
*/
#
ifdef
__WIDL__
#
pragma
winrt
ns_prefix
#
endif
import
"windows.foundation.idl"
;
import
"windows.storage.idl"
;
import
"windows.system.idl"
;
namespace
Windows
.
ApplicationModel
{
typedef
struct
PackageVersion
PackageVersion
;
interface
IPackage
;
interface
IPackageId
;
interface
IPackageIdWithMetadata
;
interface
IPackageStatics
;
runtimeclass
Package
;
runtimeclass
PackageId
;
declare
{
interface
Windows
.
Foundation.Collections.IIterable<Windows.ApplicationModel.Package
*
>
;
interface
Windows
.
Foundation.Collections.IIterator<Windows.ApplicationModel.Package
*
>
;
interface
Windows
.
Foundation.Collections.IVectorView<Windows.ApplicationModel.Package
*
>
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
struct
PackageVersion
{
UINT16
Major
;
UINT16
Minor
;
UINT16
Build
;
UINT16
Revision
;
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
exclusiveto
(
Windows
.
ApplicationModel.Package)
,
uuid
(
163
c792f
-
bd75
-
413
c
-
bf23
-
b1fe7b95d825
)
]
interface
IPackage
:
IInspectable
{
[
propget
]
HRESULT
Id
(
[
out
,
retval
]
Windows
.
ApplicationModel.PackageId
**
value
)
;
[
propget
]
HRESULT
InstalledLocation
(
[
out
,
retval
]
Windows
.
Storage.StorageFolder
**
value
)
;
[
propget
]
HRESULT
IsFramework
(
[
out
,
retval
]
boolean
*
value
)
;
[
propget
]
HRESULT
Dependencies
(
[
out
,
retval
]
Windows
.
Foundation.Collections.IVectorView<Windows.ApplicationModel.Package
*
>
**
value
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
exclusiveto
(
Windows
.
ApplicationModel.PackageId)
,
uuid
(
1
adb665e
-
37
c7
-
4790
-
9980
-
dd7ae74e8bb2
)
]
interface
IPackageId
:
IInspectable
{
[
propget
]
HRESULT
Name
(
[
out
,
retval
]
HSTRING
*
value
)
;
[
propget
]
HRESULT
Version
(
[
out
,
retval
]
Windows
.
ApplicationModel.PackageVersion
*
value
)
;
[
propget
]
HRESULT
Architecture
(
[
out
,
retval
]
Windows
.
System.ProcessorArchitecture
*
value
)
;
[
propget
]
HRESULT
ResourceId
(
[
out
,
retval
]
HSTRING
*
value
)
;
[
propget
]
HRESULT
Publisher
(
[
out
,
retval
]
HSTRING
*
value
)
;
[
propget
]
HRESULT
PublisherId
(
[
out
,
retval
]
HSTRING
*
value
)
;
[
propget
]
HRESULT
FullName
(
[
out
,
retval
]
HSTRING
*
value
)
;
[
propget
]
HRESULT
FamilyName
(
[
out
,
retval
]
HSTRING
*
value
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
exclusiveto
(
Windows
.
ApplicationModel.PackageId)
,
uuid
(
40577
a7c
-
0
c9e
-443d-9074
-
855
f5ce0a08d
)
]
interface
IPackageIdWithMetadata
:
IInspectable
{
[
propget
]
HRESULT
ProductId
(
[
out
,
retval
]
HSTRING
*
value
)
;
[
propget
]
HRESULT
Author
(
[
out
,
retval
]
HSTRING
*
value
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
marshaling_behavior
(
agile
),
static
(
Windows
.
ApplicationModel.IPackageStatics
,
Windows
.
Foundation.UniversalApiContract
,
1.0
),
threading
(
both
)
]
runtimeclass
Package
{
[
default
]
interface
Windows
.
ApplicationModel.IPackage;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
marshaling_behavior
(
agile
)
]
runtimeclass
PackageId
{
[
default
]
interface
Windows
.
ApplicationModel.IPackageId;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
interface
Windows
.
ApplicationModel.IPackageIdWithMetadata;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment