Update of /cvsroot/mvp-xml/Design/v1/src/VisualStudio
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11166/v1/src/VisualStudio
Added Files:
IProfferService.cs
Log Message:
Interop declaration that allows exposing new services to the IDE.
--- NEW FILE: IProfferService.cs ---
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Mvp.Xml.Design.VisualStudio
{
/// <remarks/>
[ComImport]
[ComVisible(true)]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("CB728B20-F786-11CE-92AD-00AA00A74CD0")]
public interface IProfferService
{
// Methods
/// <remarks/>
int ProfferService(
[In] ref Guid rguidService,
[In, MarshalAs(UnmanagedType.Interface)] IOleServiceProvider psp,
[Out, MarshalAs(UnmanagedType.U4)] out uint pdwCookie);
/// <remarks/>
void RevokeService(
[In, MarshalAs(UnmanagedType.U4)] uint dwCookie);
}
}
|