Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / SafeNativeMethods.cs / 1 / SafeNativeMethods.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web { using System.Runtime.InteropServices; using System; using System.Security.Permissions; using System.Collections; using System.IO; using System.Text; [ System.Runtime.InteropServices.ComVisible(false), System.Security.SuppressUnmanagedCodeSecurityAttribute() ] internal sealed class SafeNativeMethods { private SafeNativeMethods() {} [DllImport(ModName.KERNEL32_FULL_NAME)] internal /*public*/ extern static int GetCurrentProcessId(); [DllImport(ModName.KERNEL32_FULL_NAME)] internal /*public*/ extern static int GetCurrentThreadId(); [DllImport(ModName.KERNEL32_FULL_NAME)] internal static extern bool QueryPerformanceCounter( [System.Runtime.InteropServices.Out, In] ref long lpPerformanceCount); [DllImport(ModName.KERNEL32_FULL_NAME)] internal static extern bool QueryPerformanceFrequency( [System.Runtime.InteropServices.Out, In] ref long lpFrequency); // required for HttpDebugHandlerTimeLog #if PERF [DllImport(ModName.KERNEL32_FULL_NAME, CharSet=CharSet.Unicode)] internal static extern void OutputDebugString(String message); #endif } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- _LocalDataStore.cs
- MexTcpBindingElement.cs
- BaseTemplateParser.cs
- isolationinterop.cs
- FontFamilyIdentifier.cs
- ErrorHandler.cs
- OdbcCommandBuilder.cs
- ComplexPropertyEntry.cs
- ControlEvent.cs
- SingletonConnectionReader.cs
- UnionExpr.cs
- Font.cs
- ConsoleCancelEventArgs.cs
- wgx_exports.cs
- XmlIlVisitor.cs
- KoreanCalendar.cs
- MenuItemBindingCollection.cs
- MatrixValueSerializer.cs
- PasswordBox.cs
- ProjectionPathSegment.cs
- ViewStateModeByIdAttribute.cs
- ToolBarButtonClickEvent.cs
- Form.cs
- PageOutputQuality.cs
- Renderer.cs
- wgx_sdk_version.cs
- AsymmetricSignatureFormatter.cs
- PagedDataSource.cs
- Module.cs
- XmlSchemaAll.cs
- ConfigurationSection.cs
- AttributeData.cs
- CallContext.cs
- XmlRawWriterWrapper.cs
- QueryResponse.cs
- formatter.cs
- LambdaCompiler.Binary.cs
- RangeBaseAutomationPeer.cs
- TTSEngineTypes.cs
- HtmlTernaryTree.cs
- TileBrush.cs
- StringTraceRecord.cs
- Journaling.cs
- ReflectionTypeLoadException.cs
- TreeViewItem.cs
- XDRSchema.cs
- BamlWriter.cs
- AnnotationMap.cs
- ChunkedMemoryStream.cs
- SmiEventSink.cs
- XmlWrappingReader.cs
- SqlDelegatedTransaction.cs
- GeometryCollection.cs
- SetStateEventArgs.cs
- InvalidEnumArgumentException.cs
- IUnknownConstantAttribute.cs
- TrackBarDesigner.cs
- ButtonColumn.cs
- WorkflowInvoker.cs
- BaseCodeDomTreeGenerator.cs
- AnnotationResourceChangedEventArgs.cs
- ValidatorUtils.cs
- BrowsableAttribute.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- OperatingSystem.cs
- PlanCompilerUtil.cs
- TreeChangeInfo.cs
- HybridDictionary.cs
- PanelDesigner.cs
- RSACryptoServiceProvider.cs
- ReaderWriterLock.cs
- PropertyDescriptorCollection.cs
- ServiceReflector.cs
- RNGCryptoServiceProvider.cs
- DPTypeDescriptorContext.cs
- FieldNameLookup.cs
- CaseKeyBox.xaml.cs
- HasRunnableWorkflowEvent.cs
- Form.cs
- DbXmlEnabledProviderManifest.cs
- CharacterString.cs
- FocusChangedEventArgs.cs
- DBNull.cs
- SQLMoneyStorage.cs
- DataGridViewRowCollection.cs
- TreeViewAutomationPeer.cs
- HtmlInputReset.cs
- ErrorStyle.cs
- IisNotInstalledException.cs
- CodeCompiler.cs
- FrameworkRichTextComposition.cs
- SHA1CryptoServiceProvider.cs
- SQLInt32Storage.cs
- DataPagerCommandEventArgs.cs
- AQNBuilder.cs
- XmlFormatWriterGenerator.cs
- DataReaderContainer.cs
- ConfigPathUtility.cs
- ViewGenResults.cs
- JoinCqlBlock.cs