Solid File System

Virtual file system enigne that can be embedded into your software.

SolFSStorage.DeleteDeniedProcess method

Filter:

Pascal    Plain C    C++ (DLL/Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET    Java 

SolFSStorage     See also    

Overview

OPERATING SYSTEM EDITION
Deletes an element from the "Access Denied" process list

APPLICATION EDITION
Not applicable

Declaration

[Pascal]
    procedure DeleteDeniedProcess( const ProcessFileName : TSolFSString; ProcessID : LongWord );

    type TSolFSString = {$ifdef UNICODE}UnicodeString{$else}WideString{$endif};

[Plain C]
    long _stdcall StorageDeleteProcessRestriction ( unsigned long Storage, PStorageProcessRestriction ProcessRestriction );

[C++ (DLL/Lib)]
    void DeleteDeniedProcess( const wchar_t* ProcessFileName, unsigned long ProcessID );

[C++ (VCL)]
    void __fastcall DeleteDeniedProcess( TSolFSString ProcessFileName, unsigned long &ProcessID );

[C++ (.NET)]
    void DeleteDeniedProcess( String* ProcessFileName, unsigned long ProcessID );

[C#]
    void DeleteDeniedProcess( String ProcessFileName, UInt32 ProcessID );

[VB.NET]
    Sub DeleteDeniedProcess( ByVal ProcessFileName As String, ByVal ProcessID As UInt32 )

[Java]
    not applicable;

Parameters

  • [Plain C] Storage - handle to the storage returned by Create or Open function.
  • ProcessFileName - the name of process executable file. Can be empty if the element was added using PID and not file name
  • ProcessID - the PID (process ID) of process. Can be 0 if the element was added using the name of the executable file.

Return value

     [Plain C]  0 if the function succeeded or one of Error codes if the function failed.

Description

Use this method to delete an element from the list of the processes, which are not allowed to access the storage.

See also

AddDeniedProcess     DeleteGrantedProcess     GetAccessDeniedProcess     GetAccessDeniedProcessCount    

Back to top