home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / pc / DirectX SDK / DXSDK / samples / Multimedia / DirectShow / BDA / BDASample / bdasampl.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-10-08  |  1.5 KB  |  55 lines

  1. //------------------------------------------------------------------------------
  2. // File: Bdasampl.h
  3. //
  4. // Desc: Sample code header file for BDA graph building.
  5. //
  6. // Copyright (c) 2000-2001, Microsoft Corporation. All rights reserved.
  7. //------------------------------------------------------------------------------
  8.  
  9. #ifndef BDASAMPL_H_INCLUDED_
  10. #define BDASAMPL_H_INCLUDED_
  11.  
  12. #include <streams.h>
  13. #include <mmreg.h>
  14. #include <msacm.h>
  15. #include <fcntl.h>
  16. #include <io.h>
  17. #include <stdio.h>
  18.  
  19. // Temporarily disable /W4 C4201: nonstandard extension used : nameless struct/union
  20. #pragma warning(disable:4201)
  21.  
  22. #include <ks.h>
  23.  
  24. // Enable default handling of C4201 warning
  25. #pragma warning(default:4201)
  26.  
  27. #include <ksmedia.h>
  28. #include <bdatypes.h>
  29. #include <bdamedia.h>
  30. #include <bdaiface.h>
  31. #include <uuids.h>
  32. #include <tuner.h>
  33. #include <commctrl.h>
  34. #include <atlbase.h>
  35.  
  36. #include "resource.h"
  37.  
  38. //-----------------------------------------------------------------------------
  39. LRESULT CALLBACK    WndProc(HWND, UINT, WPARAM, LPARAM);
  40. BOOL CALLBACK       DlgProc(HWND, UINT, WPARAM, LPARAM);
  41.  
  42. BOOL CALLBACK       AboutDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
  43. BOOL CALLBACK       SelectChannelDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
  44. VOID                ErrorMessageBox(LPTSTR sz,...);
  45.  
  46. //-----------------------------------------------------------------------------
  47. // index of tuning spaces 
  48. enum NETWORK_TYPE 
  49. {
  50.     ATSC            = 0x0003
  51. };
  52.  
  53. #endif // BDASAMPL_H_INCLUDED_
  54.  
  55.