Miscellaneous Helper Functions
[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
The following are miscellaneous helper functions.
Function | Description |
---|---|
EqualPins | Checks if two pins are on the same object. |
Int64x32Div32 | Implements the formula ((a*b)+rnd)/c where a is a 64-bit value and b , c , and rnd are 32-bit values. |
IsEqualObject | Checks if two interfaces are on the same object. |
llMulDiv | Implements the formula ((a*b)+rnd)/c where each term is a 64-bit value. |
WaitDispatchingMessages | Waits for an object to be signaled, while dispatching window messages. |