15 references to NativeMethods
Microsoft.Build.Tasks.Core (15)
ManifestUtil\ComImporter.cs (3)
46if (NativeMethods.SfcIsFileProtected(IntPtr.Zero, path) != 0) 52try { NativeMethods.LoadTypeLibEx(path, NativeMethods.RegKind.RegKind_None, out obj); }
ManifestUtil\EmbeddedManifestReader.cs (11)
22hModule = NativeMethods.LoadLibraryExW(path, IntPtr.Zero, NativeMethods.LOAD_LIBRARY_AS_DATAFILE); 27NativeMethods.EnumResNameProc callback = EnumResNameCallback; 28NativeMethods.EnumResourceNames(hModule, NativeMethods.RT_MANIFEST, callback, IntPtr.Zero); 34NativeMethods.FreeLibrary(hModule); 45IntPtr hResInfo = NativeMethods.FindResource(hModule, pName, NativeMethods.RT_MANIFEST); 50IntPtr hResource = NativeMethods.LoadResource(hModule, hResInfo); 51NativeMethods.LockResource(hResource); 52uint bufsize = NativeMethods.SizeofResource(hModule, hResInfo);
ManifestUtil\MetadataReader.cs (1)
354IReferenceIdentity refid = (IReferenceIdentity)NativeMethods.GetAssemblyIdentityFromFile(_path, ref s_refidGuid);