diff options
author | Rob Mensching <rob@firegiant.com> | 2021-04-22 06:38:23 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2021-04-29 16:21:09 -0700 |
commit | 7f642e51670bc38a4ef782a363936850bc2b0ba9 (patch) | |
tree | 19684b2d94979f130c0935328f0d44cf006e45ef /src/libs/dutil/WixToolset.DUtil/inc/userutil.h | |
parent | f39e7a3e164d0736e45049e5726d0da2013da3c9 (diff) | |
download | wix-7f642e51670bc38a4ef782a363936850bc2b0ba9.tar.gz wix-7f642e51670bc38a4ef782a363936850bc2b0ba9.tar.bz2 wix-7f642e51670bc38a4ef782a363936850bc2b0ba9.zip |
Move dutil into libs/dutil
Diffstat (limited to 'src/libs/dutil/WixToolset.DUtil/inc/userutil.h')
-rw-r--r-- | src/libs/dutil/WixToolset.DUtil/inc/userutil.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/libs/dutil/WixToolset.DUtil/inc/userutil.h b/src/libs/dutil/WixToolset.DUtil/inc/userutil.h new file mode 100644 index 00000000..2c86d229 --- /dev/null +++ b/src/libs/dutil/WixToolset.DUtil/inc/userutil.h | |||
@@ -0,0 +1,32 @@ | |||
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 | #ifdef __cplusplus | ||
6 | extern "C" { | ||
7 | #endif | ||
8 | |||
9 | HRESULT DAPI UserBuildDomainUserName( | ||
10 | __out_ecount_z(cchDest) LPWSTR wzDest, | ||
11 | __in int cchDest, | ||
12 | __in_z LPCWSTR pwzName, | ||
13 | __in_z LPCWSTR pwzDomain | ||
14 | ); | ||
15 | |||
16 | HRESULT DAPI UserCheckIsMember( | ||
17 | __in_z LPCWSTR pwzName, | ||
18 | __in_z LPCWSTR pwzDomain, | ||
19 | __in_z LPCWSTR pwzGroupName, | ||
20 | __in_z LPCWSTR pwzGroupDomain, | ||
21 | __out LPBOOL lpfMember | ||
22 | ); | ||
23 | |||
24 | HRESULT DAPI UserCreateADsPath( | ||
25 | __in_z LPCWSTR wzObjectDomain, | ||
26 | __in_z LPCWSTR wzObjectName, | ||
27 | __out BSTR *pbstrAdsPath | ||
28 | ); | ||
29 | |||
30 | #ifdef __cplusplus | ||
31 | } | ||
32 | #endif | ||