| 
 Desktop Functions: Smart Device Functions: 
 
 
 | Search Results for "setnamedsecurityinfo" in [All]ConstantsEnums
  [DllImport("advapi32.dll", EntryPoint = "SetNamedSecurityInfoW", CallingConvention = CallingConvention.Winapi,  advapi32
static extern TODO SetNamedSecurityInfo)(TODO); 
Declare Function SetNamedSecurityInfo) Lib "advapi32.dll" (TODO) As TODO 
static extern uint SetNamedSecurityInfo( 
Declare Function SetNamedSecurityInfo Lib "advapi32.dll" ( _ 
private static extern uint SetNamedSecurityInfoW(String pObjectName, SE_OBJECT_TYPE ObjectType, SECURITY_INFORMATION SecurityInfo, IntPtr psidOwner, IntPtr psidGroup, IntPtr pDacl, IntPtr pSacl); 
        SetNamedSecurityInfoW(UnicodeHeader+objectName, SE_OBJECT_TYPE.SE_FILE_OBJECT, sFlags,sidPtr , IntPtr.Zero, IntPtr.Zero, IntPtr.Zero); 
ret = SetNamedSecurityInfo(strPath, _ The TreeSetNamedSecurityInfo function sets specified security information in the security descriptor of a specified tree of objects. This function allows a specified discretionary access control list (DACL) or any elements in the system access control list (SACL) to be propagated throughout an entire tree. This function supports a callback function to track the progress of the tree operation. 
[DllImport("advapi32.dll", EntryPoint = "TreeSetNamedSecurityInfoW", SetLastError = true, CharSet = CharSet.Unicode)] 
static extern uint TreeSetNamedSecurityInfo(string pObjectName, SE_OBJECT_TYPE ObjectType, SecurityInformation SecurityInfo, 
    uint errorReturn = TreeSetNamedSecurityInfo(path, SE_OBJECT_TYPE.SE_FILE_OBJECT, si, pSidOwner, pSidGroup, pDacl, pSacl, TREE_SEC_INFO_SET, callback, PROGRESS_INVOKE_SETTING.ProgressInvokePrePostError, pArgs); |