home *** CD-ROM | disk | FTP | other *** search
/ The Net: Ultimate Internet Guide / WWLCD1.ISO / mac / SiteBldr / AMOVIE / SDK / _SETUP / COMMON.Z / sampios.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-29  |  2.3 KB  |  60 lines

  1. //==========================================================================;
  2. //
  3. //  THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  4. //  KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  5. //  IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
  6. //  PURPOSE.
  7. //
  8. //  Copyright (c) 1992 - 1996  Microsoft Corporation.  All Rights Reserved.
  9. //
  10. //--------------------------------------------------------------------------;
  11.  
  12. /*
  13.     This header file provides function prototypes for the functions
  14.     exported from AM_ios.lib.  These functions are designed to enable
  15.     developers to get information in text format regarding objects in
  16.     the filter graph.
  17.  
  18.     The 'C' functions, DumpXXX, require "cout" to be valid in the environment
  19.     in which you are working.
  20. */
  21.  
  22. #ifndef _SampIOS_h
  23. #define _SampIOS_h
  24.  
  25. #ifdef __cplusplus
  26.  
  27.     // Just so you can write:   cout << piFilterGraph << endl;  etc.
  28.  
  29.     // Converts wide string to ANSI string and outputs it
  30.     ostream & operator <<( ostream & out, LPCWSTR pwStr );
  31.     // Builds and outputs a textual version of a GUID
  32.     ostream & operator <<( ostream & out, const GUID & clsid );
  33.     // Output filter information
  34.     ostream & operator <<( ostream & out, const IFilter *const pIFilter );
  35.     // Output filter informations for all filters left in the enumerator
  36.     ostream & operator <<( ostream & out, const IEnumFilters *const pIEnumFilters );
  37.     // Output filter and connection details
  38.     ostream & operator <<( ostream & out, const IFilterGraph *const piFilterGraph );
  39.     // Output pin details (including connection info)
  40.     ostream & operator <<( ostream & out, const IPin *const pIPin );
  41.     // As above, for all pins left in the enumerator
  42.     ostream & operator <<( ostream & out, const IEnumPins *const pIEnumPins );
  43.     // Output the pin info for all pins on supplied filter
  44.     ostream & WriteAllPins( ostream & out, const IFilter *const pIFilter );
  45.  
  46.     extern "C" {
  47. #endif
  48.  
  49. void DumpFilterInfo( const IFilter * pIFilter );
  50. void DumpPinInfo( const IPin * pIPin );
  51. void DumpAllPins( const IFilter * piFilter );
  52. void DumpAllFilters( const IFilterGraph * piFilterGraph );
  53. void DumpFilterGraph( const IFilterGraph * piFilterGraph );
  54.  
  55. #ifdef __cplusplus
  56.     }
  57. #endif
  58.  
  59. #endif /* _SampIOS_h */
  60.