Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
[The feature associated with this page, Video Compression Manager, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]
The following example shows the initialization sequence that instructs the decompressor to draw full-screen. It uses the ICDrawBegin and ICDrawEnd macros.
// Assume lpbiIn has the input format, dwRate has the data rate.
if (ICDrawBegin(hIC, ICDRAW_QUERY | ICDRAW_FULLSCREEN, NULL, NULL,
NULL, 0, 0, 0, 0, lpbiIn, 0, 0, 0, 0, dwRate,
dwScale) == ICERR_OK)
{
// Decompressor supports this drawing so set up to draw.
ICDrawBegin(hIC, ICDRAW_FULLSCREEN, hPal, NULL, NULL, 0, 0, 0,
0, lpbiIn, 0, 0, lbpi->biWidth, lpbi->biHeight, dwRate,
dwScale);
.
. // Start decompressing and drawing frames.
.
// Drawing done. Terminate procedure.
ICDrawEnd(hIC);
}
else
{
// Use another renderer to draw data on the screen;
// ICDraw does not support the format.
}