Help Center

AfxPathFromProcessIdfunction

Retrieves the path of the executable file given its process identifier.

WindowsfunctionAfxWin.incdoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

FUNCTION AfxGetPathFromProcessId (BYVAL dwProcessId AS DWORD) AS DWSTRING
Also documented as AfxGetPathFromProcessId — one description covers them all.

Parameters

NameDescription
dwProcessIdThe process identifier.

Description

Retrieves the path of the executable file given its process identifier.

Reference

  • Include file AfxWin.inc
  • Documented in Windows/Windows Procedures.md
  • Topic: Windows Procedures