home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 May / PCFMay2001.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / amparse.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  1.3 KB  |  44 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) 1996 - 1997 Microsoft Corporation.  All Rights Reserved.
  9. //
  10. //--------------------------------------------------------------------------;
  11.  
  12. // Interface to parser to get current time - useful for multifile playback
  13.  
  14. #ifndef __AMPARSE__
  15. #pragma option push -b -a8 -pc -A- /*P_O_Push*/
  16. #define __AMPARSE__
  17.  
  18. #ifdef __cplusplus
  19. extern "C" {
  20. #endif // __cplusplus
  21.  
  22.  
  23. DEFINE_GUID(IID_IAMParse,
  24. 0xc47a3420, 0x005c, 0x11d2, 0x90, 0x38, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x98);
  25.  
  26. //
  27. //  Parser interface - supported by MPEG-2 splitter filter
  28. //
  29. DECLARE_INTERFACE_(IAMParse, IUnknown) {
  30.     STDMETHOD(GetParseTime) (THIS_
  31.                              REFERENCE_TIME *prtCurrent
  32.                             ) PURE;
  33.     STDMETHOD(SetParseTime) (THIS_
  34.                              REFERENCE_TIME rtCurrent
  35.                             ) PURE;
  36.     STDMETHOD(Flush) (THIS) PURE;
  37. };
  38.  
  39. #ifdef __cplusplus
  40. }
  41. #endif // __cplusplus
  42. #pragma option pop /*P_O_Pop*/
  43. #endif // __AMPARSE__
  44.