diff options
Diffstat (limited to 'src/ca/cputilsched.h')
-rw-r--r-- | src/ca/cputilsched.h | 26 |
1 files changed, 7 insertions, 19 deletions
diff --git a/src/ca/cputilsched.h b/src/ca/cputilsched.h index 61aaab84..1f315576 100644 --- a/src/ca/cputilsched.h +++ b/src/ca/cputilsched.h | |||
@@ -2,12 +2,8 @@ | |||
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. | 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 | 3 | ||
4 | 4 | ||
5 | #define CPI_MAX_GUID 38 | ||
6 | |||
7 | enum eRunMode { rmDeferred = 1, rmCommit, rmRollback }; | 5 | enum eRunMode { rmDeferred = 1, rmCommit, rmRollback }; |
8 | 6 | ||
9 | enum eActionType { atNoOp = 0, atCreate, atRemove }; | ||
10 | |||
11 | enum eComPlusPropertyType { cpptNone = 0, cpptBoolean, cpptInteger, cpptString, cpptUser }; | 7 | enum eComPlusPropertyType { cpptNone = 0, cpptBoolean, cpptInteger, cpptString, cpptUser }; |
12 | 8 | ||
13 | enum eComPlusTables | 9 | enum eComPlusTables |
@@ -42,14 +38,6 @@ enum eComPlusTables | |||
42 | 38 | ||
43 | // structs | 39 | // structs |
44 | 40 | ||
45 | struct CPI_PROPERTY | ||
46 | { | ||
47 | WCHAR wzName[MAX_DARWIN_KEY + 1]; | ||
48 | LPWSTR pwzValue; | ||
49 | |||
50 | CPI_PROPERTY* pNext; | ||
51 | }; | ||
52 | |||
53 | struct CPI_PROPERTY_DEFINITION | 41 | struct CPI_PROPERTY_DEFINITION |
54 | { | 42 | { |
55 | LPCWSTR pwzName; | 43 | LPCWSTR pwzName; |
@@ -60,19 +48,19 @@ struct CPI_PROPERTY_DEFINITION | |||
60 | 48 | ||
61 | // function prototypes | 49 | // function prototypes |
62 | 50 | ||
63 | void CpiInitialize(); | 51 | void CpiSchedInitialize(); |
64 | void CpiFinalize(); | 52 | void CpiSchedFinalize(); |
65 | BOOL CpiTableExists( | 53 | BOOL CpiTableExists( |
66 | int iTable | 54 | int iTable |
67 | ); | 55 | ); |
68 | HRESULT CpiGetAdminCatalog( | 56 | HRESULT CpiSchedGetAdminCatalog( |
69 | ICOMAdminCatalog** ppiCatalog | 57 | ICOMAdminCatalog** ppiCatalog |
70 | ); | 58 | ); |
71 | HRESULT CpiGetCatalogCollection( | 59 | HRESULT CpiSchedGetCatalogCollection( |
72 | LPCWSTR pwzName, | 60 | LPCWSTR pwzName, |
73 | ICatalogCollection** ppiColl | 61 | ICatalogCollection** ppiColl |
74 | ); | 62 | ); |
75 | HRESULT CpiGetCatalogCollection( | 63 | HRESULT CpiSchedGetCatalogCollection( |
76 | ICatalogCollection* piColl, | 64 | ICatalogCollection* piColl, |
77 | ICatalogObject* piObj, | 65 | ICatalogObject* piObj, |
78 | LPCWSTR pwzName, | 66 | LPCWSTR pwzName, |
@@ -89,10 +77,10 @@ HRESULT CpiFindCollectionObject( | |||
89 | LPCWSTR pwzName, | 77 | LPCWSTR pwzName, |
90 | ICatalogObject** ppiObj | 78 | ICatalogObject** ppiObj |
91 | ); | 79 | ); |
92 | HRESULT CpiGetPartitionsCollection( | 80 | HRESULT CpiSchedGetPartitionsCollection( |
93 | ICatalogCollection** ppiPartColl | 81 | ICatalogCollection** ppiPartColl |
94 | ); | 82 | ); |
95 | HRESULT CpiGetApplicationsCollection( | 83 | HRESULT CpiSchedGetApplicationsCollection( |
96 | ICatalogCollection** ppiAppColl | 84 | ICatalogCollection** ppiAppColl |
97 | ); | 85 | ); |
98 | HRESULT CpiAddActionTextToActionData( | 86 | HRESULT CpiAddActionTextToActionData( |