Utility Functions
A version of this page is also available for
4/8/2010
This section contains reference entries for the DirectShow utility functions.
DirectShow provides utilities for conversion, setup, timers, retrieving interfaces and helper functions for math operations, property pages, BSTR functions, and strings, and stream integer functions.
Most utilities are contained in Wxutil.h, but others are contained in Combase.h, Errors.h, Pstream.h, Refclock.h, Renbase.h, Videoctl.h, and Wtype.h.
Programming element | Description |
---|---|
The Wxutil.h header file in the DirectShow base classes provides functions and macros to help convert between VIDEOINFOHEADER and BITMAPINFO structures. |
|
The Wxutil.h header file in the DirectShow base classes provides helper functions for allocating and freeing task-allocated BSTR strings. |
|
The Wxutil.h header file in the DirectShow base classes provides functions to make deadlocks easier to track. |
|
The Wxutil.h header file in the DirectShow base classes provides functions for converting between different data types (for example, between integers and wide strings) and between different stream formats. |
|
The CPosPassThru helper function creates a plug-in distributor (a CPosPassThru COM object) that supports IMediaSeeking and IMediaPosition. |
|
The Errors.h header file provides a function for getting an error message for a given message identifier in the current language. |
|
The Wxutil.h header file in the DirectShow base classes provides some mathematical helper functions. |
|
The Mtype.h header file in the DirectShow base classes provides helper functions for handling media types. |
|
The Wxutil.h header file in the DirectShow base classes provides a helper function for processing messages. |
|
The Wxutil.h and Combase.h header files in the DirectShow base classes provides helper functions for comparing objects and pins and retrieving interfaces to objects. |
|
The Refclock.h header file in the DirectShow base classes provides a reference time conversion function. |
|
These functions encode an integer in a stream object. |
|
The Wxutil.h header file in the DirectShow base classes provides wide string functions, if they are not already provided by the Win32 environment. |