diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2018-12-15 21:46:30 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-15 21:46:30 -0600 |
commit | f7020c0d16baf2b960e7123e233e20c519f6a340 (patch) | |
tree | d2cd464ee15b2b3f304ff780c531b39bb292d331 /src/ca/scasmbexec.h | |
parent | 6ed8d107e6edf16956c778bda3573f8d7a7690fc (diff) | |
download | wix-f7020c0d16baf2b960e7123e233e20c519f6a340.tar.gz wix-f7020c0d16baf2b960e7123e233e20c519f6a340.tar.bz2 wix-f7020c0d16baf2b960e7123e233e20c519f6a340.zip |
Import implementation of UtilCA from old repo's WixCA/scasched/scaexec. (#3)
Diffstat (limited to 'src/ca/scasmbexec.h')
-rw-r--r-- | src/ca/scasmbexec.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/ca/scasmbexec.h b/src/ca/scasmbexec.h new file mode 100644 index 00000000..e3c8f8bb --- /dev/null +++ b/src/ca/scasmbexec.h | |||
@@ -0,0 +1,27 @@ | |||
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 | struct SCA_SMBP_USER_PERMS | ||
6 | { | ||
7 | DWORD nPermissions; | ||
8 | ACCESS_MODE accessMode; | ||
9 | WCHAR* wzUser; | ||
10 | //Not adding Password because I can't find anywhere that it is used | ||
11 | }; | ||
12 | |||
13 | struct SCA_SMBP // hungarian ssp | ||
14 | { | ||
15 | WCHAR* wzKey; | ||
16 | WCHAR* wzDescription; | ||
17 | WCHAR* wzComponent; | ||
18 | WCHAR* wzDirectory; // full path of the dir to share to | ||
19 | |||
20 | DWORD dwUserPermissionCount; //Count of SCA_SMBP_EX_USER_PERMS structures | ||
21 | SCA_SMBP_USER_PERMS* pUserPerms; | ||
22 | BOOL fUseIntegratedAuth; | ||
23 | }; | ||
24 | |||
25 | |||
26 | HRESULT ScaEnsureSmbExists(SCA_SMBP* pssp); | ||
27 | HRESULT ScaDropSmb(SCA_SMBP* pssp); | ||