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