|
MCIWndGetError
The MCIWndGetError macro retrieves the last MCI error encountered. You can use this macro or
explicitly send the MCIWNDM_GETERROR message.
LONG MCIWndGetError(
Parameters
hwnd
Handle of the MCIWnd window.
lp
Address of an application-defined buffer used to return the error string.
len
Size, in bytes, of the error buffer.
Return Values
Returns the integer error value if successful.
Remarks
If lp is a valid pointer, a null-terminated string corresponding to the error is
returned in its buffer. If the error string is longer than the buffer, MCIWnd
truncates it.
See Also
MCIWNDM_GETERROR
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 Programmer's Reference (win32.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
|