Changeset 193 for trunk/DirectShowSpy/FilterGraphSpy.cpp
- Timestamp:
- Jul 6, 2013, 1:05:31 PM (9 years ago)
- Location:
- trunk/DirectShowSpy
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DirectShowSpy
- Property svn:ignore
-
old new 4 4 Setup 5 5 *.aps 6 *.sdf
-
-
Property
svn:global-ignores
set to
ipch
- Property svn:ignore
-
trunk/DirectShowSpy/FilterGraphSpy.cpp
r147 r193 1 1 //////////////////////////////////////////////////////////// 2 // Copyright (C) Roman Ryltsov, 2008-201 12 // Copyright (C) Roman Ryltsov, 2008-2013 3 3 // Created by Roman Ryltsov roman@alax.info 4 //5 // $Id$6 4 7 5 #include "stdafx.h" 8 6 #include "resource.h" 9 #include "FilterGraphSpy.h"10 #include "FilterMapperSpy.h"11 #include "GraphBuilderCallbackPropertySheet.h"12 //#include "SystemDeviceEnumeratorSpy.h"13 7 14 8 //////////////////////////////////////////////////////////// 15 // CGraphBuilderCallbackPropertySheet 9 // DoGraphBuilderCallbackPropertySheetModal 10 11 #include "GraphBuilderCallbackPropertySheet.h" 16 12 17 13 #if defined(_WIN64) 18 extern "C" __declspec(dllexport)14 extern "C" __declspec(dllexport) 19 15 #else 20 #pragma comment(linker, "/EXPORT:DoGraphBuilderCallbackPropertySheetModal=_DoGraphBuilderCallbackPropertySheetModal@0,PRIVATE")21 extern "C" // __declspec(dllexport)16 #pragma comment(linker, "/EXPORT:DoGraphBuilderCallbackPropertySheetModal=_DoGraphBuilderCallbackPropertySheetModal@0,PRIVATE") 17 extern "C" // __declspec(dllexport) 22 18 #endif // defined(_WIN64) 23 19 … … 37 33 return S_OK; 38 34 } 35 36 //////////////////////////////////////////////////////////// 37 // DoFilterGraphListPropertySheetModal 38 39 #include "FilterGraphList.h" 40 41 #if defined(_WIN64) 42 extern "C" __declspec(dllexport) 43 #else 44 #pragma comment(linker, "/EXPORT:DoFilterGraphListPropertySheetModal=_DoFilterGraphListPropertySheetModal@0,PRIVATE") 45 extern "C" // __declspec(dllexport) 46 #endif // defined(_WIN64) 47 48 HRESULT STDMETHODCALLTYPE DoFilterGraphListPropertySheetModal() throw() 49 { 50 _ATLTRY 51 { 52 CSingleThreadedApartment SingleThreadedApartment; 53 _W(AtlInitCommonControls(ICC_WIN95_CLASSES | ICC_COOL_CLASSES | ICC_STANDARD_CLASSES)); 54 CFilterGraphListPropertySheet PropertySheet; 55 PropertySheet.DoModal(GetActiveWindow()); 56 } 57 _ATLCATCH(Exception) 58 { 59 _C(Exception); 60 } 61 return S_OK; 62 } 63
Note: See TracChangeset
for help on using the changeset viewer.