diff options
Diffstat (limited to 'src/libs/dutil/WixToolset.DUtil/inc/butil.h')
-rw-r--r-- | src/libs/dutil/WixToolset.DUtil/inc/butil.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/libs/dutil/WixToolset.DUtil/inc/butil.h b/src/libs/dutil/WixToolset.DUtil/inc/butil.h index 721d9ad6..989d4237 100644 --- a/src/libs/dutil/WixToolset.DUtil/inc/butil.h +++ b/src/libs/dutil/WixToolset.DUtil/inc/butil.h | |||
@@ -14,7 +14,8 @@ typedef enum _BUNDLE_INSTALL_CONTEXT | |||
14 | 14 | ||
15 | 15 | ||
16 | /******************************************************************** | 16 | /******************************************************************** |
17 | BundleGetBundleInfo - Queries the bundle installation metadata for a given property | 17 | BundleGetBundleInfo - Queries the bundle installation metadata for a given property, |
18 | the caller is expected to free the memory returned vis psczValue | ||
18 | 19 | ||
19 | RETURNS: | 20 | RETURNS: |
20 | E_INVALIDARG | 21 | E_INVALIDARG |
@@ -23,18 +24,15 @@ RETURNS: | |||
23 | The bundle is not installed | 24 | The bundle is not installed |
24 | HRESULT_FROM_WIN32(ERROR_UNKNOWN_PROPERTY) | 25 | HRESULT_FROM_WIN32(ERROR_UNKNOWN_PROPERTY) |
25 | The property is unrecognized | 26 | The property is unrecognized |
26 | HRESULT_FROM_WIN32(ERROR_MORE_DATA) | ||
27 | A buffer is too small to hold the requested data. | ||
28 | E_NOTIMPL: | 27 | E_NOTIMPL: |
29 | Tried to read a bundle attribute for a type which has not been implemented | 28 | Tried to read a bundle attribute for a type which has not been implemented |
30 | 29 | ||
31 | All other returns are unexpected returns from other dutil methods. | 30 | All other returns are unexpected returns from other dutil methods. |
32 | ********************************************************************/ | 31 | ********************************************************************/ |
33 | HRESULT DAPI BundleGetBundleInfo( | 32 | HRESULT DAPI BundleGetBundleInfo( |
34 | __in_z LPCWSTR szBundleId, // Bundle code | 33 | __in_z LPCWSTR szBundleId, |
35 | __in_z LPCWSTR szAttribute, // attribute name | 34 | __in_z LPCWSTR szAttribute, |
36 | __out_ecount_opt(*pcchValueBuf) LPWSTR lpValueBuf, // returned value, NULL if not desired | 35 | __deref_out_z LPWSTR* psczValue |
37 | __inout_opt LPDWORD pcchValueBuf // in/out buffer character count | ||
38 | ); | 36 | ); |
39 | 37 | ||
40 | /******************************************************************** | 38 | /******************************************************************** |