diff options
Diffstat (limited to 'src/ext/ComPlus/ca/cpsubssched.h')
-rw-r--r-- | src/ext/ComPlus/ca/cpsubssched.h | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/src/ext/ComPlus/ca/cpsubssched.h b/src/ext/ComPlus/ca/cpsubssched.h new file mode 100644 index 00000000..83ff1af8 --- /dev/null +++ b/src/ext/ComPlus/ca/cpsubssched.h | |||
@@ -0,0 +1,62 @@ | |||
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_SUBSCRIPTION | ||
6 | { | ||
7 | WCHAR wzKey[MAX_DARWIN_KEY + 1]; | ||
8 | WCHAR wzID[CPI_MAX_GUID + 1]; | ||
9 | WCHAR wzName[MAX_DARWIN_COLUMN + 1]; | ||
10 | WCHAR wzEventCLSID[CPI_MAX_GUID + 1]; | ||
11 | WCHAR wzPublisherID[CPI_MAX_GUID + 1]; | ||
12 | |||
13 | BOOL fObjectNotFound; | ||
14 | |||
15 | int iPropertyCount; | ||
16 | CPI_PROPERTY* pProperties; | ||
17 | |||
18 | INSTALLSTATE isInstalled, isAction; | ||
19 | |||
20 | CPI_ASSEMBLY* pAssembly; | ||
21 | CPISCHED_COMPONENT* pComponent; | ||
22 | |||
23 | CPI_SUBSCRIPTION* pNext; | ||
24 | }; | ||
25 | |||
26 | struct CPI_SUBSCRIPTION_LIST | ||
27 | { | ||
28 | CPI_SUBSCRIPTION* pFirst; | ||
29 | |||
30 | int iInstallCount; | ||
31 | int iCommitCount; | ||
32 | int iUninstallCount; | ||
33 | }; | ||
34 | |||
35 | |||
36 | // function prototypes | ||
37 | |||
38 | void CpiSubscriptionListFree( | ||
39 | CPI_SUBSCRIPTION_LIST* pList | ||
40 | ); | ||
41 | HRESULT CpiSubscriptionsRead( | ||
42 | CPI_ASSEMBLY_LIST* pAsmList, | ||
43 | CPI_SUBSCRIPTION_LIST* pSubList | ||
44 | ); | ||
45 | HRESULT CpiSubscriptionsVerifyInstall( | ||
46 | CPI_SUBSCRIPTION_LIST* pList | ||
47 | ); | ||
48 | HRESULT CpiSubscriptionsVerifyUninstall( | ||
49 | CPI_SUBSCRIPTION_LIST* pList | ||
50 | ); | ||
51 | HRESULT CpiSubscriptionsInstall( | ||
52 | CPI_SUBSCRIPTION_LIST* pList, | ||
53 | int iRunMode, | ||
54 | LPWSTR* ppwzActionData, | ||
55 | int* piProgress | ||
56 | ); | ||
57 | HRESULT CpiSubscriptionsUninstall( | ||
58 | CPI_SUBSCRIPTION_LIST* pList, | ||
59 | int iRunMode, | ||
60 | LPWSTR* ppwzActionData, | ||
61 | int* piProgress | ||
62 | ); | ||