diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2019-02-04 20:05:54 -0600 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2019-02-04 20:05:54 -0600 |
commit | cbc09b6cd6d0d0b8bf095a88d4d8333616637f71 (patch) | |
tree | a0893e8b8772765747630052018312a2d77f97e4 /src/ca/cpappsched.h | |
parent | c94f50e3d8dc958f8a0b9540e63e920a079c1779 (diff) | |
download | wix-cbc09b6cd6d0d0b8bf095a88d4d8333616637f71.tar.gz wix-cbc09b6cd6d0d0b8bf095a88d4d8333616637f71.tar.bz2 wix-cbc09b6cd6d0d0b8bf095a88d4d8333616637f71.zip |
Import code from old v4 repo
Diffstat (limited to 'src/ca/cpappsched.h')
-rw-r--r-- | src/ca/cpappsched.h | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/src/ca/cpappsched.h b/src/ca/cpappsched.h new file mode 100644 index 00000000..2cd6a0ee --- /dev/null +++ b/src/ca/cpappsched.h | |||
@@ -0,0 +1,83 @@ | |||
1 | #pragma once | ||
2 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | ||
3 | |||
4 | |||
5 | struct CPI_APPLICATION | ||
6 | { | ||
7 | WCHAR wzKey[MAX_DARWIN_KEY + 1]; | ||
8 | WCHAR wzID[CPI_MAX_GUID + 1]; | ||
9 | WCHAR wzName[MAX_DARWIN_COLUMN + 1]; | ||
10 | |||
11 | int iPropertyCount; | ||
12 | CPI_PROPERTY* pProperties; | ||
13 | |||
14 | BOOL fHasComponent; | ||
15 | BOOL fReferencedForInstall; | ||
16 | BOOL fReferencedForUninstall; | ||
17 | BOOL fObjectNotFound; | ||
18 | |||
19 | INSTALLSTATE isInstalled, isAction; | ||
20 | |||
21 | CPI_PARTITION* pPartition; | ||
22 | |||
23 | ICatalogCollection* piRolesColl; | ||
24 | ICatalogCollection* piCompsColl; | ||
25 | |||
26 | CPI_APPLICATION* pNext; | ||
27 | }; | ||
28 | |||
29 | struct CPI_APPLICATION_LIST | ||
30 | { | ||
31 | CPI_APPLICATION* pFirst; | ||
32 | |||
33 | int iInstallCount; | ||
34 | int iUninstallCount; | ||
35 | }; | ||
36 | |||
37 | |||
38 | // function prototypes | ||
39 | |||
40 | void CpiApplicationListFree( | ||
41 | CPI_APPLICATION_LIST* pList | ||
42 | ); | ||
43 | HRESULT CpiApplicationsRead( | ||
44 | CPI_PARTITION_LIST* pPartList, | ||
45 | CPI_APPLICATION_LIST* pAppList | ||
46 | ); | ||
47 | HRESULT CpiApplicationsVerifyInstall( | ||
48 | CPI_APPLICATION_LIST* pList | ||
49 | ); | ||
50 | HRESULT CpiApplicationsVerifyUninstall( | ||
51 | CPI_APPLICATION_LIST* pList | ||
52 | ); | ||
53 | void CpiApplicationAddReferenceInstall( | ||
54 | CPI_APPLICATION* pItm | ||
55 | ); | ||
56 | void CpiApplicationAddReferenceUninstall( | ||
57 | CPI_APPLICATION* pItm | ||
58 | ); | ||
59 | HRESULT CpiApplicationsInstall( | ||
60 | CPI_APPLICATION_LIST* pList, | ||
61 | int iRunMode, | ||
62 | LPWSTR* ppwzActionData, | ||
63 | int* piProgress | ||
64 | ); | ||
65 | HRESULT CpiApplicationsUninstall( | ||
66 | CPI_APPLICATION_LIST* pList, | ||
67 | int iRunMode, | ||
68 | LPWSTR* ppwzActionData, | ||
69 | int* piProgress | ||
70 | ); | ||
71 | HRESULT CpiApplicationFindByKey( | ||
72 | CPI_APPLICATION_LIST* pList, | ||
73 | LPCWSTR pwzKey, | ||
74 | CPI_APPLICATION** ppApp | ||
75 | ); | ||
76 | HRESULT CpiGetRolesCollForApplication( | ||
77 | CPI_APPLICATION* pApp, | ||
78 | ICatalogCollection** ppiRolesColl | ||
79 | ); | ||
80 | HRESULT CpiGetComponentsCollForApplication( | ||
81 | CPI_APPLICATION* pApp, | ||
82 | ICatalogCollection** ppiCompsColl | ||
83 | ); | ||