source: trunk/DirectShowSpy/Configuration.cpp @ 193

Last change on this file since 193 was 193, checked in by roman, 9 years ago

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

  • Property svn:keywords set to Id
File size: 959 bytes
Line 
1////////////////////////////////////////////////////////////
2// Copyright (C) Roman Ryltsov, 2008-2013
3// Created by Roman Ryltsov roman@alax.info
4
5#include "stdafx.h"
6#include "resource.h"
7#include "Configuration.h"
8
9////////////////////////////////////////////////////////////
10// CRegistrationPropertySheet
11
12#if defined(_WIN64)
13        extern "C" __declspec(dllexport) 
14#else
15        #pragma comment(linker, "/EXPORT:DoRegistrationPropertySheetModal=_DoRegistrationPropertySheetModal@0,PRIVATE")
16        extern "C" // __declspec(dllexport)
17#endif // defined(_WIN64)
18
19HRESULT STDMETHODCALLTYPE DoRegistrationPropertySheetModal() throw()
20{
21        _ATLTRY
22        {
23                CSingleThreadedApartment SingleThreadedApartment;
24                _W(AtlInitCommonControls(ICC_WIN95_CLASSES | ICC_COOL_CLASSES | ICC_STANDARD_CLASSES));
25                CRegistrationPropertySheet PropertySheet;
26                PropertySheet.DoModal(GetActiveWindow());
27        }
28        _ATLCATCH(Exception)
29        {
30                _C(Exception);
31        }
32        return S_OK;
33}
Note: See TracBrowser for help on using the repository browser.