|
PHONE_REPLY
The PHONE_REPLY message is sent to an application' to report the results of
function call that completed asynchronously.
PHONE_REPLY
hPhone = (HPHONE) 0;
dwCallbackInstance = (DWORD) hCallback;
dwParam1 = (DWORD) idRequest;
dwParam2 = (DWORD) Status;
dwParam3 = (DWORD) 0;
Parameters
hDevice
Unused.
dwCallbackInstance
Returns the application's callback instance.
dwParam1
The request ID for which this is the reply.
dwParam2
The success or error indication. The application should cast this parameter
into a LONG. Zero indicates success; a negative number indicates an error.
dwParam3
Unused.
Return Values
No return value.
Remarks
Functions that operate asynchronously return a positive request ID value to
the application. This request ID is returned with the reply message to identify
the request that was completed. The other parameter for the PHONE_REPLY message
carries the success or failure indication. Possible errors are the same as
those defined by the corresponding function. This message cannot be disabled.
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
More Online Helps
Win32 Programmer's Reference (win32.hlp)
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)
Unix Manual Pages
|