Help Center

AfxGetPathFromProcessIdfunction

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

WindowsfunctionAfxWin.incdocumented

Syntax

FUNCTION AfxGetPathFromProcessId (BYVAL dwProcessId AS DWORD) AS DWSTRING
Also documented as AfxPathFromProcessId — 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
  • Defined in AfxNova/AfxWin.inc:762
  • Documented in Windows/Windows Procedures.md
  • Topic: Windows Procedures