| 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 SCA_WEBSVCEXT_ATTRIBUTES { SWSEATTRIB_ALLOW = 1, SWSEATTRIB_UIDELETABLE = 2 }; |
| 6 | |
| 7 | struct SCA_WEBSVCEXT |
| 8 | { |
| 9 | // darwin information |
| 10 | INSTALLSTATE isInstalled; |
| 11 | INSTALLSTATE isAction; |
| 12 | |
| 13 | // iis configuation information |
| 14 | WCHAR wzFile[MAX_PATH + 1]; |
| 15 | WCHAR wzDescription[MAX_DARWIN_COLUMN + 1]; |
| 16 | WCHAR wzGroup[MAX_DARWIN_COLUMN + 1]; |
| 17 | |
| 18 | int iAttributes; |
| 19 | |
| 20 | SCA_WEBSVCEXT* psWseNext; |
| 21 | }; |
| 22 | |
| 23 | HRESULT __stdcall ScaWebSvcExtRead( |
| 24 | __in SCA_WEBSVCEXT** ppsWseList, |
| 25 | __inout LPWSTR *ppwzCustomActionData |
| 26 | ); |
| 27 | |
| 28 | HRESULT ScaWebSvcExtCommit( |
| 29 | __in IMSAdminBase* piMetabase, |
| 30 | __in SCA_WEBSVCEXT* psWseList |
| 31 | ); |
| 32 | |
| 33 | void ScaWebSvcExtFreeList( |
| 34 | __in SCA_WEBSVCEXT* psWseList |
| 35 | ); |