Discuss this help topic in CBFS Forum

CallbackFileSystem.DeleteDeniedProcess method

Filter:

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

CallbackFileSystem     See also    

Overview

Deletes an element from the "Access Denied" process list

Declaration

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

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

[C++ (VCL)]
    void __fastcall DeleteDeniedProcess( TCBString 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]
    void deleteDeniedProcess( 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 forbidden from accessing 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     AddDeniedProcess     GetAccessDeniedProcess     GetAccessDeniedProcessCount    

Discuss this help topic in CBFS Forum