| 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); |