|
ICM_GETBUFFERSWANTED
The ICM_GETBUFFERSWANTED message queries a driver for the number of buffers to
allocate. You can send this message explicitly or by using the ICGetBuffersWanted macro.
ICM_GETBUFFERSWANTED
wParam = (DWORD) (LPVOID) lpdwBuffers;
lParam = 0;
Parameters
lpdwBuffers
Address to contain the number of samples the driver needs to efficiently
render the data.
Return Values
Returns ICERR_OK if successful or ICERR_UNSUPPORTED otherwise.
Remarks
This message is used by drivers that use hardware to render data and want to
ensure a minimal time lag caused by waiting for buffers to arrive. For example,
if a driver controls a video decompression board that can hold 10 frames of
video, it could return 10 for this message. This instructs applications to try to
stay 10 frames ahead of the frame it currently needs.
See Also
ICGetBuffersWanted
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
|