int IDataObject.QueryGetData(ref System.Runtime.InteropServices.ComTypes.FORMATETC format) { // Log key events. Log("IDataObject.QueryGetData called."); // Not needed for Shell Data Handlers. throw new NotImplementedException(); }
int IDataObject.GetCanonicalFormatEtc(ref System.Runtime.InteropServices.ComTypes.FORMATETC formatIn, out System.Runtime.InteropServices.ComTypes.FORMATETC formatOut) { // Log key events. Log("IDataObject.GetCanonicalFormatEtc called."); // Not needed for Shell Data Handlers. throw new NotImplementedException(); }
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(); }
int IDataObject.DAdvise(ref System.Runtime.InteropServices.ComTypes.FORMATETC pFormatetc, System.Runtime.InteropServices.ComTypes.ADVF advf, System.Runtime.InteropServices.ComTypes.IAdviseSink adviseSink, out int connection) { // Log key events. Log("IDataObject.DAdvise called."); // Not needed for Shell Data Handlers. throw new NotImplementedException(); }
public void Advise(System.Runtime.InteropServices.ComTypes.IDataObject dataObject, ref System.Runtime.InteropServices.ComTypes.FORMATETC fetc, System.Runtime.InteropServices.ComTypes.ADVF advf, System.Runtime.InteropServices.ComTypes.IAdviseSink advise, out int pdwConnection) { int con = -1; System.Runtime.InteropServices.ComTypes.FORMATETC etc = fetc; Invoke("Advise", () => _dataAdviseHolder.Advise(dataObject, ref etc, advf, advise, out con)); if (!(-1 != con)) { throw new InvalidOperationException(nameof(con) + " should be != -1"); } ComDebug.ReportInfo("ManagedDataAdviseHolder giving out con={0}", con); pdwConnection = con; }
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); } }
void System.Runtime.InteropServices.ComTypes.IDataObject.GetDataHere(ref System.Runtime.InteropServices.ComTypes.FORMATETC format, ref System.Runtime.InteropServices.ComTypes.STGMEDIUM medium) { throw new NotImplementedException(); }
int System.Runtime.InteropServices.ComTypes.IDataObject.GetCanonicalFormatEtc(ref System.Runtime.InteropServices.ComTypes.FORMATETC formatIn, out System.Runtime.InteropServices.ComTypes.FORMATETC formatOut) { throw new NotImplementedException(); }
int System.Runtime.InteropServices.ComTypes.IDataObject.DAdvise(ref System.Runtime.InteropServices.ComTypes.FORMATETC pFormatetc, System.Runtime.InteropServices.ComTypes.ADVF advf, System.Runtime.InteropServices.ComTypes.IAdviseSink adviseSink, out int connection) { throw new NotImplementedException(); }
int System.Runtime.InteropServices.ComTypes.IDataObject.GetCanonicalFormatEtc(ref System.Runtime.InteropServices.ComTypes.FORMATETC pformatetcIn, out System.Runtime.InteropServices.ComTypes.FORMATETC pformatetcOut) { pformatetcOut = default(System.Runtime.InteropServices.ComTypes.FORMATETC); return(default(int)); }
void System.Runtime.InteropServices.ComTypes.IDataObject.SetData(ref System.Runtime.InteropServices.ComTypes.FORMATETC pFormatetcIn, ref System.Runtime.InteropServices.ComTypes.STGMEDIUM pmedium, bool fRelease) { }
int System.Runtime.InteropServices.ComTypes.IDataObject.QueryGetData(ref System.Runtime.InteropServices.ComTypes.FORMATETC formatetc) { return(default(int)); }
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); }
int System.Runtime.InteropServices.ComTypes.IDataObject.QueryGetData(ref System.Runtime.InteropServices.ComTypes.FORMATETC format) { throw new NotImplementedException(); }
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(); }
int System.Runtime.InteropServices.ComTypes.IDataObject.DAdvise(ref System.Runtime.InteropServices.ComTypes.FORMATETC pFormatetc, System.Runtime.InteropServices.ComTypes.ADVF advf, System.Runtime.InteropServices.ComTypes.IAdviseSink pAdvSink, out int pdwConnection) { pdwConnection = default(int); return(default(int)); }