Page 1 sur 1

comment enlever l'onglet sécurité d'un seul document ?

Publié : ven. 01/déc./2006 21:45
par SpaceMan
salut à tous

je rammene encore une de ces questions ..... en fait je voudrais savoir comment enlever l'onglet sécurité d'un seul document(fichier ou dossier) sans que cela n'affecte les autres documents du système. :roll:
Merci de supporter mes .....

toujours rien

Publié : lun. 04/déc./2006 18:36
par SpaceMan
salut
y a t'il quelqu'u qui puisse m'expliquer à quoi sert ce bout de code please ?

Code : Tout sélectionner

; Source generiert durch DLL2PBLib
; Copyright 2005 by Thomas Schulz (TS-Soft)


; Globale Variablen deklaration

Global PathRemoveFileSpecA.l
Global PathRemoveFileSpecW.l

; Init-Funktion
ProcedureDLL shlwapi_Init()
  Shared DLL.l
  DLL = LoadLibrary_("shlwapi.dll")
  If DLL
 
    PathRemoveFileSpecA = GetProcAddress_(DLL, "PathRemoveFileSpecA")
    
  EndIf
EndProcedure
; End-Funktion

ProcedureDLL.l PathRemoveFileSpecA(a.l)
  ProcedureReturn CallFunctionFast(PathRemoveFileSpecA,a)
EndProcedure

ProcedureDLL.l PathRemoveFileSpecW(a.l)
  ProcedureReturn CallFunctionFast(PathRemoveFileSpecW,a)
EndProcedure
merci d'avance

Publié : lun. 04/déc./2006 23:20
par Backup
NAME

PathRemoveFileSpecA (SHLWAPI.@)
SYNOPSIS

BOOL PathRemoveFileSpecA
(
LPSTR lpszPath
)

DESCRIPTION

Remove the file specification from a path.
PARAMS
lpszPath [In/Out] Path to remove the file spec from.
RETURNS

TRUE If the path was valid and modified FALSE Otherwise
IMPLEMENTATION

Defined in "shlwapi.h".