Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Unified Diff: experimental/visual_studio_plugin/third_party/Microsoft.VisualStudio.Project/Misc/UnsafeNativeMethods.cs

Issue 10928195: First round of dead file removal (Closed) Base URL: https://github.com/samclegg/nativeclient-sdk.git@master
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: experimental/visual_studio_plugin/third_party/Microsoft.VisualStudio.Project/Misc/UnsafeNativeMethods.cs
diff --git a/experimental/visual_studio_plugin/third_party/Microsoft.VisualStudio.Project/Misc/UnsafeNativeMethods.cs b/experimental/visual_studio_plugin/third_party/Microsoft.VisualStudio.Project/Misc/UnsafeNativeMethods.cs
deleted file mode 100644
index 77fb0564d8c6c9fbd18bf9bef3f6fa5a3e330ea4..0000000000000000000000000000000000000000
--- a/experimental/visual_studio_plugin/third_party/Microsoft.VisualStudio.Project/Misc/UnsafeNativeMethods.cs
+++ /dev/null
@@ -1,56 +0,0 @@
-/// Copyright (c) Microsoft Corporation. All rights reserved.
-
-using System;
-using System.Runtime.InteropServices;
-
-namespace Microsoft.VisualStudio.Project
-{
- internal static class UnsafeNativeMethods
- {
- [DllImport(ExternDll.Kernel32, EntryPoint = "GlobalLock", SetLastError = true, CharSet = CharSet.Unicode, ExactSpelling = true, CallingConvention = CallingConvention.StdCall)]
- internal static extern IntPtr GlobalLock(IntPtr h);
-
- [DllImport(ExternDll.Kernel32, EntryPoint = "GlobalUnlock", SetLastError = true, CharSet = CharSet.Unicode, ExactSpelling = true, CallingConvention = CallingConvention.StdCall)]
- internal static extern bool GlobalUnLock(IntPtr h);
-
- [DllImport(ExternDll.Kernel32, EntryPoint = "GlobalSize", SetLastError = true, CharSet = CharSet.Unicode, ExactSpelling = true, CallingConvention = CallingConvention.StdCall)]
- internal static extern int GlobalSize(IntPtr h);
-
- [DllImport(ExternDll.Ole32, ExactSpelling = true, CharSet = CharSet.Unicode)]
- internal static extern int OleSetClipboard(Microsoft.VisualStudio.OLE.Interop.IDataObject dataObject);
-
- [DllImport(ExternDll.Ole32, ExactSpelling = true, CharSet = CharSet.Unicode)]
- internal static extern int OleGetClipboard(out Microsoft.VisualStudio.OLE.Interop.IDataObject dataObject);
-
- [DllImport(ExternDll.Ole32, ExactSpelling = true, CharSet = CharSet.Unicode)]
- internal static extern int OleFlushClipboard();
-
- [DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Unicode)]
- internal static extern int OpenClipboard(IntPtr newOwner);
-
- [DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Unicode)]
- internal static extern int EmptyClipboard();
-
- [DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Unicode)]
- internal static extern int CloseClipboard();
-
- [DllImport(ExternDll.Comctl32, CharSet = CharSet.Auto)]
- internal static extern int ImageList_GetImageCount(HandleRef himl);
-
- [DllImport(ExternDll.Comctl32, CharSet = CharSet.Auto)]
- internal static extern bool ImageList_Draw(HandleRef himl, int i, HandleRef hdcDst, int x, int y, int fStyle);
-
- [DllImport(ExternDll.Shell32, EntryPoint = "DragQueryFileW", SetLastError = true, CharSet = CharSet.Unicode, ExactSpelling = true, CallingConvention = CallingConvention.StdCall)]
- internal static extern uint DragQueryFile(IntPtr hDrop, uint iFile, char[] lpszFile, uint cch);
-
- [DllImport(ExternDll.User32, EntryPoint = "RegisterClipboardFormatW", SetLastError = true, CharSet = CharSet.Unicode, ExactSpelling = true, CallingConvention = CallingConvention.StdCall)]
- internal static extern ushort RegisterClipboardFormat(string format);
-
- [DllImport(ExternDll.Shell32, EntryPoint = "SHGetSpecialFolderLocation")]
- internal static extern int SHGetSpecialFolderLocation(IntPtr hwnd, int csidl, [Out, MarshalAs(UnmanagedType.LPArray)] IntPtr[] ppidl);
-
- [DllImport(ExternDll.Shell32, EntryPoint = "SHGetPathFromIDList", CharSet = System.Runtime.InteropServices.CharSet.Auto)]
- internal static extern bool SHGetPathFromIDList(IntPtr pidl, IntPtr pszPath);
- }
-}
-

Powered by Google App Engine
This is Rietveld 408576698