aboutsummaryrefslogtreecommitdiff
path: root/src/dutil/inc/butil.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dutil/inc/butil.h')
-rw-r--r--src/dutil/inc/butil.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/dutil/inc/butil.h b/src/dutil/inc/butil.h
new file mode 100644
index 00000000..a42cac11
--- /dev/null
+++ b/src/dutil/inc/butil.h
@@ -0,0 +1,31 @@
1#pragma once
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
4
5#ifdef __cplusplus
6extern "C" {
7#endif
8
9enum BUNDLE_INSTALL_CONTEXT
10{
11 BUNDLE_INSTALL_CONTEXT_MACHINE,
12 BUNDLE_INSTALL_CONTEXT_USER,
13};
14
15HRESULT DAPI BundleGetBundleInfo(
16 __in LPCWSTR szBundleId, // Bundle code
17 __in LPCWSTR szAttribute, // attribute name
18 __out_ecount_opt(*pcchValueBuf) LPWSTR lpValueBuf, // returned value, NULL if not desired
19 __inout_opt LPDWORD pcchValueBuf // in/out buffer character count
20 );
21
22HRESULT DAPI BundleEnumRelatedBundle(
23 __in LPCWSTR lpUpgradeCode,
24 __in BUNDLE_INSTALL_CONTEXT context,
25 __inout PDWORD pdwStartIndex,
26 __out_ecount(MAX_GUID_CHARS+1) LPWSTR lpBundleIdBuf
27 );
28
29#ifdef __cplusplus
30}
31#endif