FesfUtil2GetExecutablePathForThreadId Function

Given a Thread ID, returns a fully qualified path to the thread's executable image.

Syntax (C++)

std::wstring

FesfUtil2GetExecutablePathForThreadId(uint32_t ThreadId);

Syntax (C)

DWORD

FesfUtil2GetExecutablePathForThreadId_C(

      [in] DWORD ThreadId,
      [out] LPWSTR ReturnedPath,

      [out] DWORD* PathBufferSize);

Parameters

ThreadId

Thread ID for which to locate the executable.

Return value

A fully qualified path to the Thread Id's executable image.

Throws

Throws an FEU2Exception if an error is encountered.

Replaces

IFesfUtil:: GetExecutablePathForThreadId