bump product version to 4.1.6.2
[LibreOffice.git] / fpicker / source / win32 / filepicker / platform_vista.h
blobd2a52d0482d61f45e0f4bcf762d57a993da56ac0
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef _PLATFORM_VISTA_H_
21 #define _PLATFORM_VISTA_H_
23 #pragma once
25 // Change these values to use different versions
26 #undef WINVER
27 #undef _WIN32_WINNT
28 #undef _WIN32_IE
29 #undef _WTL_NO_CSTRING
31 #define WINVER 0x0600
32 #define _WIN32_WINNT 0x0600
33 #define _WIN32_IE 0x0700
34 #define _WTL_NO_CSTRING
36 #if defined _MSC_VER
37 #pragma warning(push, 1)
38 #include <comip.h>
39 #pragma warning(pop)
40 #endif
42 #ifdef _MSC_VER
43 #if defined _M_IX86
44 #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
45 #elif defined _M_IA64
46 #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"")
47 #elif defined _M_X64
48 #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
49 #else
50 #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
51 #endif
52 #endif
54 #endif
56 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */