Index   Commented   Search   About

Overview
Group
Quick Info

Windows NT
Yes
Win95
No
Win32s
No
Import Library
nddeapi.lib
Header File
nddeapi.h
Unicode
WinNT
Platform Notes
None

NDdeGetErrorString

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
);

Parameters

uErrorCode

Error code to be converted into an error string.

lpszErrorString

Address of a buffer to accept the translated error string. This parameter must not be NULL. If the buffer is not large enough to store the complete error string, the string is truncated.

cBufSize

The size of the buffer allocated to receive the error string, in bytes.

Return Values

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.

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder

More Online Helps

Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun