unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs,AclApi, AccCtrl, StdCtrls; type PShareInfo2 = ^TShareInfo2; TShareInfo2 = packed record shi2_netname: PWideChar; shi2_type: DWORD; shi2_rema…