diff options
Diffstat (limited to 'src/ext/Util/ca/scagroup.h')
-rw-r--r-- | src/ext/Util/ca/scagroup.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/ext/Util/ca/scagroup.h b/src/ext/Util/ca/scagroup.h new file mode 100644 index 00000000..8666d852 --- /dev/null +++ b/src/ext/Util/ca/scagroup.h | |||
@@ -0,0 +1,47 @@ | |||
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 | enum GROUP_EXISTS | ||
5 | { | ||
6 | GROUP_EXISTS_YES, | ||
7 | GROUP_EXISTS_NO, | ||
8 | GROUP_EXISTS_INDETERMINATE | ||
9 | }; | ||
10 | |||
11 | // structs | ||
12 | struct SCA_GROUP | ||
13 | { | ||
14 | WCHAR wzKey[MAX_DARWIN_KEY + 1]; | ||
15 | WCHAR wzComponent[MAX_DARWIN_KEY + 1]; | ||
16 | INSTALLSTATE isInstalled; | ||
17 | INSTALLSTATE isAction; | ||
18 | |||
19 | WCHAR wzDomain[MAX_DARWIN_COLUMN + 1]; | ||
20 | WCHAR wzName[MAX_DARWIN_COLUMN + 1]; | ||
21 | WCHAR wzComment[MAX_DARWIN_COLUMN + 1]; | ||
22 | INT iAttributes; | ||
23 | |||
24 | SCA_GROUP* psgGroups; | ||
25 | |||
26 | SCA_GROUP *psgNext; | ||
27 | }; | ||
28 | |||
29 | // prototypes | ||
30 | HRESULT __stdcall ScaGetGroup( | ||
31 | __in LPCWSTR wzGroup, | ||
32 | __out SCA_GROUP* pscag | ||
33 | ); | ||
34 | HRESULT __stdcall ScaGetGroupDeferred( | ||
35 | __in LPCWSTR wzGroup, | ||
36 | __in WCA_WRAPQUERY_HANDLE hGroupQuery, | ||
37 | __out SCA_GROUP* pscag | ||
38 | ); | ||
39 | void ScaGroupFreeList( | ||
40 | __in SCA_GROUP* psgList | ||
41 | ); | ||
42 | HRESULT ScaGroupRead( | ||
43 | __inout SCA_GROUP** ppsgList | ||
44 | ); | ||
45 | HRESULT ScaGroupExecute( | ||
46 | __in SCA_GROUP*psgList | ||
47 | ); | ||