Help Center

AfxSystemDllPathfunction

Retrieves the fully qualified path for the file that contains the specified module.

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 AfxGetSystemDllPath (BYREF wszDllName AS WSTRING) AS DWSTRING
Also documented as AfxGetSystemDllPath — one description covers them all.

Parameters

NameDescription
wszDllNameThe name of the system DLL to find.

Description

Retrieves the fully qualified path for the file that contains the specified module.

Remarks

To locate the file for a module that was loaded by another process, use the GetModuleFileNameEx function.

Reference

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