Ignore:
Timestamp:
Jul 6, 2013, 1:05:31 PM (9 years ago)
Author:
roman
Message:

Cosmetic, moved binaries, added graph list and clipboard copy property sheet

Location:
trunk/DirectShowSpy
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/DirectShowSpy

    • Property svn:ignore
      •  

        old new  
        44Setup
        55*.aps
         6*.sdf
    • Property svn:global-ignores set to
      ipch
  • trunk/DirectShowSpy/FilterGraphSpy.cpp

    r147 r193  
    11////////////////////////////////////////////////////////////
    2 // Copyright (C) Roman Ryltsov, 2008-2011
     2// Copyright (C) Roman Ryltsov, 2008-2013
    33// Created by Roman Ryltsov roman@alax.info
    4 //
    5 // $Id$
    64
    75#include "stdafx.h"
    86#include "resource.h"
    9 #include "FilterGraphSpy.h"
    10 #include "FilterMapperSpy.h"
    11 #include "GraphBuilderCallbackPropertySheet.h"
    12 //#include "SystemDeviceEnumeratorSpy.h"
    137
    148////////////////////////////////////////////////////////////
    15 // CGraphBuilderCallbackPropertySheet
     9// DoGraphBuilderCallbackPropertySheetModal
     10
     11#include "GraphBuilderCallbackPropertySheet.h"
    1612
    1713#if defined(_WIN64)
    18 extern "C" __declspec(dllexport)
     14        extern "C" __declspec(dllexport)
    1915#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)
    2218#endif // defined(_WIN64)
    2319
     
    3733        return S_OK;
    3834}
     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
     48HRESULT 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.