IDropSource Interface

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

Does anyone have the IDropSource Com interface in C#, or know how I can generate it?

Thank you,
Dave
 
Dave,
Does anyone have the IDropSource Com interface in C#, or know how I can generate it?

Try this:

[ComImport, Guid("00000121-0000-0000-C000-000000000046"),
InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
interface IDropSource
{
[PreserveSig]
uint QueryContinueDrag(
[MarshalAs(UnmanagedType.Bool)] bool fEscapePressed,
uint grfKeyState);

[PreserveSig]
uint GiveFeedback(
uint dwEffect);
}



Mattias
 
Back
Top