blob: b50e82e9cc871f86690eded0af5e6973c60ea9fa (
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
|
#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.
enum eMimeMapParentType { mmptVDir = 1, mmptWeb = 2 };
struct SCA_MIMEMAP
{
// iis configuation information
WCHAR wzMimeMap[MAX_DARWIN_KEY + 1];
int iParentType;
WCHAR wzParentValue[MAX_DARWIN_KEY + 1];
WCHAR wzMimeType[MAX_DARWIN_KEY + 1];
WCHAR wzExtension[MAX_DARWIN_KEY + 1];
SCA_MIMEMAP* psmmNext;
};
// prototypes
HRESULT __stdcall ScaMimeMapRead(SCA_MIMEMAP** ppsmmList, __inout LPWSTR *ppwzCustomActionData);
HRESULT ScaGetMimeMap(int iParentType, LPCWSTR wzParentValue, SCA_MIMEMAP **psmmList, SCA_MIMEMAP **ppsmmOut);
HRESULT ScaMimeMapCheckList(SCA_MIMEMAP* psmmList);
void ScaMimeMapFreeList(SCA_MIMEMAP* psmmList);
HRESULT ScaWriteMimeMap(IMSAdminBase* piMetabase, LPCWSTR wzRootOfWeb,
SCA_MIMEMAP* psmmList);
|