Exemple #1
0
 void System.Runtime.InteropServices.ComTypes.IDataObject.GetDataHere(ref System.Runtime.InteropServices.ComTypes.FORMATETC format, ref System.Runtime.InteropServices.ComTypes.STGMEDIUM medium)
 {
     throw new NotImplementedException();
 }
Exemple #2
0
 void System.Runtime.InteropServices.ComTypes.IDataObject.SetData(ref System.Runtime.InteropServices.ComTypes.FORMATETC formatIn, ref System.Runtime.InteropServices.ComTypes.STGMEDIUM medium, bool release)
 {
     throw new NotImplementedException();
 }
Exemple #3
0
        void IDataObject.SetData(ref System.Runtime.InteropServices.ComTypes.FORMATETC formatIn, ref System.Runtime.InteropServices.ComTypes.STGMEDIUM medium, bool release)
        {
            //  Log key events.
            Log("IDataObject.SetData called.");

            try
            {
                //  Let the derived class provide data.
                var itemData = GetData();

                //  Set the data.
                ((IDataObject)itemData).SetData(ref formatIn, ref medium, release);
            }
            catch (Exception exception)
            {
                LogError("An exception occured getting data for the item " + SelectedItemPath, exception);
            }
        }
Exemple #4
0
        void IDataObject.GetDataHere(ref System.Runtime.InteropServices.ComTypes.FORMATETC format, ref System.Runtime.InteropServices.ComTypes.STGMEDIUM medium)
        {
            //  Log key events.
            Log("IDataObject.GetDataHere called.");

            //  Not needed for Shell Data Handlers.
            throw new NotImplementedException();
        }
 void System.Runtime.InteropServices.ComTypes.IDataObject.SetData(ref System.Runtime.InteropServices.ComTypes.FORMATETC pFormatetcIn, ref System.Runtime.InteropServices.ComTypes.STGMEDIUM pmedium, bool fRelease)
 {
 }
 void System.Runtime.InteropServices.ComTypes.IDataObject.GetDataHere(ref System.Runtime.InteropServices.ComTypes.FORMATETC formatetc, ref System.Runtime.InteropServices.ComTypes.STGMEDIUM medium)
 {
 }
 void System.Runtime.InteropServices.ComTypes.IDataObject.GetData(ref System.Runtime.InteropServices.ComTypes.FORMATETC formatetc, out System.Runtime.InteropServices.ComTypes.STGMEDIUM medium)
 {
     medium = default(System.Runtime.InteropServices.ComTypes.STGMEDIUM);
 }