blob: e3c8f8bb543ed8550f19c03a0a5f2f1e1f11048c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#pragma once
// 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.
struct SCA_SMBP_USER_PERMS
{
DWORD nPermissions;
ACCESS_MODE accessMode;
WCHAR* wzUser;
//Not adding Password because I can't find anywhere that it is used
};
struct SCA_SMBP // hungarian ssp
{
WCHAR* wzKey;
WCHAR* wzDescription;
WCHAR* wzComponent;
WCHAR* wzDirectory; // full path of the dir to share to
DWORD dwUserPermissionCount; //Count of SCA_SMBP_EX_USER_PERMS structures
SCA_SMBP_USER_PERMS* pUserPerms;
BOOL fUseIntegratedAuth;
};
HRESULT ScaEnsureSmbExists(SCA_SMBP* pssp);
HRESULT ScaDropSmb(SCA_SMBP* pssp);
|