Source code of Windows XP (NT5)
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
/**********************************************************************/ /** Microsoft Windows NT **/ /** Copyright(c) Microsoft Corp., 1992 **/ /**********************************************************************/
/*
ShareAcl.hxx
This file contains the manifests for the Share ACL UI to the Generic ACL Editor.
FILE HISTORY: ChuckC 10-Aug-1992 Created Yi-HsinS 9-Oct-1992 Added ulHelpContextBase to EditShareAcl
*/
#ifndef _SHAREACL_HXX_
#define _SHAREACL_HXX_
APIERR EditShareAcl( HWND hwndParent, const TCHAR * pszServer, const TCHAR * pszResource, BOOL * pfSecDescModified, OS_SECURITY_DESCRIPTOR ** ppOsSecDesc, ULONG ulHelpContextBase ) ;
APIERR CreateDefaultAcl( OS_SECURITY_DESCRIPTOR ** ppOsSecDesc ) ;
APIERR GetSharePerm (const TCHAR * pszServer, const TCHAR * pszShare, OS_SECURITY_DESCRIPTOR ** ppOsSecDesc ) ;
APIERR SetSharePerm (const TCHAR * pszServer, const TCHAR * pszShare, const OS_SECURITY_DESCRIPTOR * pOsSecDesc ) ;
/*
* Share General Permissions */ #define FILE_PERM_GEN_NO_ACCESS (0)
#define FILE_PERM_GEN_READ (GENERIC_READ |\
GENERIC_EXECUTE) #define FILE_PERM_GEN_MODIFY (GENERIC_READ |\
GENERIC_EXECUTE |\ GENERIC_WRITE |\ DELETE ) #define FILE_PERM_GEN_ALL (GENERIC_ALL)
#endif // _SHAREACL_HXX_
|