OpenFileProcessId Property
The Id of the process that opened the file.
Syntax
ANSI (Cross Platform) int GetOpenFileProcessId(int iOpenFileIndex); Unicode (Windows) INT GetOpenFileProcessId(INT iOpenFileIndex);
#define PID_CBFS_OPENFILEPROCESSID 30 CBFSCONNECT_EXTERNAL void* CBFSCONNECT_CALL CBFSConnect_CBFS_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); CBFSCONNECT_EXTERNAL int CBFSCONNECT_CALL CBFSConnect_CBFS_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
0
Remarks
The Id of the process that opened the file.
This property reflects the Id of the process (PID) that opened the file.
The OpenFileIndex parameter specifies the index of the item in the array. The size of the array is controlled by the OpenFilesCount property.
This property is read-only and not available at design time.
Data Type
Integer