From: <an...@us...> - 2007-09-12 16:02:24
|
Revision: 917 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=917&view=rev Author: and-81 Date: 2007-09-12 09:02:09 -0700 (Wed, 12 Sep 2007) Log Message: ----------- Modified Paths: -------------- trunk/plugins/IR Server Suite/Applications/IR Server/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Applications/Translator/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/DriverVista.cs trunk/plugins/IR Server Suite/IR Server Suite.sln trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Blast Zone Plugin/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Control Plugin/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Properties/AssemblyInfo.cs Modified: trunk/plugins/IR Server Suite/Applications/IR Server/Properties/AssemblyInfo.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/IR Server/Properties/AssemblyInfo.cs 2007-09-12 12:28:29 UTC (rev 916) +++ trunk/plugins/IR Server Suite/Applications/IR Server/Properties/AssemblyInfo.cs 2007-09-12 16:02:09 UTC (rev 917) @@ -2,7 +2,6 @@ using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using System.Security.Permissions; // // General Information about an assembly is controlled through the following @@ -39,5 +38,4 @@ [assembly: CLSCompliant(true)] -[assembly: SecurityPermission(SecurityAction.RequestMinimum, UnmanagedCode = true)] [assembly: GuidAttribute("a94fbaf3-2d68-45da-8f4f-7dee41f00040")] Modified: trunk/plugins/IR Server Suite/Applications/Translator/Properties/AssemblyInfo.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Translator/Properties/AssemblyInfo.cs 2007-09-12 12:28:29 UTC (rev 916) +++ trunk/plugins/IR Server Suite/Applications/Translator/Properties/AssemblyInfo.cs 2007-09-12 16:02:09 UTC (rev 917) @@ -2,7 +2,6 @@ using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using System.Security.Permissions; // // General Information about an assembly is controlled through the following @@ -39,5 +38,4 @@ [assembly: CLSCompliant(true)] -[assembly: SecurityPermission(SecurityAction.RequestMinimum, UnmanagedCode = true)] [assembly: GuidAttribute("00506894-d61e-47b9-9039-879c543a73e1")] Modified: trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/DriverVista.cs =================================================================== --- trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/DriverVista.cs 2007-09-12 12:28:29 UTC (rev 916) +++ trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/DriverVista.cs 2007-09-12 16:02:09 UTC (rev 917) @@ -28,7 +28,7 @@ #region Enumerations - public enum IoCtrl : uint + enum IoCtrl : uint { StartReceive = 0x0F608028, StopReceive = 0x0F60802C, @@ -42,7 +42,7 @@ /// IR Device Capability Flags. /// </summary> [Flags] - public enum DeviceCapabilityFlags : uint + enum DeviceCapabilityFlags : uint { /// <summary> /// Hardware supports legacy key signing. @@ -83,7 +83,7 @@ } [Flags] - public enum TransmitFlags : uint + enum TransmitFlags : uint { /// <summary> /// Pulse Mode. @@ -112,7 +112,7 @@ #region Structures [StructLayout(LayoutKind.Sequential)] - public struct TransmitChunk + struct TransmitChunk { /// <summary> /// Next chunk offset. @@ -129,7 +129,7 @@ } [StructLayout(LayoutKind.Sequential)] - public struct TransmitParams + struct TransmitParams { /// <summary> /// Bitmask containing ports to transmit on. @@ -151,7 +151,7 @@ } [StructLayout(LayoutKind.Sequential)] - public struct ReceiveParams + struct ReceiveParams { /// <summary> /// Last packet in block? @@ -168,7 +168,7 @@ } [StructLayout(LayoutKind.Sequential)] - public struct StartReceiveParams + struct StartReceiveParams { /// <summary> /// Index of the receiver to use. @@ -181,7 +181,7 @@ } [StructLayout(LayoutKind.Sequential)] - public struct DeviceCapabilities + struct DeviceCapabilities { /// <summary> /// Protocol version. Currently must be 100 (1.0). @@ -306,7 +306,7 @@ { Marshal.StructureToPtr(structure, structPtr, false); - IoControlSync(IoCtrl.StartReceive, structPtr, Marshal.SizeOf(structure), IntPtr.Zero, 0, out bytesReturned); + IoControl(IoCtrl.StartReceive, structPtr, Marshal.SizeOf(structure), IntPtr.Zero, 0, out bytesReturned); } catch { @@ -321,7 +321,7 @@ void StopReceive() { int bytesReturned; - IoControlSync(IoCtrl.StopReceive, IntPtr.Zero, 0, IntPtr.Zero, 0, out bytesReturned); + IoControl(IoCtrl.StopReceive, IntPtr.Zero, 0, IntPtr.Zero, 0, out bytesReturned); } void GetDeviceCapabilities() @@ -336,7 +336,7 @@ { Marshal.StructureToPtr(structure, structPtr, false); - IoControlSync(IoCtrl.GetDetails, IntPtr.Zero, 0, structPtr, Marshal.SizeOf(structure), out bytesReturned); + IoControl(IoCtrl.GetDetails, IntPtr.Zero, 0, structPtr, Marshal.SizeOf(structure), out bytesReturned); structure = (DeviceCapabilities)Marshal.PtrToStructure(structPtr, typeof(DeviceCapabilities)); } @@ -387,7 +387,7 @@ { Marshal.StructureToPtr(data, pointerToData, false); - IoControlSync(IoCtrl.GetBlasters, IntPtr.Zero, 0, pointerToData, sizeof(uint), out bytesReturned); + IoControl(IoCtrl.GetBlasters, IntPtr.Zero, 0, pointerToData, sizeof(uint), out bytesReturned); data = (uint)Marshal.PtrToStructure(pointerToData, typeof(uint)); } @@ -447,7 +447,7 @@ Marshal.Copy(buffer, 0, bufferPtr, buffer.Length); - IoControlSync(IoCtrl.Transmit, structurePtr, Marshal.SizeOf(typeof(TransmitParams)), bufferPtr, bufferSize, out bytesReturned); + IoControl(IoCtrl.Transmit, structurePtr, Marshal.SizeOf(typeof(TransmitParams)), bufferPtr, bufferSize, out bytesReturned); } catch { @@ -460,7 +460,7 @@ } } - void IoControlSync(IoCtrl ioControlCode, IntPtr inBuffer, int inBufferSize, IntPtr outBuffer, int outBufferSize, out int bytesReturned) + void IoControl(IoCtrl ioControlCode, IntPtr inBuffer, int inBufferSize, IntPtr outBuffer, int outBufferSize, out int bytesReturned) { NativeOverlapped overlapped; overlapped.InternalLow = IntPtr.Zero; @@ -708,7 +708,7 @@ while (_readThreadMode != ReadThreadMode.Stop) { - IoControlSync(IoCtrl.Receive, IntPtr.Zero, 0, receiveParamsPtr, receiveParamsSize, out bytesRead); + IoControl(IoCtrl.Receive, IntPtr.Zero, 0, receiveParamsPtr, receiveParamsSize, out bytesRead); if (bytesRead > Marshal.SizeOf(receiveParams)) { Modified: trunk/plugins/IR Server Suite/IR Server Suite.sln =================================================================== --- trunk/plugins/IR Server Suite/IR Server Suite.sln 2007-09-12 12:28:29 UTC (rev 916) +++ trunk/plugins/IR Server Suite/IR Server Suite.sln 2007-09-12 16:02:09 UTC (rev 917) @@ -253,6 +253,18 @@ Release.AspNetCompiler.Debug = "False" EndProjectSection EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MediaPortal 2 Plugins", "MediaPortal 2 Plugins", "{925C6589-16EF-4B2B-A184-FA44FF04C2F6}" + ProjectSection(WebsiteProperties) = preProject + Debug.AspNetCompiler.Debug = "True" + Release.AspNetCompiler.Debug = "False" + EndProjectSection +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MP2 Control Plugin", "MediaPortal 2 Plugins\MP2 Control Plugin\MP2 Control Plugin.csproj", "{E5A37205-4AA5-4697-BF16-D2F560F2314E}" + ProjectSection(WebsiteProperties) = preProject + Debug.AspNetCompiler.Debug = "True" + Release.AspNetCompiler.Debug = "False" + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -546,6 +558,12 @@ {6E7C6F27-DA95-4F2F-A97D-1EA8E1517A4C}.Release|Any CPU.ActiveCfg = Release|Any CPU {6E7C6F27-DA95-4F2F-A97D-1EA8E1517A4C}.Release|Any CPU.Build.0 = Release|Any CPU {6E7C6F27-DA95-4F2F-A97D-1EA8E1517A4C}.Release|x86.ActiveCfg = Release|Any CPU + {E5A37205-4AA5-4697-BF16-D2F560F2314E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E5A37205-4AA5-4697-BF16-D2F560F2314E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E5A37205-4AA5-4697-BF16-D2F560F2314E}.Debug|x86.ActiveCfg = Debug|Any CPU + {E5A37205-4AA5-4697-BF16-D2F560F2314E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E5A37205-4AA5-4697-BF16-D2F560F2314E}.Release|Any CPU.Build.0 = Release|Any CPU + {E5A37205-4AA5-4697-BF16-D2F560F2314E}.Release|x86.ActiveCfg = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -587,5 +605,6 @@ {CA15769C-232E-4CA7-94FD-206A06CA3ABB} = {E757F80C-23C5-4AD6-B178-16799E337E03} {08F57DD7-2C6E-484E-9CC5-835F70C5BC64} = {E757F80C-23C5-4AD6-B178-16799E337E03} {BCAFDF45-70DD-46FD-8B98-880DDA585AD2} = {E757F80C-23C5-4AD6-B178-16799E337E03} + {E5A37205-4AA5-4697-BF16-D2F560F2314E} = {925C6589-16EF-4B2B-A184-FA44FF04C2F6} EndGlobalSection EndGlobal Modified: trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Blast Zone Plugin/Properties/AssemblyInfo.cs =================================================================== --- trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Blast Zone Plugin/Properties/AssemblyInfo.cs 2007-09-12 12:28:29 UTC (rev 916) +++ trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Blast Zone Plugin/Properties/AssemblyInfo.cs 2007-09-12 16:02:09 UTC (rev 917) @@ -2,7 +2,6 @@ using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using System.Security.Permissions; // // General Information about an assembly is controlled through the following @@ -68,5 +67,4 @@ [assembly: CLSCompliant(false)] -[assembly: SecurityPermission(SecurityAction.RequestMinimum, UnmanagedCode = true)] [assembly: GuidAttribute("59123d08-2c0c-4220-b9e6-1944e218892b")] Modified: trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Control Plugin/Properties/AssemblyInfo.cs =================================================================== --- trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Control Plugin/Properties/AssemblyInfo.cs 2007-09-12 12:28:29 UTC (rev 916) +++ trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Control Plugin/Properties/AssemblyInfo.cs 2007-09-12 16:02:09 UTC (rev 917) @@ -2,7 +2,6 @@ using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using System.Security.Permissions; // // General Information about an assembly is controlled through the following @@ -68,5 +67,4 @@ [assembly: CLSCompliant(true)] -[assembly: SecurityPermission(SecurityAction.RequestMinimum, UnmanagedCode = true)] [assembly: GuidAttribute("0f4a15ea-ff0f-4031-87bd-eebfd5d0e7da")] Modified: trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Properties/AssemblyInfo.cs =================================================================== --- trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Properties/AssemblyInfo.cs 2007-09-12 12:28:29 UTC (rev 916) +++ trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Properties/AssemblyInfo.cs 2007-09-12 16:02:09 UTC (rev 917) @@ -2,7 +2,6 @@ using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using System.Security.Permissions; // // General Information about an assembly is controlled through the following @@ -68,5 +67,4 @@ [assembly: CLSCompliant(true)] -[assembly: SecurityPermission(SecurityAction.RequestMinimum, UnmanagedCode = true)] [assembly: GuidAttribute("5bdbc5bc-1085-4c12-9056-f6fade27d919")] Modified: trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Properties/AssemblyInfo.cs =================================================================== --- trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Properties/AssemblyInfo.cs 2007-09-12 12:28:29 UTC (rev 916) +++ trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Properties/AssemblyInfo.cs 2007-09-12 16:02:09 UTC (rev 917) @@ -2,7 +2,6 @@ using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using System.Security.Permissions; // // General Information about an assembly is controlled through the following @@ -68,5 +67,4 @@ [assembly: CLSCompliant(true)] -[assembly: SecurityPermission(SecurityAction.RequestMinimum, UnmanagedCode = true)] [assembly: GuidAttribute("d9a51585-70cf-47cc-a787-7a784d46a36f")] This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |