Returns the PID of the process which has opened the file.
property ProcessId : LongWord;
Public Property ProcessId As UInt32
Use this property to get the PID of the process that has opened a file/handle. The value is available only after successful call to GetNextOpenedFile() method.