home *** CD-ROM | disk | FTP | other *** search
/ The Net: Ultimate Internet Guide / WWLCD1.ISO / mac / SiteBldr / AMOVIE / SDK / _SETUP / COMMON.Z / inull.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-06  |  1.9 KB  |  65 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. // iNull.h
  13. //----------------------------------------------------------------------------
  14.  
  15. // A custom interface to allow the user select media types
  16.  
  17. #ifndef __INULLIP__
  18. #define __INULLIP__
  19.  
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23.  
  24.  
  25. //----------------------------------------------------------------------------
  26. // INullIP's GUID
  27. //
  28. // {43D849C0-2FE8-11cf-BCB1-444553540000}
  29. DEFINE_GUID(IID_INullIPP,
  30. 0x43d849c0, 0x2fe8, 0x11cf, 0xbc, 0xb1, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00);
  31. //----------------------------------------------------------------------------
  32.  
  33. //----------------------------------------------------------------------------
  34. // INullIPP
  35. //----------------------------------------------------------------------------
  36. DECLARE_INTERFACE_(INullIPP, IUnknown)
  37. {
  38.  
  39.     STDMETHOD(put_MediaType) (THIS_
  40.                       CMediaType *pmt       /* [in] */    // the media type selected
  41.                  ) PURE;
  42.  
  43.     STDMETHOD(get_MediaType) (THIS_
  44.                       CMediaType **pmt      /* [out] */    // the media type selected
  45.                  ) PURE;
  46.  
  47.     STDMETHOD(get_IPin) (THIS_
  48.                       IPin **pPin          /* [out] */    // the source pin
  49.                  ) PURE;
  50.  
  51.  
  52.     STDMETHOD(get_State) (THIS_
  53.                       FILTER_STATE *state  /* [out] */    // the filter state
  54.                  ) PURE;
  55.  
  56.  
  57. };
  58. //----------------------------------------------------------------------------
  59.  
  60. #ifdef __cplusplus
  61. }
  62. #endif
  63.  
  64. #endif // __INULLIP__
  65.