main
h 36 lines 944 Bytes
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 "scauser.h"
6
7 // Identity
8 #define APATTR_NETSERVICE 0x0001 // Network Service
9 #define APATTR_LOCSERVICE 0x0002 // Local Service
10 #define APATTR_LOCSYSTEM 0x0004 // Local System
11 #define APATTR_OTHERUSER 0x0008 // Other User
12 #define APATTR_APPPOOLIDENTITY 0x0010 // ApplicationPoolIdentity
13
14 // prototypes
15 HRESULT ScaFindAppPool7(
16 __in LPCWSTR wzAppPool,
17 __out_ecount(cchName) LPWSTR wzName,
18 __in DWORD cchName,
19 __in SCA_APPPOOL *psapList
20 );
21
22 HRESULT ScaAppPoolInstall7(
23 __in SCA_APPPOOL* psapList
24 );
25
26 HRESULT ScaAppPoolUninstall7(
27 __in SCA_APPPOOL* psapList
28 );
29
30 HRESULT ScaWriteAppPool7(
31 __in const SCA_APPPOOL* psap
32 );
33
34 HRESULT ScaRemoveAppPool7(
35 __in const SCA_APPPOOL* psap
36 );