Solid File System

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

SolFSStorage.DeleteGrantedProcess 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 Granted" process list

APPLICATION EDITION
Not applicable

Declaration

[Pascal]
    procedure DeleteGrantedProcess( 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 DeleteGrantedProcess( const wchar_t* ProcessFileName, unsigned long ProcessID );

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

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

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

[VB.NET]
    Sub DeleteGrantedProcess( 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 allowed to access the storage.

See also

AddGrantedProcess     DeleteDeniedProcess     GetAccessGrantedProcess     GetAccessGrantedProcessCount    

Back to top