[4] | 1 | /******************************************************************************
|
---|
| 2 | * SAGE - Scalable Adaptive Graphics Environment
|
---|
| 3 | *
|
---|
| 4 | * Copyright (C) 2004 Electronic Visualization Laboratory,
|
---|
| 5 | * University of Illinois at Chicago
|
---|
| 6 | *
|
---|
| 7 | * All rights reserved.
|
---|
| 8 | *
|
---|
| 9 | * Redistribution and use in source and binary forms, with or without
|
---|
| 10 | * modification, are permitted provided that the following conditions are met:
|
---|
| 11 | *
|
---|
| 12 | * * Redistributions of source code must retain the above copyright
|
---|
| 13 | * notice, this list of conditions and the following disclaimer.
|
---|
| 14 | * * Redistributions in binary form must reproduce the above
|
---|
| 15 | * copyright notice, this list of conditions and the following disclaimer
|
---|
| 16 | * in the documentation and/or other materials provided with the distribution.
|
---|
| 17 | * * Neither the name of the University of Illinois at Chicago nor
|
---|
| 18 | * the names of its contributors may be used to endorse or promote
|
---|
| 19 | * products derived from this software without specific prior written permission.
|
---|
| 20 | *
|
---|
| 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
---|
| 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
---|
| 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
---|
| 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
---|
| 25 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
---|
| 26 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
---|
| 27 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
---|
| 28 | * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
---|
| 29 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
---|
| 30 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
---|
| 31 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
---|
| 32 | *
|
---|
| 33 | * Direct questions, comments etc about SAGE to http://www.evl.uic.edu/cavern/forum/
|
---|
| 34 | *
|
---|
| 35 | *****************************************************************************/
|
---|
| 36 |
|
---|
| 37 | // stdafx.h : include file for standard system include files,
|
---|
| 38 | // or project specific include files that are used frequently,
|
---|
| 39 | // but are changed infrequently
|
---|
| 40 |
|
---|
| 41 | #pragma once
|
---|
| 42 |
|
---|
| 43 | #ifndef VC_EXTRALEAN
|
---|
| 44 | #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
|
---|
| 45 | #endif
|
---|
| 46 |
|
---|
| 47 | // Modify the following defines if you have to target a platform prior to the ones specified below.
|
---|
| 48 | // Refer to MSDN for the latest info on corresponding values for different platforms.
|
---|
| 49 | #ifndef WINVER // Allow use of features specific to Windows 95 and Windows NT 4 or later.
|
---|
| 50 | #define WINVER 0x0400 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
|
---|
| 51 | #endif
|
---|
| 52 |
|
---|
| 53 | #ifndef _WIN32_WINNT // Allow use of features specific to Windows NT 4 or later.
|
---|
| 54 | #define _WIN32_WINNT 0x0400 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
|
---|
| 55 | #endif
|
---|
| 56 |
|
---|
| 57 | #ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
|
---|
| 58 | #define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
|
---|
| 59 | #endif
|
---|
| 60 |
|
---|
| 61 | #ifndef _WIN32_IE // Allow use of features specific to IE 4.0 or later.
|
---|
| 62 | #define _WIN32_IE 0x0400 // Change this to the appropriate value to target IE 5.0 or later.
|
---|
| 63 | #endif
|
---|
| 64 |
|
---|
| 65 | #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
|
---|
| 66 |
|
---|
| 67 | // turns off MFC's hiding of some common and often safely ignored warning messages
|
---|
| 68 | #define _AFX_ALL_WARNINGS
|
---|
| 69 |
|
---|
| 70 | #include <afxwin.h> // MFC core and standard components
|
---|
| 71 | #include <afxext.h> // MFC extensions
|
---|
| 72 | #include <afxdisp.h> // MFC Automation classes
|
---|
| 73 |
|
---|
| 74 | #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
|
---|
| 75 | #ifndef _AFX_NO_AFXCMN_SUPPORT
|
---|
| 76 | #include <afxcmn.h> // MFC support for Windows Common Controls
|
---|
| 77 | #endif // _AFX_NO_AFXCMN_SUPPORT
|
---|
| 78 |
|
---|
| 79 | #include <streams.h> // DShow
|
---|
| 80 | #include <strsafe.h>
|
---|
| 81 | #include <DecklinkInterface.h> // Decklink
|
---|
| 82 | #include <Dshowasf.h> // Windows Media Encoder
|
---|
| 83 | #include <wmsysprf.h> // WM8 system profiles
|
---|