diff options
Diffstat (limited to 'src/ext/Iis/ca/scaweberr.h')
-rw-r--r-- | src/ext/Iis/ca/scaweberr.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/ext/Iis/ca/scaweberr.h b/src/ext/Iis/ca/scaweberr.h new file mode 100644 index 00000000..ad8ff4f5 --- /dev/null +++ b/src/ext/Iis/ca/scaweberr.h | |||
@@ -0,0 +1,30 @@ | |||
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 | enum eWebErrorParentType { weptVDir = 1, weptWeb }; | ||
6 | |||
7 | struct SCA_WEB_ERROR | ||
8 | { | ||
9 | int iErrorCode; | ||
10 | int iSubCode; | ||
11 | |||
12 | int iParentType; | ||
13 | WCHAR wzParentValue[MAX_DARWIN_KEY + 1]; | ||
14 | |||
15 | WCHAR wzFile[MAX_PATH]; | ||
16 | WCHAR wzURL[MAX_PATH]; // TODO: this needs to be bigger than MAX_PATH | ||
17 | |||
18 | SCA_WEB_ERROR *psweNext; | ||
19 | }; | ||
20 | |||
21 | // prototypes | ||
22 | HRESULT ScaWebErrorRead( | ||
23 | SCA_WEB_ERROR **ppsweList, | ||
24 | __inout LPWSTR *ppwzCustomActionData | ||
25 | ); | ||
26 | void ScaWebErrorFreeList(SCA_WEB_ERROR *psweList); | ||
27 | HRESULT ScaWebErrorCheckList(SCA_WEB_ERROR* psweList); | ||
28 | HRESULT ScaGetWebError(int iParentType, LPCWSTR wzParentValue, SCA_WEB_ERROR **ppsweList, SCA_WEB_ERROR **ppsweOut); | ||
29 | HRESULT ScaWriteWebError(IMSAdminBase* piMetabase, int iParentType, LPCWSTR wzRoot, SCA_WEB_ERROR* psweList); | ||
30 | |||