ICM_GETBUFFERSWANTED

wParam = (DWORD) (LPVOID) lpdwBuffers;
lParam = 0;
 

Queries a driver for the number of buffers to allocate.

wParam
Address to contain the number of samples the driver needs to efficiently render the data.

This message is used by drivers that use hardware to render data and want to ensure a minimal time lag caused by waiting for data 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

ICDraw