aboutsummaryrefslogtreecommitdiff
path: root/src/ca/cputilsched.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ca/cputilsched.h')
-rw-r--r--src/ca/cputilsched.h26
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
7enum eRunMode { rmDeferred = 1, rmCommit, rmRollback }; 5enum eRunMode { rmDeferred = 1, rmCommit, rmRollback };
8 6
9enum eActionType { atNoOp = 0, atCreate, atRemove };
10
11enum eComPlusPropertyType { cpptNone = 0, cpptBoolean, cpptInteger, cpptString, cpptUser }; 7enum eComPlusPropertyType { cpptNone = 0, cpptBoolean, cpptInteger, cpptString, cpptUser };
12 8
13enum eComPlusTables 9enum eComPlusTables
@@ -42,14 +38,6 @@ enum eComPlusTables
42 38
43// structs 39// structs
44 40
45struct CPI_PROPERTY
46{
47 WCHAR wzName[MAX_DARWIN_KEY + 1];
48 LPWSTR pwzValue;
49
50 CPI_PROPERTY* pNext;
51};
52
53struct CPI_PROPERTY_DEFINITION 41struct 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
63void CpiInitialize(); 51void CpiSchedInitialize();
64void CpiFinalize(); 52void CpiSchedFinalize();
65BOOL CpiTableExists( 53BOOL CpiTableExists(
66 int iTable 54 int iTable
67 ); 55 );
68HRESULT CpiGetAdminCatalog( 56HRESULT CpiSchedGetAdminCatalog(
69 ICOMAdminCatalog** ppiCatalog 57 ICOMAdminCatalog** ppiCatalog
70 ); 58 );
71HRESULT CpiGetCatalogCollection( 59HRESULT CpiSchedGetCatalogCollection(
72 LPCWSTR pwzName, 60 LPCWSTR pwzName,
73 ICatalogCollection** ppiColl 61 ICatalogCollection** ppiColl
74 ); 62 );
75HRESULT CpiGetCatalogCollection( 63HRESULT 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 );
92HRESULT CpiGetPartitionsCollection( 80HRESULT CpiSchedGetPartitionsCollection(
93 ICatalogCollection** ppiPartColl 81 ICatalogCollection** ppiPartColl
94 ); 82 );
95HRESULT CpiGetApplicationsCollection( 83HRESULT CpiSchedGetApplicationsCollection(
96 ICatalogCollection** ppiAppColl 84 ICatalogCollection** ppiAppColl
97 ); 85 );
98HRESULT CpiAddActionTextToActionData( 86HRESULT CpiAddActionTextToActionData(