We need you! We're working hard on the next version of Developer Fusion -
Let us know what you think we should be up to!
-
Expand
Microsoft.Win32
-
Expand
ASM_CACHE
-
Expand
ASM_NAME
-
Expand
CANOF
-
Expand
FILE_TIME
-
Expand
Fusion
-
Expand
NativeMethods
-
Expand
OSVERSIONINFO
-
Expand
OSVERSIONINFOEX
-
Expand
PROCESS_INFORMATION
-
Expand
SafeNativeMethods
-
CloseHandle(HandleRef)
-
CloseHandle(IntPtr)
-
CreateSemaphore(NativeMethods.SECURITY_ATTRIBUTES, int, int, string)
-
FormatMessage(int, HandleRef, int, int, StringBuilder, int, IntPtr)
-
FormatMessage(int, SafeHandle, uint, int, StringBuilder, int, IntPtr)
-
MessageBox(HandleRef, string, string, int)
-
OpenSemaphore(int, bool, string)
-
OutputDebugString(string)
-
QueryPerformanceCounter(long)
-
QueryPerformanceCounter(long)
-
QueryPerformanceFrequency(long)
-
QueryPerformanceFrequency(long)
-
ReleaseSemaphore(SafeWaitHandle, int, int)
-
Expand
SafeNativeMethods
-
CloseHandle(HandleRef)
-
CloseHandle(IntPtr)
-
CreateSemaphore(NativeMethods.SECURITY_ATTRIBUTES, int, int, string)
-
FormatMessage(int, HandleRef, int, int, StringBuilder, int, IntPtr)
-
FormatMessage(int, SafeHandle, uint, int, StringBuilder, int, IntPtr)
-
MessageBox(HandleRef, string, string, int)
-
OpenSemaphore(int, bool, string)
-
OutputDebugString(string)
-
QueryPerformanceCounter(long)
-
QueryPerformanceCounter(long)
-
QueryPerformanceFrequency(long)
-
QueryPerformanceFrequency(long)
-
ReleaseSemaphore(SafeWaitHandle, int, int)
-
Expand
SECURITY_ATTRIBUTES
-
Expand
SECURITY_ATTRIBUTES
-
Expand
STARTUPINFO
-
Expand
SYSTEM_INFO
-
Expand
UnsafeNativeMethods
-
Expand
UnsafeNativeMethods
-
Expand
WIN32_FILE_ATTRIBUTE_DATA
-
Expand
WIN32_FILE_ATTRIBUTE_DATA
-
Expand
WIN32_FILE_ATTRIBUTE_DATA
-
Expand
WIN32_FIND_DATA
-
Expand
Win32Native
-
Expand
Microsoft.Win32.SafeHandles
-
Expand
System
-
Expand
System.Runtime.Hosting
-
Expand
System.Runtime.InteropServices
-
Expand
System.Runtime.CompilerServices
-
Expand
System.Collections
-
Expand
System.Collections.Generic
-
Expand
System.Collections.ObjectModel
-
Expand
System.Configuration.Assemblies
-
Expand
System.Diagnostics
-
Expand
System.Diagnostics.CodeAnalysis
-
Expand
System.Diagnostics.SymbolStore
-
Expand
System.Globalization
-
Expand
System.IO
-
Expand
System.IO.IsolatedStorage
-
Expand
System.Reflection
-
Expand
System.Reflection.Cache
-
Expand
System.Reflection.Emit
-
Expand
System.Resources
-
Expand
System.Runtime
-
Expand
System.Runtime.InteropServices.Expando
-
Expand
System.Runtime.ConstrainedExecution
-
Expand
System.Runtime.Remoting.Activation
-
Expand
System.Runtime.Remoting.Messaging
-
Expand
System.Runtime.Remoting.Channels
-
Expand
System.Runtime.Remoting.Lifetime
-
Expand
System.Runtime.Remoting
-
Expand
System.Runtime.Remoting.Contexts
-
Expand
System.Runtime.Remoting.Proxies
-
Expand
System.Runtime.Remoting.Metadata
-
Expand
System.Runtime.Remoting.Metadata.W3cXsd2001
-
Expand
System.Runtime.Remoting.Services
-
Expand
System.Runtime.Serialization
-
Expand
System.Runtime.Serialization.Formatters
-
Expand
System.Runtime.Serialization.Formatters.Binary
-
Expand
System.Runtime.Versioning
-
Expand
System.Security
-
Expand
System.Security.Cryptography
-
Expand
System.Security.Cryptography.X509Certificates
-
Expand
System.Security.Permissions
-
Expand
System.Security.Policy
-
Expand
System.Security.Principal
-
Expand
System.Security.Util
-
Expand
System.Text
-
Expand
System.Threading
-
Expand
System.Runtime.Remoting.Channels.Http
-
Expand
System.Runtime.Remoting.Channels.Tcp
-
Expand
System.Runtime.Remoting.MetadataServices
-
Expand
System.Runtime.Serialization.Formatters.Soap.Xml
-
Expand
System.Runtime.Serialization.Formatters.Soap
-
Expand
Microsoft.Tools.Caspol
-
Expand
Microsoft.Tools.Build
-
Expand
Microsoft.CSharp
-
Expand
System.CodeDom
-
Expand
System.CodeDom.Compiler
-
Expand
System.Collections.Specialized
-
Expand
System.ComponentModel
-
Expand
System.ComponentModel.Design
-
Expand
System.ComponentModel.Design.Serialization
-
Expand
System.Configuration
-
Expand
System.Web
-
Expand
System.Configuration.Provider
-
Expand
System.Configuration.Internal
-
Expand
System.Internal
-
Expand
System.Windows.Forms
-
Expand
System.Net
-
Expand
System.Net.Sockets
-
Expand
System.Net.NetworkInformation
-
Expand
System.Net.ComImports
-
Expand
System.Net.Security
-
Expand
System.Net.Cache
-
Expand
System.Net.Configuration
-
Expand
System.Text.RegularExpressions
-
Expand
System.Tools
-
Expand
System.IO.Compression
-
Expand
System.IO.Ports
-
Expand
System.Security.AccessControl
-
Expand
System.Xml
-
Expand
System.Xml.XPath.DataBinding
-
Expand
System.Xml.Schema
-
Expand
System.Xml.Serialization
-
Expand
System.Xml.Serialization.Advanced
-
Expand
System.Xml.Serialization.Configuration
-
Expand
System.Xml.XPath
-
Expand
System.Xml.Xsl
-
Expand
System.Xml.Xsl.IlGen
-
Expand
System.Xml.Xsl.Qil
-
Expand
System.Xml.Xsl.Runtime
-
Expand
System.Xml.Xsl.XPath
-
Expand
System.Xml.Xsl.Xslt
-
Expand
System.Xml.Xsl.XsltOld
-
Expand
System.Xml.Xsl.XsltOld.Debugger
-
Expand
Microsoft.JScript
-
Expand
Microsoft.Vsa
-
Expand
Microsoft.JScript.Vsa
- namespace Microsoft.Win32
- {
- using System.Runtime.InteropServices;
- using System;
- using System.Diagnostics.CodeAnalysis;
- using System.Security.Permissions;
- using System.Collections;
- using System.IO;
- using System.Text;
- using System.Threading;
- using Microsoft.Win32.SafeHandles;
- using System.Runtime.ConstrainedExecution;
- using System.Runtime.Versioning;
- using System.Diagnostics;
-
- [HostProtection(MayLeakOnAbort = true)]
- [System.Security.SuppressUnmanagedCodeSecurity()]
- static internal class SafeNativeMethods
- {
-
- public const int FORMAT_MESSAGE_ALLOCATE_BUFFER = 256, FORMAT_MESSAGE_IGNORE_INSERTS = 512, FORMAT_MESSAGE_FROM_STRING = 1024, FORMAT_MESSAGE_FROM_SYSTEM = 4096, FORMAT_MESSAGE_ARGUMENT_ARRAY = 8192;
-
- public const int MB_RIGHT = 524288, MB_RTLREADING = 1048576;
-
- [DllImport(ExternDll.Kernel32, CharSet = System.Runtime.InteropServices.CharSet.Auto, SetLastError = true, BestFitMapping = true)]
- [SuppressMessage("Microsoft.Security", "CA2101:SpecifyMarshalingForPInvokeStringArguments")]
- [ResourceExposure(ResourceScope.None)]
- unsafe public static extern int FormatMessage(int dwFlags, SafeHandle lpSource, uint dwMessageId, int dwLanguageId, StringBuilder lpBuffer, int nSize, IntPtr[] arguments);
- [DllImport(ExternDll.Kernel32, CharSet = System.Runtime.InteropServices.CharSet.Auto, SetLastError = true, BestFitMapping = true)]
- [ResourceExposure(ResourceScope.None)]
- public static extern int FormatMessage(int dwFlags, HandleRef lpSource, int dwMessageId, int dwLanguageId, StringBuilder lpBuffer, int nSize, IntPtr arguments);
-
- [DllImport(ExternDll.Kernel32, CharSet = System.Runtime.InteropServices.CharSet.Auto, BestFitMapping = true)]
- [ResourceExposure(ResourceScope.None)]
- public static extern void OutputDebugString(string message);
-
- [DllImport(ExternDll.User32, CharSet = System.Runtime.InteropServices.CharSet.Auto, BestFitMapping = true)]
- public static extern int MessageBox(HandleRef hWnd, string text, string caption, int type);
-
- [DllImport(ExternDll.Kernel32, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto, SetLastError = true)]
- [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
- public static extern bool CloseHandle(IntPtr handle);
-
- [DllImport(ExternDll.Kernel32, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto, SetLastError = true)]
- public static extern bool CloseHandle(HandleRef handle);
-
- [DllImport(ExternDll.Kernel32)]
- [ResourceExposure(ResourceScope.None)]
- public static extern bool QueryPerformanceCounter(out long value);
-
- [DllImport(ExternDll.Kernel32)]
- [ResourceExposure(ResourceScope.None)]
- public static extern bool QueryPerformanceFrequency(out long value);
-
-
- [DllImport(ExternDll.Kernel32, SetLastError = true, CharSet = CharSet.Auto, BestFitMapping = false)]
- [ResourceExposure(ResourceScope.Machine)]
- static internal extern SafeWaitHandle CreateSemaphore(NativeMethods.SECURITY_ATTRIBUTES lpSecurityAttributes, int initialCount, int maximumCount, string name);
-
- [DllImport(ExternDll.Kernel32, SetLastError = true, CharSet = CharSet.Auto, BestFitMapping = false)]
- [ResourceExposure(ResourceScope.Machine)]
- static internal extern SafeWaitHandle OpenSemaphore(int desiredAccess, bool inheritHandle, string name);
-
- [DllImport(ExternDll.Kernel32, SetLastError = true)]
- [ResourceExposure(ResourceScope.Machine)]
- [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
- static internal extern bool ReleaseSemaphore(SafeWaitHandle handle, int releaseCount, out int previousCount);
-
- [StructLayout(LayoutKind.Sequential)]
- internal class PROCESS_INFORMATION
- {
-
-
- public IntPtr hProcess = IntPtr.Zero;
- public IntPtr hThread = IntPtr.Zero;
- public int dwProcessId = 0;
- public int dwThreadId = 0;
-
-
-
-
- }
-
-
-
- }
- }