main
h 66 lines 1.69 KB
Raw
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 #include "scawebprop.h"
6 #include "scawebapp.h"
7 #include "scamimemap.h"
8 #include "scaapppool.h"
9
10 struct SCA_VDIR7
11 {
12 // darwin information
13 WCHAR wzKey[MAX_DARWIN_KEY + 1];
14 WCHAR wzComponent[MAX_DARWIN_KEY + 1];
15 INSTALLSTATE isInstalled;
16 INSTALLSTATE isAction;
17
18 // metabase information
19 WCHAR wzWebKey[MAX_DARWIN_KEY + 1];
20 WCHAR wzWebName[METADATA_MAX_NAME_LEN + 1];
21 WCHAR wzVDirRoot[METADATA_MAX_NAME_LEN + 1];
22
23 // iis configuation information
24 WCHAR wzDirectory[MAX_PATH];
25
26 BOOL fHasProperties;
27 SCA_WEB_PROPERTIES swp;
28
29 BOOL fHasApplication;
30 SCA_WEB_APPLICATION swapp;
31
32 SCA_MIMEMAP* psmm; // mime mappings
33 SCA_HTTP_HEADER* pshh; // custom web errors
34 SCA_WEB_ERROR* pswe; // custom web errors
35
36 SCA_VDIR7* psvdNext;
37 };
38
39
40 // prototypes
41 HRESULT __stdcall ScaVirtualDirsRead7(
42 __in SCA_WEB7* pswList,
43 __in SCA_VDIR7** ppsvdList,
44 __in SCA_MIMEMAP** ppsmmList,
45 __in SCA_HTTP_HEADER** ppshhList,
46 __in SCA_WEB_ERROR** ppsweList,
47 __in WCA_WRAPQUERY_HANDLE hUserQuery,
48 __in WCA_WRAPQUERY_HANDLE hWebBaseQuery,
49 __in WCA_WRAPQUERY_HANDLE hWebDirPropQuery,
50 __in WCA_WRAPQUERY_HANDLE hWebAppQuery,
51 __in WCA_WRAPQUERY_HANDLE hWebAppExtQuery,
52 __inout LPWSTR *ppwzCustomActionData
53 );
54
55 HRESULT ScaVirtualDirsInstall7(
56 __in SCA_VDIR7* psvdList,
57 __in SCA_APPPOOL * psapList
58 );
59
60 HRESULT ScaVirtualDirsUninstall7(
61 __in SCA_VDIR7* psvdList
62 );
63
64 void ScaVirtualDirsFreeList7(
65 __in SCA_VDIR7* psvdList
66 );