diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2021-02-01 20:36:39 -0600 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2021-02-04 22:16:10 -0600 |
| commit | cc5fe7c79aad14819df1b4cb134884b80a945141 (patch) | |
| tree | 4b0ab44744a6b989f784292d438ef0654d9b03ac /src/engine/dependency.h | |
| parent | cede270b2bd3da6bd8d5205b8834e786c8d6c1ce (diff) | |
| download | wix-cc5fe7c79aad14819df1b4cb134884b80a945141.tar.gz wix-cc5fe7c79aad14819df1b4cb134884b80a945141.tar.bz2 wix-cc5fe7c79aad14819df1b4cb134884b80a945141.zip | |
Move registry checks for dependency ref-counting into Detect.
Diffstat (limited to 'src/engine/dependency.h')
| -rw-r--r-- | src/engine/dependency.h | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/src/engine/dependency.h b/src/engine/dependency.h index 905857e0..5390bede 100644 --- a/src/engine/dependency.h +++ b/src/engine/dependency.h | |||
| @@ -14,11 +14,11 @@ const LPCWSTR DEPENDENCY_IGNOREDEPENDENCIES = L"IGNOREDEPENDENCIES"; | |||
| 14 | // function declarations | 14 | // function declarations |
| 15 | 15 | ||
| 16 | /******************************************************************** | 16 | /******************************************************************** |
| 17 | DependencyUninitialize - Frees and zeros memory allocated in the | 17 | DependencyUninitializeProvider - Frees and zeros memory allocated in |
| 18 | dependency. | 18 | the dependency provider. |
| 19 | 19 | ||
| 20 | *********************************************************************/ | 20 | *********************************************************************/ |
| 21 | void DependencyUninitialize( | 21 | void DependencyUninitializeProvider( |
| 22 | __in BURN_DEPENDENCY_PROVIDER* pProvider | 22 | __in BURN_DEPENDENCY_PROVIDER* pProvider |
| 23 | ); | 23 | ); |
| 24 | 24 | ||
| @@ -32,16 +32,9 @@ HRESULT DependencyParseProvidersFromXml( | |||
| 32 | __in IXMLDOMNode* pixnPackage | 32 | __in IXMLDOMNode* pixnPackage |
| 33 | ); | 33 | ); |
| 34 | 34 | ||
| 35 | /******************************************************************** | 35 | HRESULT DependencyInitialize( |
| 36 | DependencyDetectProviderKeyPackageId - Detect if the provider key is | 36 | __in BURN_REGISTRATION* pRegistration, |
| 37 | registered and if so what package code is registered. | 37 | __in_z_opt LPCWSTR wzIgnoreDependencies |
| 38 | |||
| 39 | Note: Returns E_NOTFOUND if the provider key is not registered. | ||
| 40 | *********************************************************************/ | ||
| 41 | HRESULT DependencyDetectProviderKeyPackageId( | ||
| 42 | __in const BURN_PACKAGE* pPackage, | ||
| 43 | __deref_opt_out_z_opt LPWSTR* psczProviderKey, | ||
| 44 | __deref_opt_out_z_opt LPWSTR* psczId | ||
| 45 | ); | 38 | ); |
| 46 | 39 | ||
| 47 | /******************************************************************** | 40 | /******************************************************************** |
| @@ -55,11 +48,19 @@ HRESULT DependencyDetectProviderKeyBundleId( | |||
| 55 | ); | 48 | ); |
| 56 | 49 | ||
| 57 | /******************************************************************** | 50 | /******************************************************************** |
| 51 | DependencyDetect - Detects dependency information. | ||
| 52 | |||
| 53 | *********************************************************************/ | ||
| 54 | HRESULT DependencyDetect( | ||
| 55 | __in BURN_ENGINE_STATE* pEngineState | ||
| 56 | ); | ||
| 57 | |||
| 58 | /******************************************************************** | ||
| 58 | DependencyPlanInitialize - Initializes the plan. | 59 | DependencyPlanInitialize - Initializes the plan. |
| 59 | 60 | ||
| 60 | *********************************************************************/ | 61 | *********************************************************************/ |
| 61 | HRESULT DependencyPlanInitialize( | 62 | HRESULT DependencyPlanInitialize( |
| 62 | __in const BURN_ENGINE_STATE* pEngineState, | 63 | __in const BURN_REGISTRATION* pRegistration, |
| 63 | __in BURN_PLAN* pPlan | 64 | __in BURN_PLAN* pPlan |
| 64 | ); | 65 | ); |
| 65 | 66 | ||
