Discuss this help topic in CBFS Forum

CbFsHandleInfo.GetCreatorThreadId method

Filter:

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

CbFsHandleInfo     See also    

Overview

Returns the Thread ID of the thread, that opened the file handle

Declaration

[Pascal]
    function GetCreatorThreadId() : LongWord;

[C++ (Lib)]
    unsigned long GetCreatorThreadId();

[C++ (VCL)]
    unsigned long __fastcall GetCreatorThreadId();

[C++ (.NET)]
    unsigned long GetCreatorThreadId();

[C#]
    UInt32 GetCreatorThreadId();

[VB.NET]
    Function GetCreatorThreadId() As UInt32

[Java]
    long getCreatorThreadId();

Return values

The ID of the thread.

Description

Use GetCreatorThreadId to get the thread ID of the thread that opened the file handle.

Note that the thread ID is guaranteed to be unique only during lifetime of the thread. When the thread is terminated, its ID can be used by other threads.

Call from...

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

See also

GetCreatorProcessId method     GetCreatorProcessName method    

Discuss this help topic in CBFS Forum