|
Written by Christian Wimmer
|
|
Sunday, 13 August 2006 |
|
For Delphi 5 to 7 I created this component to be integrated into the Delphi IDE. It creates from functions in source a PasDoc comment.
(* CreateRestrictedToken @param(ExistingTokenHandle <Type>) @param(Flags <Type>) @param(DisableSidCount <Type>) @param(SidsToDisable <Type>) @param(DeletePrivilegeCount <Type>) @param(PrivilegesToDelete <Type>) @param(RestrictedSidCount <Type>) @param(SidsToRestrict <Type>) @param(NewTokenHandle <Type>)
@return(CreateRestrictedToken) *) function CreateRestrictedToken( ExistingTokenHandle : THAndle; Flags, DisableSidCount : Cardinal; SidsToDisable : Pointer; DeletePrivilegeCount : Cardinal; PrivilegesToDelete : Pointer; RestrictedSidCount : Cardinal; SidsToRestrict : Pointer; var NewTokenHandle : Cardinal) : Boolean; Installation The DLL file is simply copied into a directory of your choice. In registry editor you create a new entry at this key: HKEY_CURRENT_USER\Software\Borland\Delphi\<Version>\Experts Replace <Version> with your Delphi version number. Create a new string with a name of your choice but the content of the full path to the DLL you copied at first. E.g. C:\Programme\Delphi\5\DCommenter\DCommenter.dll
After you restarted Delphi you will find a new menu entry in "Tools" main menu. Download DLL |
|
Last Updated ( Sunday, 11 February 2007 )
|