aboutsummaryrefslogtreecommitdiff
path: root/src/ca/scauser.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ca/scauser.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/ca/scauser.h b/src/ca/scauser.h
new file mode 100644
index 00000000..20e561f2
--- /dev/null
+++ b/src/ca/scauser.h
@@ -0,0 +1,40 @@
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
6// structs
7struct SCA_GROUP
8{
9 WCHAR wzKey[MAX_DARWIN_KEY + 1];
10 WCHAR wzComponent[MAX_DARWIN_KEY + 1];
11
12 WCHAR wzDomain[MAX_DARWIN_COLUMN + 1];
13 WCHAR wzName[MAX_DARWIN_COLUMN + 1];
14
15 SCA_GROUP *psgNext;
16};
17
18struct SCA_USER
19{
20 WCHAR wzKey[MAX_DARWIN_KEY + 1];
21 WCHAR wzComponent[MAX_DARWIN_KEY + 1];
22 INSTALLSTATE isInstalled;
23 INSTALLSTATE isAction;
24
25 WCHAR wzDomain[MAX_DARWIN_COLUMN + 1];
26 WCHAR wzName[MAX_DARWIN_COLUMN + 1];
27 WCHAR wzPassword[MAX_DARWIN_COLUMN + 1];
28 INT iAttributes;
29
30 SCA_GROUP *psgGroups;
31
32 SCA_USER *psuNext;
33};
34
35
36// prototypes
37HRESULT __stdcall ScaGetUser(
38 __in LPCWSTR wzUser,
39 __out SCA_USER* pscau
40 );