Compartilhar via


Utility Functions (Windows CE 5.0)

Send Feedback

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
Bitmap Functions The Wxutil.h header file in the DirectShow base classes provides functions and macros to help convert between VIDEOINFOHEADER and BITMAPINFO structures.
BSTR Functions The Wxutil.h header file in the DirectShow base classes provides helper functions for allocating and freeing task-allocated BSTR strings.
CCritSec Debug Functions The Wxutil.h header file in the DirectShow base classes provides functions to make deadlocks easier to track.
Conversion Functions 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.
CPosPassThru Helper Function The CPosPassThru helper function creates a plug-in distributor (a CPosPassThru COM object) that supports IMediaSeeking and IMediaPosition.
DLL Function A DLL must implement the following functions so that it can be registered, unregistered, and loaded into memory: DllMain, DllGetClassObject, DllCanUnloadNow, DllRegisterServer and DllUnregisterServer.
Error Message Function The Errors.h header file provides a function for getting an error message for a given message identifier in the current language.
Math Helper Functions The Wxutil.h header file in the DirectShow base classes provides some mathematical helper functions.
Media Type Functions The Mtype.h header file in the DirectShow base classes provides helper functions for handling media types.
Message Function The Wxutil.h header file in the DirectShow base classes provides a helper function for processing messages.
Object and Pin Functions 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.
Reference Time Function The Refclock.h header file in the DirectShow base classes provides a reference time conversion function.
String Functions The Wxutil.h header file in the DirectShow base classes provides wide string functions, if they are not already provided by the Win32 environment.

See Also

DirectShow Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.