From 74dfd7d968967dc0ccbf1a6a08bdb0aabd8fd0e3 Mon Sep 17 00:00:00 2001 From: Santiago Regueiro Date: Sun, 23 Nov 2014 01:09:56 +0100 Subject: [PATCH] Refactor namespace and class names --- CCDWrapper/CCDWrapper.csproj | 2 +- CCDWrapper/Enum/D3DmtVideoSignalStandard.cs | 2 +- CCDWrapper/Enum/DisplayConfigDeviceInfoType.cs | 2 +- CCDWrapper/Enum/DisplayConfigFlags.cs | 2 +- CCDWrapper/Enum/DisplayConfigModeInfoType.cs | 2 +- CCDWrapper/Enum/DisplayConfigPixelFormat.cs | 2 +- CCDWrapper/Enum/DisplayConfigRotation.cs | 2 +- CCDWrapper/Enum/DisplayConfigScaling.cs | 2 +- CCDWrapper/Enum/DisplayConfigScanLineOrdering.cs | 2 +- CCDWrapper/Enum/DisplayConfigSourceStatus.cs | 2 +- CCDWrapper/Enum/DisplayConfigTargetStatus.cs | 2 +- CCDWrapper/Enum/DisplayConfigTopologyId.cs | 2 +- .../Enum/DisplayConfigVideoOutputTechnology.cs | 2 +- CCDWrapper/Enum/QueryDisplayFlags.cs | 2 +- CCDWrapper/Enum/SdcFlags.cs | 2 +- CCDWrapper/Enum/StatusCode.cs | 2 +- CCDWrapper/IDisplayConfigInfo.cs | 2 +- CCDWrapper/Properties/AssemblyInfo.cs | 12 ++++++------ CCDWrapper/Struct/DisplayConfig2DRegion.cs | 2 +- CCDWrapper/Struct/DisplayConfigAdapterName.cs | 2 +- CCDWrapper/Struct/DisplayConfigDeviceInfoHeader.cs | 4 ++-- CCDWrapper/Struct/DisplayConfigModeInfo.cs | 4 ++-- CCDWrapper/Struct/DisplayConfigPathInfo.cs | 4 ++-- CCDWrapper/Struct/DisplayConfigPathSourceInfo.cs | 4 ++-- CCDWrapper/Struct/DisplayConfigPathTargetInfo.cs | 4 ++-- CCDWrapper/Struct/DisplayConfigPathWrap.cs | 2 +- CCDWrapper/Struct/DisplayConfigRational.cs | 2 +- .../Struct/DisplayConfigSetTargetPersistence.cs | 2 +- CCDWrapper/Struct/DisplayConfigSourceDeviceName.cs | 2 +- CCDWrapper/Struct/DisplayConfigSourceMode.cs | 4 ++-- CCDWrapper/Struct/DisplayConfigTargetDeviceName.cs | 4 ++-- .../Struct/DisplayConfigTargetDeviceNameFlags.cs | 2 +- CCDWrapper/Struct/DisplayConfigTargetMode.cs | 2 +- .../Struct/DisplayConfigTargetPreferredMode.cs | 2 +- CCDWrapper/Struct/DisplayConfigVideoSignalInfo.cs | 4 ++-- CCDWrapper/Struct/LUID.cs | 2 +- CCDWrapper/Struct/PointL.cs | 2 +- CCDWrapper/{CCDWrapper.cs => Wrapper.cs} | 8 ++++---- 38 files changed, 54 insertions(+), 54 deletions(-) rename CCDWrapper/{CCDWrapper.cs => Wrapper.cs} (97%) diff --git a/CCDWrapper/CCDWrapper.csproj b/CCDWrapper/CCDWrapper.csproj index 8f52b5f..09771f6 100644 --- a/CCDWrapper/CCDWrapper.csproj +++ b/CCDWrapper/CCDWrapper.csproj @@ -40,7 +40,7 @@ - + diff --git a/CCDWrapper/Enum/D3DmtVideoSignalStandard.cs b/CCDWrapper/Enum/D3DmtVideoSignalStandard.cs index 5a12517..8613c7b 100644 --- a/CCDWrapper/Enum/D3DmtVideoSignalStandard.cs +++ b/CCDWrapper/Enum/D3DmtVideoSignalStandard.cs @@ -1,6 +1,6 @@ using System; -namespace CCDWrapper.Enum +namespace CCD.Enum { [Flags] public enum D3DmdtVideoSignalStandard : uint diff --git a/CCDWrapper/Enum/DisplayConfigDeviceInfoType.cs b/CCDWrapper/Enum/DisplayConfigDeviceInfoType.cs index 5fab9d1..d55be34 100644 --- a/CCDWrapper/Enum/DisplayConfigDeviceInfoType.cs +++ b/CCDWrapper/Enum/DisplayConfigDeviceInfoType.cs @@ -1,4 +1,4 @@ -namespace CCDWrapper.Enum +namespace CCD.Enum { public enum DisplayConfigDeviceInfoType : uint { diff --git a/CCDWrapper/Enum/DisplayConfigFlags.cs b/CCDWrapper/Enum/DisplayConfigFlags.cs index c9d14e7..1c71bb4 100644 --- a/CCDWrapper/Enum/DisplayConfigFlags.cs +++ b/CCDWrapper/Enum/DisplayConfigFlags.cs @@ -1,6 +1,6 @@ using System; -namespace CCDWrapper.Enum +namespace CCD.Enum { [Flags] public enum DisplayConfigFlags : uint diff --git a/CCDWrapper/Enum/DisplayConfigModeInfoType.cs b/CCDWrapper/Enum/DisplayConfigModeInfoType.cs index 5512569..a4fea09 100644 --- a/CCDWrapper/Enum/DisplayConfigModeInfoType.cs +++ b/CCDWrapper/Enum/DisplayConfigModeInfoType.cs @@ -1,6 +1,6 @@ using System; -namespace CCDWrapper.Enum +namespace CCD.Enum { [Flags] public enum DisplayConfigModeInfoType : uint diff --git a/CCDWrapper/Enum/DisplayConfigPixelFormat.cs b/CCDWrapper/Enum/DisplayConfigPixelFormat.cs index 03dad2f..06ecdb4 100644 --- a/CCDWrapper/Enum/DisplayConfigPixelFormat.cs +++ b/CCDWrapper/Enum/DisplayConfigPixelFormat.cs @@ -1,6 +1,6 @@ using System; -namespace CCDWrapper.Enum +namespace CCD.Enum { [Flags] public enum DisplayConfigPixelFormat : uint diff --git a/CCDWrapper/Enum/DisplayConfigRotation.cs b/CCDWrapper/Enum/DisplayConfigRotation.cs index 1ee0937..10679ad 100644 --- a/CCDWrapper/Enum/DisplayConfigRotation.cs +++ b/CCDWrapper/Enum/DisplayConfigRotation.cs @@ -1,6 +1,6 @@ using System; -namespace CCDWrapper.Enum +namespace CCD.Enum { [Flags] public enum DisplayConfigRotation : uint diff --git a/CCDWrapper/Enum/DisplayConfigScaling.cs b/CCDWrapper/Enum/DisplayConfigScaling.cs index 6dc1558..a168270 100644 --- a/CCDWrapper/Enum/DisplayConfigScaling.cs +++ b/CCDWrapper/Enum/DisplayConfigScaling.cs @@ -1,6 +1,6 @@ using System; -namespace CCDWrapper.Enum +namespace CCD.Enum { [Flags] public enum DisplayConfigScaling : uint diff --git a/CCDWrapper/Enum/DisplayConfigScanLineOrdering.cs b/CCDWrapper/Enum/DisplayConfigScanLineOrdering.cs index 66c37bb..ccb13b8 100644 --- a/CCDWrapper/Enum/DisplayConfigScanLineOrdering.cs +++ b/CCDWrapper/Enum/DisplayConfigScanLineOrdering.cs @@ -1,6 +1,6 @@ using System; -namespace CCDWrapper.Enum +namespace CCD.Enum { [Flags] public enum DisplayConfigScanLineOrdering : uint diff --git a/CCDWrapper/Enum/DisplayConfigSourceStatus.cs b/CCDWrapper/Enum/DisplayConfigSourceStatus.cs index 272d6dd..22915b6 100644 --- a/CCDWrapper/Enum/DisplayConfigSourceStatus.cs +++ b/CCDWrapper/Enum/DisplayConfigSourceStatus.cs @@ -1,6 +1,6 @@ using System; -namespace CCDWrapper.Enum +namespace CCD.Enum { [Flags] public enum DisplayConfigSourceStatus diff --git a/CCDWrapper/Enum/DisplayConfigTargetStatus.cs b/CCDWrapper/Enum/DisplayConfigTargetStatus.cs index 02e805e..7ca0e3f 100644 --- a/CCDWrapper/Enum/DisplayConfigTargetStatus.cs +++ b/CCDWrapper/Enum/DisplayConfigTargetStatus.cs @@ -1,6 +1,6 @@ using System; -namespace CCDWrapper.Enum +namespace CCD.Enum { [Flags] public enum DisplayConfigTargetStatus : uint diff --git a/CCDWrapper/Enum/DisplayConfigTopologyId.cs b/CCDWrapper/Enum/DisplayConfigTopologyId.cs index edaa7f0..e787f97 100644 --- a/CCDWrapper/Enum/DisplayConfigTopologyId.cs +++ b/CCDWrapper/Enum/DisplayConfigTopologyId.cs @@ -1,6 +1,6 @@ using System; -namespace CCDWrapper.Enum +namespace CCD.Enum { [Flags] public enum DisplayConfigTopologyId : uint diff --git a/CCDWrapper/Enum/DisplayConfigVideoOutputTechnology.cs b/CCDWrapper/Enum/DisplayConfigVideoOutputTechnology.cs index 2a2f05c..9fd6cf9 100644 --- a/CCDWrapper/Enum/DisplayConfigVideoOutputTechnology.cs +++ b/CCDWrapper/Enum/DisplayConfigVideoOutputTechnology.cs @@ -1,6 +1,6 @@ using System; -namespace CCDWrapper.Enum +namespace CCD.Enum { [Flags] public enum DisplayConfigVideoOutputTechnology : uint diff --git a/CCDWrapper/Enum/QueryDisplayFlags.cs b/CCDWrapper/Enum/QueryDisplayFlags.cs index fc67f65..a6ca084 100644 --- a/CCDWrapper/Enum/QueryDisplayFlags.cs +++ b/CCDWrapper/Enum/QueryDisplayFlags.cs @@ -1,6 +1,6 @@ using System; -namespace CCDWrapper.Enum +namespace CCD.Enum { [Flags] public enum QueryDisplayFlags : uint diff --git a/CCDWrapper/Enum/SdcFlags.cs b/CCDWrapper/Enum/SdcFlags.cs index 7bdd42b..81b4c89 100644 --- a/CCDWrapper/Enum/SdcFlags.cs +++ b/CCDWrapper/Enum/SdcFlags.cs @@ -1,6 +1,6 @@ using System; -namespace CCDWrapper.Enum +namespace CCD.Enum { [Flags] public enum SdcFlags : uint diff --git a/CCDWrapper/Enum/StatusCode.cs b/CCDWrapper/Enum/StatusCode.cs index c6e74c2..b12a304 100644 --- a/CCDWrapper/Enum/StatusCode.cs +++ b/CCDWrapper/Enum/StatusCode.cs @@ -1,4 +1,4 @@ -namespace CCDWrapper.Enum +namespace CCD.Enum { /// /// Use this enum so that you don't have to hardcode magic values. diff --git a/CCDWrapper/IDisplayConfigInfo.cs b/CCDWrapper/IDisplayConfigInfo.cs index 3abe78a..c86834d 100644 --- a/CCDWrapper/IDisplayConfigInfo.cs +++ b/CCDWrapper/IDisplayConfigInfo.cs @@ -1,4 +1,4 @@ -namespace CCDWrapper +namespace CCD { /// /// Just an contract. diff --git a/CCDWrapper/Properties/AssemblyInfo.cs b/CCDWrapper/Properties/AssemblyInfo.cs index 70578ec..8cfb190 100644 --- a/CCDWrapper/Properties/AssemblyInfo.cs +++ b/CCDWrapper/Properties/AssemblyInfo.cs @@ -4,11 +4,11 @@ // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. -[assembly: AssemblyTitle("CCDWrapper")] -[assembly: AssemblyDescription("")] +[assembly: AssemblyTitle("Wrapper")] +[assembly: AssemblyDescription("A wrapper for accessing the Windows Connecting and Configuring Displays API")] [assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("CCDWrapper")] +[assembly: AssemblyCompany("Santiago Regueiro, Erti-Chris Eelmaa")] +[assembly: AssemblyProduct("Wrapper")] [assembly: AssemblyCopyright("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -31,5 +31,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyVersion("1.0.1.0")] +[assembly: AssemblyFileVersion("1.0.1.0")] diff --git a/CCDWrapper/Struct/DisplayConfig2DRegion.cs b/CCDWrapper/Struct/DisplayConfig2DRegion.cs index 2e6754f..bfc0526 100644 --- a/CCDWrapper/Struct/DisplayConfig2DRegion.cs +++ b/CCDWrapper/Struct/DisplayConfig2DRegion.cs @@ -1,6 +1,6 @@ using System.Runtime.InteropServices; -namespace CCDWrapper.Struct +namespace CCD.Struct { [StructLayout(LayoutKind.Sequential)] public struct DisplayConfig2DRegion diff --git a/CCDWrapper/Struct/DisplayConfigAdapterName.cs b/CCDWrapper/Struct/DisplayConfigAdapterName.cs index cdd801e..f65b1c3 100644 --- a/CCDWrapper/Struct/DisplayConfigAdapterName.cs +++ b/CCDWrapper/Struct/DisplayConfigAdapterName.cs @@ -1,6 +1,6 @@ using System.Runtime.InteropServices; -namespace CCDWrapper.Struct +namespace CCD.Struct { [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] public struct DisplayConfigAdapterName : IDisplayConfigInfo diff --git a/CCDWrapper/Struct/DisplayConfigDeviceInfoHeader.cs b/CCDWrapper/Struct/DisplayConfigDeviceInfoHeader.cs index ed650af..6fe03af 100644 --- a/CCDWrapper/Struct/DisplayConfigDeviceInfoHeader.cs +++ b/CCDWrapper/Struct/DisplayConfigDeviceInfoHeader.cs @@ -1,7 +1,7 @@ using System.Runtime.InteropServices; -using CCDWrapper.Enum; +using CCD.Enum; -namespace CCDWrapper.Struct +namespace CCD.Struct { [StructLayout(LayoutKind.Sequential)] public struct DisplayConfigDeviceInfoHeader diff --git a/CCDWrapper/Struct/DisplayConfigModeInfo.cs b/CCDWrapper/Struct/DisplayConfigModeInfo.cs index 43c4b82..febfa42 100644 --- a/CCDWrapper/Struct/DisplayConfigModeInfo.cs +++ b/CCDWrapper/Struct/DisplayConfigModeInfo.cs @@ -1,7 +1,7 @@ using System.Runtime.InteropServices; -using CCDWrapper.Enum; +using CCD.Enum; -namespace CCDWrapper.Struct +namespace CCD.Struct { [StructLayout(LayoutKind.Explicit)] public struct DisplayConfigModeInfo diff --git a/CCDWrapper/Struct/DisplayConfigPathInfo.cs b/CCDWrapper/Struct/DisplayConfigPathInfo.cs index cf563ff..4dfed61 100644 --- a/CCDWrapper/Struct/DisplayConfigPathInfo.cs +++ b/CCDWrapper/Struct/DisplayConfigPathInfo.cs @@ -1,7 +1,7 @@ using System.Runtime.InteropServices; -using CCDWrapper.Enum; +using CCD.Enum; -namespace CCDWrapper.Struct +namespace CCD.Struct { [StructLayout(LayoutKind.Sequential)] public struct DisplayConfigPathInfo diff --git a/CCDWrapper/Struct/DisplayConfigPathSourceInfo.cs b/CCDWrapper/Struct/DisplayConfigPathSourceInfo.cs index 77c38a6..0dd41d3 100644 --- a/CCDWrapper/Struct/DisplayConfigPathSourceInfo.cs +++ b/CCDWrapper/Struct/DisplayConfigPathSourceInfo.cs @@ -1,7 +1,7 @@ using System.Runtime.InteropServices; -using CCDWrapper.Enum; +using CCD.Enum; -namespace CCDWrapper.Struct +namespace CCD.Struct { [StructLayout(LayoutKind.Sequential)] public struct DisplayConfigPathSourceInfo diff --git a/CCDWrapper/Struct/DisplayConfigPathTargetInfo.cs b/CCDWrapper/Struct/DisplayConfigPathTargetInfo.cs index 39c96ea..2c15131 100644 --- a/CCDWrapper/Struct/DisplayConfigPathTargetInfo.cs +++ b/CCDWrapper/Struct/DisplayConfigPathTargetInfo.cs @@ -1,7 +1,7 @@ using System.Runtime.InteropServices; -using CCDWrapper.Enum; +using CCD.Enum; -namespace CCDWrapper.Struct +namespace CCD.Struct { [StructLayout(LayoutKind.Sequential)] public struct DisplayConfigPathTargetInfo diff --git a/CCDWrapper/Struct/DisplayConfigPathWrap.cs b/CCDWrapper/Struct/DisplayConfigPathWrap.cs index ff0cc7e..bec689e 100644 --- a/CCDWrapper/Struct/DisplayConfigPathWrap.cs +++ b/CCDWrapper/Struct/DisplayConfigPathWrap.cs @@ -1,6 +1,6 @@ using System.Collections.Generic; -namespace CCDWrapper.Struct +namespace CCD.Struct { /// /// This class is used in order to wrap path and mode info. diff --git a/CCDWrapper/Struct/DisplayConfigRational.cs b/CCDWrapper/Struct/DisplayConfigRational.cs index 035618f..404d1fd 100644 --- a/CCDWrapper/Struct/DisplayConfigRational.cs +++ b/CCDWrapper/Struct/DisplayConfigRational.cs @@ -1,6 +1,6 @@ using System.Runtime.InteropServices; -namespace CCDWrapper.Struct +namespace CCD.Struct { [StructLayout(LayoutKind.Sequential)] public struct DisplayConfigRational diff --git a/CCDWrapper/Struct/DisplayConfigSetTargetPersistence.cs b/CCDWrapper/Struct/DisplayConfigSetTargetPersistence.cs index 9031abc..cf50f08 100644 --- a/CCDWrapper/Struct/DisplayConfigSetTargetPersistence.cs +++ b/CCDWrapper/Struct/DisplayConfigSetTargetPersistence.cs @@ -1,6 +1,6 @@ using System.Runtime.InteropServices; -namespace CCDWrapper.Struct +namespace CCD.Struct { [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] public struct DisplayConfigSetTargetPersistence : IDisplayConfigInfo diff --git a/CCDWrapper/Struct/DisplayConfigSourceDeviceName.cs b/CCDWrapper/Struct/DisplayConfigSourceDeviceName.cs index fc8b849..59c720c 100644 --- a/CCDWrapper/Struct/DisplayConfigSourceDeviceName.cs +++ b/CCDWrapper/Struct/DisplayConfigSourceDeviceName.cs @@ -1,6 +1,6 @@ using System.Runtime.InteropServices; -namespace CCDWrapper.Struct +namespace CCD.Struct { [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] public struct DisplayConfigSourceDeviceName : IDisplayConfigInfo diff --git a/CCDWrapper/Struct/DisplayConfigSourceMode.cs b/CCDWrapper/Struct/DisplayConfigSourceMode.cs index 190ddee..2dbd886 100644 --- a/CCDWrapper/Struct/DisplayConfigSourceMode.cs +++ b/CCDWrapper/Struct/DisplayConfigSourceMode.cs @@ -1,7 +1,7 @@ using System.Runtime.InteropServices; -using CCDWrapper.Enum; +using CCD.Enum; -namespace CCDWrapper.Struct +namespace CCD.Struct { [StructLayout(LayoutKind.Sequential)] public struct DisplayConfigSourceMode diff --git a/CCDWrapper/Struct/DisplayConfigTargetDeviceName.cs b/CCDWrapper/Struct/DisplayConfigTargetDeviceName.cs index a3090b8..c503890 100644 --- a/CCDWrapper/Struct/DisplayConfigTargetDeviceName.cs +++ b/CCDWrapper/Struct/DisplayConfigTargetDeviceName.cs @@ -1,7 +1,7 @@ using System.Runtime.InteropServices; -using CCDWrapper.Enum; +using CCD.Enum; -namespace CCDWrapper.Struct +namespace CCD.Struct { [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode, Pack = 1)] public struct DisplayConfigTargetDeviceName : IDisplayConfigInfo diff --git a/CCDWrapper/Struct/DisplayConfigTargetDeviceNameFlags.cs b/CCDWrapper/Struct/DisplayConfigTargetDeviceNameFlags.cs index 7ee149d..bab1a3f 100644 --- a/CCDWrapper/Struct/DisplayConfigTargetDeviceNameFlags.cs +++ b/CCDWrapper/Struct/DisplayConfigTargetDeviceNameFlags.cs @@ -1,6 +1,6 @@ using System.Runtime.InteropServices; -namespace CCDWrapper.Struct +namespace CCD.Struct { [StructLayout(LayoutKind.Explicit)] public struct DisplayConfigTargetDeviceNameFlags diff --git a/CCDWrapper/Struct/DisplayConfigTargetMode.cs b/CCDWrapper/Struct/DisplayConfigTargetMode.cs index bb4163f..4a6acb2 100644 --- a/CCDWrapper/Struct/DisplayConfigTargetMode.cs +++ b/CCDWrapper/Struct/DisplayConfigTargetMode.cs @@ -1,6 +1,6 @@ using System.Runtime.InteropServices; -namespace CCDWrapper.Struct +namespace CCD.Struct { [StructLayout(LayoutKind.Sequential)] public struct DisplayConfigTargetMode diff --git a/CCDWrapper/Struct/DisplayConfigTargetPreferredMode.cs b/CCDWrapper/Struct/DisplayConfigTargetPreferredMode.cs index a7a2f19..b99d9ba 100644 --- a/CCDWrapper/Struct/DisplayConfigTargetPreferredMode.cs +++ b/CCDWrapper/Struct/DisplayConfigTargetPreferredMode.cs @@ -1,6 +1,6 @@ using System.Runtime.InteropServices; -namespace CCDWrapper.Struct +namespace CCD.Struct { [StructLayout(LayoutKind.Sequential)] public struct DisplayConfigTargetPreferredMode : IDisplayConfigInfo diff --git a/CCDWrapper/Struct/DisplayConfigVideoSignalInfo.cs b/CCDWrapper/Struct/DisplayConfigVideoSignalInfo.cs index 02baf08..6fda7b3 100644 --- a/CCDWrapper/Struct/DisplayConfigVideoSignalInfo.cs +++ b/CCDWrapper/Struct/DisplayConfigVideoSignalInfo.cs @@ -1,7 +1,7 @@ using System.Runtime.InteropServices; -using CCDWrapper.Enum; +using CCD.Enum; -namespace CCDWrapper.Struct +namespace CCD.Struct { [StructLayout(LayoutKind.Sequential)] public struct DisplayConfigVideoSignalInfo diff --git a/CCDWrapper/Struct/LUID.cs b/CCDWrapper/Struct/LUID.cs index 70b11a5..27f0f99 100644 --- a/CCDWrapper/Struct/LUID.cs +++ b/CCDWrapper/Struct/LUID.cs @@ -1,6 +1,6 @@ using System.Runtime.InteropServices; -namespace CCDWrapper.Struct +namespace CCD.Struct { [StructLayout(LayoutKind.Sequential)] public struct Luid diff --git a/CCDWrapper/Struct/PointL.cs b/CCDWrapper/Struct/PointL.cs index 4676646..80f9add 100644 --- a/CCDWrapper/Struct/PointL.cs +++ b/CCDWrapper/Struct/PointL.cs @@ -1,6 +1,6 @@ using System.Runtime.InteropServices; -namespace CCDWrapper.Struct +namespace CCD.Struct { [StructLayout(LayoutKind.Sequential)] public struct PointL diff --git a/CCDWrapper/CCDWrapper.cs b/CCDWrapper/Wrapper.cs similarity index 97% rename from CCDWrapper/CCDWrapper.cs rename to CCDWrapper/Wrapper.cs index 03e07de..b034756 100644 --- a/CCDWrapper/CCDWrapper.cs +++ b/CCDWrapper/Wrapper.cs @@ -1,12 +1,12 @@ using System; using System.Runtime.InteropServices; -using CCDWrapper.Enum; -using CCDWrapper.Struct; +using CCD.Enum; +using CCD.Struct; -namespace CCDWrapper +namespace CCD { // ReSharper disable once InconsistentNaming - public class CCDWrapper + public class Wrapper { [DllImport("User32.dll")] public static extern StatusCode SetDisplayConfig(