main
h 39 lines 945 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 // structs
5 struct SCA_GROUP
6 {
7 WCHAR wzKey[MAX_DARWIN_KEY + 1];
8 WCHAR wzComponent[MAX_DARWIN_KEY + 1];
9
10 WCHAR wzDomain[MAX_DARWIN_COLUMN + 1];
11 WCHAR wzName[MAX_DARWIN_COLUMN + 1];
12
13 SCA_GROUP *psgNext;
14 };
15
16 struct SCA_USER
17 {
18 WCHAR wzKey[MAX_DARWIN_KEY + 1];
19 WCHAR wzComponent[MAX_DARWIN_KEY + 1];
20 INSTALLSTATE isInstalled;
21 INSTALLSTATE isAction;
22
23 WCHAR wzDomain[MAX_DARWIN_COLUMN + 1];
24 WCHAR wzName[MAX_DARWIN_COLUMN + 1];
25 WCHAR wzPassword[MAX_DARWIN_COLUMN + 1];
26 INT iAttributes;
27
28 SCA_GROUP *psgGroups;
29
30 SCA_USER *psuNext;
31 };
32
33
34 // prototypes
35 HRESULT __stdcall ScaGetUserDeferred(
36 __in LPCWSTR wzUser,
37 __in WCA_WRAPQUERY_HANDLE hUserQuery,
38 __out SCA_USER* pscau
39 );