Help Center

AfxFileExtfunction

Parses a path/filename and returns the extension portion of the path/file name. That is the last period (.) in the string plus the text to the right of it.

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

Parameters

NameDescription
wszPathThe path/filename string.

Description

Parses a path/filename and returns the extension portion of the path/file name. That is the last period (.) in the string plus the text to the right of it.

Reference

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