Changeset 440 for trunk/DirectShowSpy/FilterGraphSpy.cpp
- Timestamp:
- May 18, 2015, 2:09:09 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DirectShowSpy/FilterGraphSpy.cpp
r376 r440 29 29 #endif // defined(_WIN64) 30 30 31 HRESULT STDMETHODCALLTYPE DoGraphBuilderCallbackPropertySheetModal() throw()31 HRESULT STDMETHODCALLTYPE DoGraphBuilderCallbackPropertySheetModal() 32 32 { 33 33 _ATLTRY … … 73 73 } 74 74 75 //////////////////////////////////////////////////////////// 76 // DoGraphBuilderCallbackPropertySheetModal 77 78 #include "MediaSampleTrace.h" 79 80 #if defined(_WIN64) 81 extern "C" __declspec(dllexport) 82 #else 83 #pragma comment(linker, "/EXPORT:DoMediaSampleTracePropertySheetModal=_DoMediaSampleTracePropertySheetModal@0,PRIVATE") 84 extern "C" // __declspec(dllexport) 85 #endif // defined(_WIN64) 86 87 HRESULT STDMETHODCALLTYPE DoMediaSampleTracePropertySheetModal() 88 { 89 _ATLTRY 90 { 91 CSingleThreadedApartment SingleThreadedApartment; 92 _W(AtlInitCommonControls(ICC_WIN95_CLASSES | ICC_COOL_CLASSES | ICC_STANDARD_CLASSES)); 93 CMediaSampleTracePropertySheet PropertySheet; 94 PropertySheet.DoModal(GetActiveWindow()); 95 } 96 _ATLCATCH(Exception) 97 { 98 _C(Exception); 99 } 100 return S_OK; 101 } 102
Note: See TracChangeset
for help on using the changeset viewer.