diff options
Diffstat (limited to 'src/libs/dutil/WixToolset.DUtil/inc/butil.h')
-rw-r--r-- | src/libs/dutil/WixToolset.DUtil/inc/butil.h | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/src/libs/dutil/WixToolset.DUtil/inc/butil.h b/src/libs/dutil/WixToolset.DUtil/inc/butil.h index d910c113..721d9ad6 100644 --- a/src/libs/dutil/WixToolset.DUtil/inc/butil.h +++ b/src/libs/dutil/WixToolset.DUtil/inc/butil.h | |||
@@ -6,7 +6,7 @@ | |||
6 | extern "C" { | 6 | extern "C" { |
7 | #endif | 7 | #endif |
8 | 8 | ||
9 | typedef enum BUNDLE_INSTALL_CONTEXT | 9 | typedef enum _BUNDLE_INSTALL_CONTEXT |
10 | { | 10 | { |
11 | BUNDLE_INSTALL_CONTEXT_MACHINE, | 11 | BUNDLE_INSTALL_CONTEXT_MACHINE, |
12 | BUNDLE_INSTALL_CONTEXT_USER, | 12 | BUNDLE_INSTALL_CONTEXT_USER, |
@@ -55,11 +55,29 @@ HRESULT DAPI BundleEnumRelatedBundle( | |||
55 | __out_ecount(MAX_GUID_CHARS+1) LPWSTR lpBundleIdBuf | 55 | __out_ecount(MAX_GUID_CHARS+1) LPWSTR lpBundleIdBuf |
56 | ); | 56 | ); |
57 | 57 | ||
58 | /******************************************************************** | ||
59 | BundleGetBundleVariable - Queries the bundle installation metadata for a given variable, | ||
60 | the caller is expected to free the memory returned vis psczValue | ||
61 | |||
62 | RETURNS: | ||
63 | S_OK | ||
64 | Success, if the variable had a value, it's returned in psczValue | ||
65 | E_INVALIDARG | ||
66 | An invalid parameter was passed to the function. | ||
67 | HRESULT_FROM_WIN32(ERROR_UNKNOWN_PRODUCT) | ||
68 | The bundle is not installed | ||
69 | HRESULT_FROM_WIN32(ERROR_UNKNOWN_PROPERTY) | ||
70 | The variable is unrecognized | ||
71 | E_NOTIMPL: | ||
72 | Tried to read a bundle variable for a type which has not been implemented | ||
73 | |||
74 | All other returns are unexpected returns from other dutil methods. | ||
75 | ********************************************************************/ | ||
58 | HRESULT DAPI BundleGetBundleVariable( | 76 | HRESULT DAPI BundleGetBundleVariable( |
59 | __in_z LPCWSTR wzBundleId, | 77 | __in_z LPCWSTR wzBundleId, |
60 | __in_z LPCWSTR wzVariable, | 78 | __in_z LPCWSTR wzVariable, |
61 | __deref_out_z LPWSTR* psczValue | 79 | __deref_out_z LPWSTR* psczValue |
62 | ); | 80 | ); |
63 | 81 | ||
64 | 82 | ||
65 | #ifdef __cplusplus | 83 | #ifdef __cplusplus |