Changeset 361
- Timestamp:
- Jan 30, 2015, 11:57:24 AM (9 years ago)
- Location:
- trunk/Utilities/MonitorInformation
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Utilities/MonitorInformation/MainDialog.h
r288 r361 1 1 //////////////////////////////////////////////////////////// 2 // MainDialog.h 3 // 4 // Copyright (C) Alax.Info, 2006-2008 2 // Copyright (C) Alax.Info, 2006-2015 5 3 // http://alax.info 6 4 // … … 9 7 // 10 8 // Created by Roman Ryltsov roman@alax.info 11 //12 // $Id: MainDialog.h 219 2010-08-20 12:57:35Z alax $13 9 14 10 #pragma once … … 56 52 public: 57 53 // CMonitorInformation 58 CMonitorInformation() throw()59 { 60 } 61 CMonitorInformation(const CMonitorInformation& MonitorInformation) throw():54 CMonitorInformation() 55 { 56 } 57 CMonitorInformation(const CMonitorInformation& MonitorInformation) : 62 58 m_MonitorInformation(MonitorInformation.m_MonitorInformation) 63 59 { 64 60 } 65 CMonitorInformation(const MYMONITORINFO& MonitorInformation) throw():61 CMonitorInformation(const MYMONITORINFO& MonitorInformation) : 66 62 m_MonitorInformation(MonitorInformation) 67 63 { … … 88 84 BOOL EnumerateMonitors(HMONITOR hMonitor, CDCHandle MonitorDc, const CRect& MonitorPosition) 89 85 { 90 m_sText.AppendFormat(_T("Monitor %d at (%d, %d) - (%d, %d): \r\n"), m_nMonitorIndex, MonitorPosition.left, MonitorPosition.top, MonitorPosition.right, MonitorPosition.bottom);86 m_sText.AppendFormat(_T("Monitor %d at (%d, %d) - (%d, %d):") _T("\r\n"), m_nMonitorIndex, MonitorPosition.left, MonitorPosition.top, MonitorPosition.right, MonitorPosition.bottom); 91 87 MYMONITORINFO MonitorInformation; 92 88 ZeroMemory(&MonitorInformation, sizeof MonitorInformation); 93 89 MonitorInformation.cbSize = sizeof MonitorInformation; 94 90 ATLVERIFY(GetMonitorInfo(hMonitor, &MonitorInformation)); 95 m_sText.AppendFormat(_T(" Coordinates (rcMonitor): (%d, %d) - (%d, %d) \r\n"), MonitorInformation.rcMonitor.left, MonitorInformation.rcMonitor.top, MonitorInformation.rcMonitor.right, MonitorInformation.rcMonitor.bottom);96 m_sText.AppendFormat(_T(" Work Area (rcWork): (%d, %d) - (%d, %d) \r\n"), MonitorInformation.rcWork.left, MonitorInformation.rcWork.top, MonitorInformation.rcWork.right, MonitorInformation.rcWork.bottom);97 m_sText.AppendFormat(_T(" Flags (dwFlags): 0x% x\r\n"), MonitorInformation.dwFlags);91 m_sText.AppendFormat(_T(" Coordinates (rcMonitor): (%d, %d) - (%d, %d)") _T("\r\n"), MonitorInformation.rcMonitor.left, MonitorInformation.rcMonitor.top, MonitorInformation.rcMonitor.right, MonitorInformation.rcMonitor.bottom); 92 m_sText.AppendFormat(_T(" Work Area (rcWork): (%d, %d) - (%d, %d)") _T("\r\n"), MonitorInformation.rcWork.left, MonitorInformation.rcWork.top, MonitorInformation.rcWork.right, MonitorInformation.rcWork.bottom); 93 m_sText.AppendFormat(_T(" Flags (dwFlags): 0x%X") _T("\r\n"), MonitorInformation.dwFlags); 98 94 __if_exists(MYMONITORINFO::szDevice) 99 95 { 100 m_sText.AppendFormat(_T(" Device Name (szDevice): %s\r\n"), MonitorInformation.szDevice); 101 } 96 m_sText.AppendFormat(_T(" Device Name (szDevice): %s") _T("\r\n"), MonitorInformation.szDevice); 97 } 98 ATLASSERT(!MonitorDc); 99 //m_sText.Append(_T(" Capabilities:") _T("\r\n")); 100 //m_sText.AppendFormat(_T(" VREFRESH: %d") _T("\r\n"), MonitorDc.GetDeviceCaps(VREFRESH)); 102 101 m_sText.Append(_T("\r\n")); 103 102 ATLVERIFY(m_MonitorInformationArray.Add(MonitorInformation) == m_nMonitorIndex); … … 105 104 return TRUE; 106 105 } 107 static BOOL CALLBACK EnumerateMonitors(HMONITOR hMonitor, HDC hMonitorDc, RECT* pMonitorPosition, LPARAM nParameter) throw()106 static BOOL CALLBACK EnumerateMonitors(HMONITOR hMonitor, HDC hMonitorDc, RECT* pMonitorPosition, LPARAM nParameter) 108 107 { 109 108 return ((CMainDialog*) nParameter)->EnumerateMonitors(hMonitor, hMonitorDc, *pMonitorPosition); … … 114 113 VOID Initialize() 115 114 { 115 // NOTE: EnumDisplayDevices vs EnumDisplayMonitors http://stackoverflow.com/questions/27042576/enumdisplaydevices-vs-enumdisplaymonitors 116 116 m_MonitorInformationArray.RemoveAll(); 117 117 m_nMonitorIndex = 0; 118 118 m_sText.Empty(); 119 #pragma region System Metrics 119 120 m_sText.Append(_T("System Metrics:\r\n")); 120 121 m_sText.AppendFormat(_T(" SM_XVIRTUALSCREEN: %d\r\n"), GetSystemMetrics(SM_XVIRTUALSCREEN)); … … 125 126 m_sText.AppendFormat(_T(" SM_SAMEDISPLAYFORMAT: %d\r\n"), GetSystemMetrics(SM_SAMEDISPLAYFORMAT)); 126 127 m_sText.Append(_T("\r\n")); 128 #pragma endregion 127 129 EnumDisplayMonitors(NULL, NULL, EnumerateMonitors, (LPARAM) this); 130 #pragma region Display Devices 131 m_sText.Append(_T("Display Devices:") _T("\r\n")); 132 m_sText.Append(_T("\r\n")); 133 for(DWORD nIndex = 0; ; nIndex++) 134 { 135 DISPLAY_DEVICE DisplayDevice = { sizeof DisplayDevice }; 136 if(!EnumDisplayDevices(NULL, nIndex, &DisplayDevice, EDD_GET_DEVICE_INTERFACE_NAME)) 137 break; 138 m_sText.AppendFormat(_T(" DeviceName: %s") _T("\r\n"), DisplayDevice.DeviceName); 139 m_sText.AppendFormat(_T(" DeviceString: %s") _T("\r\n"), DisplayDevice.DeviceString); 140 CString sStateFlags; 141 if(DisplayDevice.StateFlags & DISPLAY_DEVICE_ACTIVE) 142 sStateFlags.Append(_T("DISPLAY_DEVICE_ACTIVE | ")); 143 if(DisplayDevice.StateFlags & DISPLAY_DEVICE_MIRRORING_DRIVER) 144 sStateFlags.Append(_T("DISPLAY_DEVICE_MIRRORING_DRIVER | ")); 145 if(DisplayDevice.StateFlags & DISPLAY_DEVICE_MODESPRUNED) 146 sStateFlags.Append(_T("DISPLAY_DEVICE_MODESPRUNED | ")); 147 if(DisplayDevice.StateFlags & DISPLAY_DEVICE_PRIMARY_DEVICE) 148 sStateFlags.Append(_T("DISPLAY_DEVICE_PRIMARY_DEVICE | ")); 149 if(DisplayDevice.StateFlags & DISPLAY_DEVICE_REMOVABLE) 150 sStateFlags.Append(_T("DISPLAY_DEVICE_REMOVABLE | ")); 151 if(DisplayDevice.StateFlags & DISPLAY_DEVICE_VGA_COMPATIBLE) 152 sStateFlags.Append(_T("DISPLAY_DEVICE_VGA_COMPATIBLE | ")); 153 sStateFlags.TrimRight(_T(" |")); 154 m_sText.AppendFormat(_T(" StateFlags: 0x%X %s") _T("\r\n"), DisplayDevice.StateFlags, sStateFlags); 155 if(_tcslen(DisplayDevice.DeviceID)) 156 m_sText.AppendFormat(_T(" DeviceID: %s") _T("\r\n"), DisplayDevice.DeviceID); 157 m_sText.AppendFormat(_T(" DeviceKey: %s") _T("\r\n"), DisplayDevice.DeviceKey); 158 m_sText.Append(_T("\r\n")); 159 #pragma region 160 m_sText.Append(_T(" Settings (Modes):") _T("\r\n")); 161 for(DWORD nIndex = (DWORD) -1; ; nIndex++) 162 { 163 ATLASSERT(ENUM_CURRENT_SETTINGS == (DWORD) -1); 164 static const SIZE_T g_nDeviceModeCapacity = 4 << 10; 165 CTempBuffer<DEVMODE, g_nDeviceModeCapacity> pDeviceMode(g_nDeviceModeCapacity); 166 DEVMODE& DeviceMode = *pDeviceMode; 167 ZeroMemory(&DeviceMode, g_nDeviceModeCapacity); 168 pDeviceMode->dmSize = sizeof DeviceMode; 169 pDeviceMode->dmDriverExtra = g_nDeviceModeCapacity - sizeof DeviceMode; 170 if(!EnumDisplaySettingsEx(DisplayDevice.DeviceName, nIndex, &DeviceMode, 0)) 171 break; 172 if(nIndex == ENUM_CURRENT_SETTINGS) 173 m_sText.AppendFormat(_T(" %s:") _T("\r\n"), _T("Current")); 174 else 175 m_sText.AppendFormat(_T(" Mode %d:") _T("\r\n"), nIndex); 176 m_sText.AppendFormat(_T(" dmBitsPerPel: %d") _T("\r\n"), DeviceMode.dmBitsPerPel); 177 m_sText.AppendFormat(_T(" dmPelsWidth: %d") _T("\r\n"), DeviceMode.dmPelsWidth); 178 m_sText.AppendFormat(_T(" dmPelsHeight: %d") _T("\r\n"), DeviceMode.dmPelsHeight); 179 m_sText.AppendFormat(_T(" dmDisplayFlags: 0x%X") _T("\r\n"), DeviceMode.dmDisplayFlags); 180 m_sText.AppendFormat(_T(" dmDisplayFrequency: %d") _T("\r\n"), DeviceMode.dmDisplayFrequency); 181 m_sText.AppendFormat(_T(" dmPosition: %d") _T("\r\n"), DeviceMode.dmPosition); 182 m_sText.AppendFormat(_T(" dmDisplayOrientation: %d") _T("\r\n"), DeviceMode.dmDisplayOrientation); 183 } 184 #pragma endregion 185 m_sText.Append(_T("\r\n")); 186 } 187 #pragma endregion 128 188 } 129 189 -
trunk/Utilities/MonitorInformation/MonitorInformation.cpp
r288 r361 1 1 //////////////////////////////////////////////////////////// 2 // MonitorInformation.cpp - 2 // Copyright (C) Alax.Info, 2006-2015 3 // http://alax.info 4 // 5 // A permission to use the source code is granted as long as reference to 6 // source website http://alax.info is retained. 7 // 8 // Created by Roman Ryltsov roman@alax.info 3 9 4 10 #include "stdafx.h" -
trunk/Utilities/MonitorInformation/MonitorInformation.rc
r288 r361 125 125 126 126 VS_VERSION_INFO VERSIONINFO 127 FILEVERSION 1, 0, 0, 5 0127 FILEVERSION 1, 0, 0, 59 128 128 PRODUCTVERSION 1,0,0,1 129 129 FILEFLAGSMASK 0x3fL … … 144 144 VALUE "CompanyName", "Alax.Info" 145 145 VALUE "FileDescription", "MonitorInformation Module" 146 VALUE "FileVersion", "1, 0, 0, 5 0\0"146 VALUE "FileVersion", "1, 0, 0, 59\0" 147 147 VALUE "InternalName", "MonitorInformation" 148 148 VALUE "LegalCopyright", "Copyright (C) Alax.Info, 2006-2008" -
trunk/Utilities/MonitorInformation/MonitorInformation.sln
r288 r361 6 6 GlobalSection(SolutionConfigurationPlatforms) = preSolution 7 7 Debug|Win32 = Debug|Win32 8 Debug|x64 = Debug|x64 8 9 Release|Win32 = Release|Win32 10 Release|x64 = Release|x64 9 11 EndGlobalSection 10 12 GlobalSection(ProjectConfigurationPlatforms) = postSolution 11 13 {3454D960-8277-4756-BD5B-B01DC91590F6}.Debug|Win32.ActiveCfg = Debug|Win32 12 14 {3454D960-8277-4756-BD5B-B01DC91590F6}.Debug|Win32.Build.0 = Debug|Win32 15 {3454D960-8277-4756-BD5B-B01DC91590F6}.Debug|x64.ActiveCfg = Debug|x64 16 {3454D960-8277-4756-BD5B-B01DC91590F6}.Debug|x64.Build.0 = Debug|x64 13 17 {3454D960-8277-4756-BD5B-B01DC91590F6}.Release|Win32.ActiveCfg = Release|Win32 14 18 {3454D960-8277-4756-BD5B-B01DC91590F6}.Release|Win32.Build.0 = Release|Win32 19 {3454D960-8277-4756-BD5B-B01DC91590F6}.Release|x64.ActiveCfg = Release|x64 20 {3454D960-8277-4756-BD5B-B01DC91590F6}.Release|x64.Build.0 = Release|x64 15 21 EndGlobalSection 16 22 GlobalSection(SolutionProperties) = preSolution -
trunk/Utilities/MonitorInformation/MonitorInformation.vcxproj
r288 r361 6 6 <Platform>Win32</Platform> 7 7 </ProjectConfiguration> 8 <ProjectConfiguration Include="Debug|x64"> 9 <Configuration>Debug</Configuration> 10 <Platform>x64</Platform> 11 </ProjectConfiguration> 8 12 <ProjectConfiguration Include="Release|Win32"> 9 13 <Configuration>Release</Configuration> 10 14 <Platform>Win32</Platform> 11 15 </ProjectConfiguration> 16 <ProjectConfiguration Include="Release|x64"> 17 <Configuration>Release</Configuration> 18 <Platform>x64</Platform> 19 </ProjectConfiguration> 12 20 </ItemGroup> 13 21 <PropertyGroup Label="Globals"> … … 18 26 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> 19 27 <ConfigurationType>Application</ConfigurationType> 20 <PlatformToolset>v1 00</PlatformToolset>28 <PlatformToolset>v110_xp</PlatformToolset> 21 29 <UseOfAtl>Static</UseOfAtl> 22 30 <CharacterSet>Unicode</CharacterSet> 23 31 <WholeProgramOptimization>true</WholeProgramOptimization> 24 32 </PropertyGroup> 33 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> 34 <ConfigurationType>Application</ConfigurationType> 35 <PlatformToolset>v110_xp</PlatformToolset> 36 <UseOfAtl>Static</UseOfAtl> 37 <CharacterSet>Unicode</CharacterSet> 38 <WholeProgramOptimization>true</WholeProgramOptimization> 39 </PropertyGroup> 25 40 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> 26 41 <ConfigurationType>Application</ConfigurationType> 27 <PlatformToolset>v100</PlatformToolset> 42 <PlatformToolset>v110_xp</PlatformToolset> 43 <CharacterSet>Unicode</CharacterSet> 44 </PropertyGroup> 45 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> 46 <ConfigurationType>Application</ConfigurationType> 47 <PlatformToolset>v110_xp</PlatformToolset> 28 48 <CharacterSet>Unicode</CharacterSet> 29 49 </PropertyGroup> … … 35 55 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> 36 56 </ImportGroup> 57 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> 58 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 59 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> 60 </ImportGroup> 37 61 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> 62 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 63 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> 64 </ImportGroup> 65 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> 38 66 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 39 67 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> … … 48 76 <LinkIncremental>true</LinkIncremental> 49 77 </PropertyGroup> 78 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> 79 <LinkIncremental>true</LinkIncremental> 80 <OutDir>$(SolutionDir)_Bin\$(Platform)\$(Configuration)\</OutDir> 81 <IntDir>$(SolutionDir)_Bin\$(Platform)\$(Configuration)\$(ProjectName)\</IntDir> 82 </PropertyGroup> 50 83 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> 51 84 <OutDir>Release\</OutDir> … … 53 86 <LinkIncremental>false</LinkIncremental> 54 87 </PropertyGroup> 88 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> 89 <LinkIncremental>false</LinkIncremental> 90 <OutDir>$(SolutionDir)_Bin\$(Platform)\$(Configuration)\</OutDir> 91 <IntDir>$(SolutionDir)_Bin\$(Platform)\$(Configuration)\$(ProjectName)\</IntDir> 92 </PropertyGroup> 55 93 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> 56 94 <Midl> … … 87 125 <DataExecutionPrevention /> 88 126 <TargetMachine>MachineX86</TargetMachine> 127 </Link> 128 </ItemDefinitionGroup> 129 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> 130 <Midl> 131 <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> 132 <MkTypLibCompatible>false</MkTypLibCompatible> 133 <GenerateStublessProxies>true</GenerateStublessProxies> 134 <TypeLibraryName>$(IntDir)MonitorInformation.tlb</TypeLibraryName> 135 <HeaderFileName>MonitorInformation.h</HeaderFileName> 136 <DllDataFileName> 137 </DllDataFileName> 138 <InterfaceIdentifierFileName>MonitorInformation_i.c</InterfaceIdentifierFileName> 139 <ProxyFileName>MonitorInformation_p.c</ProxyFileName> 140 </Midl> 141 <ClCompile> 142 <Optimization>Disabled</Optimization> 143 <PreprocessorDefinitions>WIN32;_WINDOWS;STRICT;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> 144 <ExceptionHandling>Async</ExceptionHandling> 145 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> 146 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> 147 <PrecompiledHeader>Use</PrecompiledHeader> 148 <WarningLevel>Level3</WarningLevel> 149 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> 150 </ClCompile> 151 <ResourceCompile> 152 <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> 153 <Culture>0x0409</Culture> 154 <AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 155 </ResourceCompile> 156 <Link> 157 <GenerateDebugInformation>true</GenerateDebugInformation> 158 <SubSystem>Windows</SubSystem> 159 <RandomizedBaseAddress>false</RandomizedBaseAddress> 160 <DataExecutionPrevention> 161 </DataExecutionPrevention> 89 162 </Link> 90 163 </ItemDefinitionGroup> … … 129 202 </Link> 130 203 </ItemDefinitionGroup> 204 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> 205 <Midl> 206 <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> 207 <MkTypLibCompatible>false</MkTypLibCompatible> 208 <GenerateStublessProxies>true</GenerateStublessProxies> 209 <TypeLibraryName>$(IntDir)MonitorInformation.tlb</TypeLibraryName> 210 <HeaderFileName>MonitorInformation.h</HeaderFileName> 211 <DllDataFileName> 212 </DllDataFileName> 213 <InterfaceIdentifierFileName>MonitorInformation_i.c</InterfaceIdentifierFileName> 214 <ProxyFileName>MonitorInformation_p.c</ProxyFileName> 215 </Midl> 216 <ClCompile> 217 <Optimization>Full</Optimization> 218 <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion> 219 <IntrinsicFunctions>true</IntrinsicFunctions> 220 <FavorSizeOrSpeed>Size</FavorSizeOrSpeed> 221 <OmitFramePointers>true</OmitFramePointers> 222 <EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations> 223 <PreprocessorDefinitions>WIN32;_WINDOWS;STRICT;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> 224 <StringPooling>true</StringPooling> 225 <ExceptionHandling>Async</ExceptionHandling> 226 <RuntimeLibrary>MultiThreaded</RuntimeLibrary> 227 <PrecompiledHeader>Use</PrecompiledHeader> 228 <WarningLevel>Level3</WarningLevel> 229 <DebugInformationFormat> 230 </DebugInformationFormat> 231 </ClCompile> 232 <ResourceCompile> 233 <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> 234 <Culture>0x0409</Culture> 235 <AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 236 </ResourceCompile> 237 <Link> 238 <GenerateDebugInformation>true</GenerateDebugInformation> 239 <SubSystem>Windows</SubSystem> 240 <RandomizedBaseAddress>false</RandomizedBaseAddress> 241 <DataExecutionPrevention> 242 </DataExecutionPrevention> 243 </Link> 244 </ItemDefinitionGroup> 131 245 <ItemGroup> 132 246 <ClCompile Include="MonitorInformation.cpp" /> 133 247 <ClCompile Include="stdafx.cpp"> 134 248 <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader> 249 <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader> 135 250 <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader> 251 <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader> 136 252 </ClCompile> 137 253 </ItemGroup> -
trunk/Utilities/MonitorInformation/stdafx.cpp
r288 r361 1 1 //////////////////////////////////////////////////////////// 2 // stdafx.cpp 3 // 4 // Copyright (C) Alax.Info, 2006-2008 2 // Copyright (C) Alax.Info, 2006-2015 5 3 // http://alax.info 6 4 // … … 9 7 // 10 8 // Created by Roman Ryltsov roman@alax.info 11 //12 // $Id: stdafx.cpp 21 2008-11-22 20:52:51Z alax $13 9 14 10 #include "stdafx.h" -
trunk/Utilities/MonitorInformation/stdafx.h
r288 r361 1 1 //////////////////////////////////////////////////////////// 2 // stdafx.h 3 // 4 // Copyright (C) Alax.Info, 2006-2008 2 // Copyright (C) Alax.Info, 2006-2015 5 3 // http://alax.info 6 4 // … … 9 7 // 10 8 // Created by Roman Ryltsov roman@alax.info 11 //12 // $Id: stdafx.h 21 2008-11-22 20:52:51Z alax $13 9 14 10 #pragma once … … 64 60 #define _WTL_NEW_PAGE_NOTIFY_HANDLERS 65 61 62 #undef _SYSINFOAPI_H_ 66 63 #include <atlapp.h> 64 #define _SYSINFOAPI_H_ 65 67 66 #include <atlgdi.h> 68 67 #include <atluser.h>
Note: See TracChangeset
for help on using the changeset viewer.