summaryrefslogtreecommitdiff
path: root/src/ext/Sql/ca/scauser.h
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2021-05-04 22:50:16 -0700
committerRob Mensching <rob@firegiant.com>2021-05-04 22:50:16 -0700
commite713e6695bd531d1021482d454401b86c84f3f2d (patch)
treebf76f3a6a411edd1c4b47f3a54625f7f1023e95b /src/ext/Sql/ca/scauser.h
parent2977d0ffabcd6d68790e711736d2edd1fe0cc0af (diff)
downloadwix-e713e6695bd531d1021482d454401b86c84f3f2d.tar.gz
wix-e713e6695bd531d1021482d454401b86c84f3f2d.tar.bz2
wix-e713e6695bd531d1021482d454401b86c84f3f2d.zip
Move Sql.wixext into ext
Diffstat (limited to 'src/ext/Sql/ca/scauser.h')
-rw-r--r--src/ext/Sql/ca/scauser.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/ext/Sql/ca/scauser.h b/src/ext/Sql/ca/scauser.h
new file mode 100644
index 00000000..20e561f2
--- /dev/null
+++ b/src/ext/Sql/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 );