diff options
Diffstat (limited to 'src/burn/engine/dependency.h')
-rw-r--r-- | src/burn/engine/dependency.h | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/src/burn/engine/dependency.h b/src/burn/engine/dependency.h index 06a01a20..3dacaf99 100644 --- a/src/burn/engine/dependency.h +++ b/src/burn/engine/dependency.h | |||
@@ -11,6 +11,18 @@ extern "C" { | |||
11 | const LPCWSTR DEPENDENCY_IGNOREDEPENDENCIES = L"IGNOREDEPENDENCIES"; | 11 | const LPCWSTR DEPENDENCY_IGNOREDEPENDENCIES = L"IGNOREDEPENDENCIES"; |
12 | 12 | ||
13 | 13 | ||
14 | typedef struct _BURN_DEPENDENCIES | ||
15 | { | ||
16 | DEPENDENCY* rgIgnoredDependencies; | ||
17 | UINT cIgnoredDependencies; | ||
18 | LPCWSTR wzActiveParent; | ||
19 | LPCWSTR wzSelfDependent; | ||
20 | BOOL fIgnoreAllDependents; | ||
21 | BOOL fSelfDependent; | ||
22 | BOOL fActiveParent; | ||
23 | } BURN_DEPENDENCIES; | ||
24 | |||
25 | |||
14 | // function declarations | 26 | // function declarations |
15 | 27 | ||
16 | /******************************************************************** | 28 | /******************************************************************** |
@@ -33,8 +45,13 @@ HRESULT DependencyParseProvidersFromXml( | |||
33 | ); | 45 | ); |
34 | 46 | ||
35 | HRESULT DependencyInitialize( | 47 | HRESULT DependencyInitialize( |
36 | __in BURN_REGISTRATION* pRegistration, | 48 | __in BURN_ENGINE_COMMAND* pInternalCommand, |
37 | __in_z_opt LPCWSTR wzIgnoreDependencies | 49 | __in BURN_DEPENDENCIES* pDependencies, |
50 | __in BURN_REGISTRATION* pRegistration | ||
51 | ); | ||
52 | |||
53 | void DependencyUninitialize( | ||
54 | __in BURN_DEPENDENCIES* pDependencies | ||
38 | ); | 55 | ); |
39 | 56 | ||
40 | /******************************************************************** | 57 | /******************************************************************** |
@@ -52,7 +69,9 @@ HRESULT DependencyDetectProviderKeyBundleId( | |||
52 | 69 | ||
53 | *********************************************************************/ | 70 | *********************************************************************/ |
54 | HRESULT DependencyDetect( | 71 | HRESULT DependencyDetect( |
55 | __in BURN_ENGINE_STATE* pEngineState | 72 | __in BURN_DEPENDENCIES* pDependencies, |
73 | __in BURN_PACKAGES* pPackages, | ||
74 | __in BURN_REGISTRATION* pRegistration | ||
56 | ); | 75 | ); |
57 | 76 | ||
58 | /******************************************************************** | 77 | /******************************************************************** |
@@ -60,7 +79,7 @@ HRESULT DependencyDetect( | |||
60 | 79 | ||
61 | *********************************************************************/ | 80 | *********************************************************************/ |
62 | HRESULT DependencyPlanInitialize( | 81 | HRESULT DependencyPlanInitialize( |
63 | __in const BURN_REGISTRATION* pRegistration, | 82 | __in BURN_DEPENDENCIES* pDependencies, |
64 | __in BURN_PLAN* pPlan | 83 | __in BURN_PLAN* pPlan |
65 | ); | 84 | ); |
66 | 85 | ||