aboutsummaryrefslogtreecommitdiff
path: root/src/ca/scaproperty.h
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2018-12-16 21:19:24 -0600
committerSean Hall <r.sean.hall@gmail.com>2018-12-16 21:20:40 -0600
commit95a5a8f9efef02ddcec5b3f69be99a00d71a802a (patch)
treef0a92b8e8e37e17af6053db11f1b8a7a532cd12c /src/ca/scaproperty.h
parentaec6e9a4b21accd2e8aeb2cb36ad1cdc8f308f79 (diff)
downloadwix-95a5a8f9efef02ddcec5b3f69be99a00d71a802a.tar.gz
wix-95a5a8f9efef02ddcec5b3f69be99a00d71a802a.tar.bz2
wix-95a5a8f9efef02ddcec5b3f69be99a00d71a802a.zip
Import implementation of IisCA from old repo's scasched/scaexec.
Diffstat (limited to 'src/ca/scaproperty.h')
-rw-r--r--src/ca/scaproperty.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/src/ca/scaproperty.h b/src/ca/scaproperty.h
new file mode 100644
index 00000000..21e7cfc7
--- /dev/null
+++ b/src/ca/scaproperty.h
@@ -0,0 +1,54 @@
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#define wzIISPROPERTY_IIS5_ISOLATION_MODE L"IIs5IsolationMode"
6#define wzIISPROPERTY_MAX_GLOBAL_BANDWIDTH L"MaxGlobalBandwidth"
7#define wzIISPROPERTY_LOG_IN_UTF8 L"LogInUTF8"
8#define wzIISPROPERTY_ETAG_CHANGENUMBER L"ETagChangeNumber"
9
10struct SCA_PROPERTY
11{
12 // iis configuation information
13 WCHAR wzProperty[MAX_DARWIN_KEY + 1];
14 WCHAR wzComponent[MAX_DARWIN_KEY + 1];
15 INSTALLSTATE isInstalled;
16 INSTALLSTATE isAction;
17 INT iAttributes;
18 WCHAR wzValue[MAX_DARWIN_COLUMN + 1];
19
20 SCA_PROPERTY *pspNext;
21};
22
23
24// prototypes
25
26HRESULT ScaPropertyRead(
27 SCA_PROPERTY** ppspList,
28 __inout LPWSTR *ppwzCustomActionData
29 );
30
31void ScaPropertyFreeList(
32 SCA_PROPERTY* pspList
33 );
34
35HRESULT ScaPropertyInstall(
36 IMSAdminBase* piMetabase,
37 SCA_PROPERTY* pspList
38 );
39
40HRESULT ScaPropertyUninstall(
41 IMSAdminBase* piMetabase,
42 SCA_PROPERTY* pspList
43 );
44
45HRESULT ScaWriteProperty(
46 IMSAdminBase* piMetabase,
47 SCA_PROPERTY* psp
48 );
49
50HRESULT ScaRemoveProperty(
51 IMSAdminBase* piMetabase,
52 SCA_PROPERTY* psp
53 );
54