Help Center

AfxGetWinErrMsgfunction

Retrieves the localized description of the specified Windows error code.

WindowsfunctionAfxWin.incdocumented

Syntax

FUNCTION AfxGetWinErrMsg (BYVAL dwError AS DWORD) AS DWSTRING

Parameters

NameDescription
dwErrorThe Windows error code.

Return value

The localized description of the error code.

Description

Retrieves the localized description of the specified Windows error code.

Reference

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