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
0eb9e723
Commit
0eb9e723
authored
Aug 28, 2023
by
Mohamad Al-Jaf
Committed by
Alexandre Julliard
Sep 11, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add Windows.Management.Deployment.IPackageManager2 interface definition.
parent
ec1b83ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
70 additions
and
0 deletions
+70
-0
windows.management.deployment.idl
include/windows.management.deployment.idl
+70
-0
No files found.
include/windows.management.deployment.idl
View file @
0eb9e723
...
...
@@ -29,11 +29,14 @@ namespace Windows.Management.Deployment {
typedef
enum
DeploymentProgressState
DeploymentProgressState
;
typedef
enum
PackageInstallState
PackageInstallState
;
typedef
enum
PackageState
PackageState
;
typedef
enum
PackageTypes
PackageTypes
;
typedef
enum
RemovalOptions
RemovalOptions
;
typedef
struct
DeploymentProgress
DeploymentProgress
;
interface
IDeploymentResult
;
interface
IPackageManager
;
interface
IPackageManager2
;
interface
IPackageUserInformation
;
runtimeclass
DeploymentResult
;
...
...
@@ -100,6 +103,35 @@ namespace Windows.Management.Deployment {
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
[
flags
]
enum
PackageTypes
{
None
=
0
x0
,
Main
=
0
x1
,
Framework
=
0
x2
,
Resource
=
0
x4
,
Bundle
=
0
x8
,
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
Xap
=
0
x10
,
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
3.0
)
]
Optional
=
0
x20
,
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
10.0
)
]
All
=
0
xffffffff
,
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
[
flags
]
enum
RemovalOptions
{
None
=
0
x0
,
PreserveApplicationData
=
0
x1000
,
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
10.0
)
]
PreserveRoamableApplicationData
=
0
x80
,
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
7.0
)
]
RemoveForAllUsers
=
0
x80000
,
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
struct
DeploymentProgress
{
Windows
.
Management.Deployment.DeploymentProgressState
state
;
...
...
@@ -159,6 +191,44 @@ namespace Windows.Management.Deployment {
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
exclusiveto
(
Windows
.
Management.Deployment.PackageManager)
,
uuid
(
f7aad08d
-
0840
-
46
f2
-
b5d8
-
cad47693a095
)
]
interface
IPackageManager2
:
IInspectable
{
[
overload
(
"RemovePackageAsync"
)
]
HRESULT
RemovePackageWithOptionsAsync
(
[
in
]
HSTRING
name
,
[
in
]
Windows
.
Management.Deployment.RemovalOptions
options
,
[
out
,
retval
]
Windows
.
Foundation.IAsyncOperationWithProgress<Windows.Management.Deployment.DeploymentResult
*
,
Windows
.
Management.Deployment.DeploymentProgress>
**
operation
)
;
[
overload
(
"StagePackageAsync"
)
]
HRESULT
StagePackageWithOptionsAsync
(
[
in
]
Windows
.
Foundation.Uri
*
uri
,
[
in
]
Windows
.
Foundation.Collections.IIterable<Windows.Foundation.Uri
*
>
*
dependencies
,
[
in
]
Windows
.
Management.Deployment.DeploymentOptions
options
,
[
out
,
retval
]
Windows
.
Foundation.IAsyncOperationWithProgress<Windows.Management.Deployment.DeploymentResult
*
,
Windows
.
Management.Deployment.DeploymentProgress>
**
operation
)
;
HRESULT
RegisterPackageByFullNameAsync
(
[
in
]
HSTRING
name
,
[
in
]
Windows
.
Foundation.Collections.IIterable<HSTRING>
*
dependencies
,
[
in
]
Windows
.
Management.Deployment.DeploymentOptions
options
,
[
out
,
retval
]
Windows
.
Foundation.IAsyncOperationWithProgress<Windows.Management.Deployment.DeploymentResult
*
,
Windows
.
Management.Deployment.DeploymentProgress>
**
operation
)
;
[
overload
(
"FindPackagesWithPackageTypes"
)
]
HRESULT
FindPackagesWithPackageTypes
(
[
in
]
Windows
.
Management.Deployment.PackageTypes
types
,
[
out
,
retval
]
Windows
.
Foundation.Collections.IIterable<Windows.ApplicationModel.Package
*
>
**
packages
)
;
[
overload
(
"FindPackagesForUserWithPackageTypes"
)
]
HRESULT
FindPackagesByUserSecurityIdWithPackageTypes
(
[
in
]
HSTRING
sid
,
[
in
]
Windows
.
Management.Deployment.PackageTypes
types
,
[
out
,
retval
]
Windows
.
Foundation.Collections.IIterable<Windows.ApplicationModel.Package
*
>
**
packages
)
;
[
overload
(
"FindPackagesWithPackageTypes"
)
]
HRESULT
FindPackagesByNamePublisherWithPackageTypes
(
[
in
]
HSTRING
name
,
[
in
]
HSTRING
publisher
,
[
in
]
Windows
.
Management.Deployment.PackageTypes
types
,
[
out
,
retval
]
Windows
.
Foundation.Collections.IIterable<Windows.ApplicationModel.Package
*
>
**
packages
)
;
[
overload
(
"FindPackagesForUserWithPackageTypes"
)
]
HRESULT
FindPackagesByUserSecurityIdNamePublisherWithPackageTypes
(
[
in
]
HSTRING
sid
,
[
in
]
HSTRING
name
,
[
in
]
HSTRING
publisher
,
[
in
]
Windows
.
Management.Deployment.PackageTypes
types
,
[
out
,
retval
]
Windows
.
Foundation.Collections.IIterable<Windows.ApplicationModel.Package
*
>
**
packages
)
;
[
overload
(
"FindPackagesWithPackageTypes"
)
]
HRESULT
FindPackagesByPackageFamilyNameWithPackageTypes
(
[
in
]
HSTRING
family_name
,
[
in
]
Windows
.
Management.Deployment.PackageTypes
types
,
[
out
,
retval
]
Windows
.
Foundation.Collections.IIterable<Windows.ApplicationModel.Package
*
>
**
packages
)
;
[
overload
(
"FindPackagesForUserWithPackageTypes"
)
]
HRESULT
FindPackagesByUserSecurityIdPackageFamilyNameWithPackageTypes
(
[
in
]
HSTRING
sid
,
[
in
]
HSTRING
family_name
,
[
in
]
Windows
.
Management.Deployment.PackageTypes
types
,
[
out
,
retval
]
Windows
.
Foundation.Collections.IIterable<Windows.ApplicationModel.Package
*
>
**
packages
)
;
[
overload
(
"StageUserDataAsync"
)
]
HRESULT
StageUserDataAsync
(
[
in
]
HSTRING
name
,
[
out
,
retval
]
Windows
.
Foundation.IAsyncOperationWithProgress<Windows.Management.Deployment.DeploymentResult
*
,
Windows
.
Management.Deployment.DeploymentProgress>
**
operation
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
exclusiveto
(
Windows
.
Management.Deployment.PackageUserInformation)
,
uuid
(
f6383423
-
fa09
-
4
cbc
-
9055
-
15
ca275e2e7e
)
]
...
...
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