Discuss this help topic in CBFS Forum

CallbackFileSystem.DeleteGrantedProcess method

Filter:

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

CallbackFileSystem     See also    

Overview

Deletes an element from the "Access Granted" process list

Declaration

[Pascal]
    procedure DeleteGrantedProcess( const ProcessFileName : TCBString; ProcessID : LongWord );
    type TCBString = {$ifdef UNICODE}UnicodeString{$else}WideString{$endif};

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

[C++ (VCL)]
    void __fastcall DeleteGrantedProcess( TCBString 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]
    void deleteGrantedProcess( String processFileName, int processID );

Parameters

  • 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.

Description

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

NOTE: This method may be called only after a successful call to MountMedia method.

Call from...

This method may be called only from outside of callback / event handlers.

See also

ProcessRestrictionsEnabled     AddGrantedProcess     GetAccessGrantedProcess     GetAccessGrantedProcessCount    

Discuss this help topic in CBFS Forum