KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q115763: VFW v1.1 DK "ICM_DRAW_START_PLAY" Message

Article: Q115763
Product(s): Microsoft Windows Software Development Kit
Version(s): 1.1
Operating System(s): 
Keyword(s): kb16bitonly
Last Modified: 12-NOV-1999

-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft Video for Windows Development Kit, version 1.1 
-------------------------------------------------------------------------------

SUMMARY
=======

The ICM_DRAW_START_PLAY and ICM_DRAW_STOP_PLAY messages are not documented in
the "Programmer's Guide" included in the "Video for Windows Development Kit,
version 1.1" (VFW 1.1 DK).

This article describes these messages in detail for the purpose of assisting a
developer in writing a render driver.

MORE INFORMATION
================

The Installable Compression Manager (ICM) communicates with a renderer (also
known as a render driver) by sending messages to it. The renderer interprets the
message and responds accordingly.

The ICM_DRAW_START_PLAY message is sent either by the ICM or by an application
that calls the ICDrawStartPlay() command. This message is sent to tell the
driver the actual starting and ending times of a play operation. This message is
sent to the driver before any frame data is sent.

ICM_DRAW_START_PLAY is sent with two DWORD parameters, dwParam1 (the starting
time) and dwParam2 (the ending time). These times are typically interpreted as
frame numbers.

If the ending time is less than the starting time (dwParam2 < dwParam1), then
the segment plays backward.

The ICM_DRAW_STOP_PLAY message is sent when the ICDrawStopPlay() command is
issued to indicate a play operation is over. dwParam1 and dwParam2 are not used
with this message and should be ignored by the driver.

Additional query words: 1.10

======================================================================
Keywords          : kb16bitonly 
Technology        : kbAudDeveloper kbVideoSearch kbSDKSearch kbVideoDK110
Version           : :1.1

=============================================================================

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.