The NDdeGetErrorString function is called to convert an error code returned by a network DDE function into an error string that explains the returned error code.
UINT NDdeGetErrorString(
UINT uErrorCode, // error code to get string for
LPTSTR lpszErrorString, // buffer to hold error string
DWORD cBufSize // size of buffer
);
If the function succeeds, the return value is zero.
If the function fails, the return value is a nonzero error code. If the lpszErrorString buffer is not large enough to accept the complete error string, and the string is truncated, the function returns the value NDDE_BUF_TOO_SMALL.
Windows NT: Requires version 3.1 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in nddeapi.h.
Import Library: Use nddeapi.lib.
Unicode: Implemented as Unicode and ANSI versions on Windows NT.
Network Dynamic Data Exchange Overview, Network DDE Functions