Exemple #1
0
 private static extern int LoadIFilter(
     string pwcsPath,
     ref IUnknown pUnkOuter,
     ref IFilter ppIUnk
     );
 public static extern int OleLoadPicturePath(
      string szURLorPath,
      IntPtr punkCaller,
      uint dwReserved,
      uint clrReserved,
     ref Guid riid,
      out IUnknown unknown);
 virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetResult(
     /* [in] */ IUnknown *pUnkOuter,
     /* [in] */ DBRESULTFLAG lResultFlag,
     /* [in] */ REFIID riid,
     /* [out] */ DBROWCOUNT *pcRowsAffected,
     /* [iid_is][out] */ IUnknown **ppRowset) = 0;
 virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetCustomErrorObject(
     /* [in] */ ULONG ulRecordNum,
     /* [in] */ REFIID riid,
     /* [iid_is][out] */ IUnknown **ppObject) = 0;
 virtual /* [local] */ HRESULT STDMETHODCALLTYPE AddErrorRecord(
     /* [in] */ ERRORINFO *pErrorInfo,
     /* [in] */ DWORD dwLookupID,
     /* [in] */ DISPPARAMS *pdispparams,
     /* [in] */ IUnknown *punkCustomError,
     /* [in] */ DWORD dwDynamicErrorID) = 0;
 /* Get the module for the given metadata interface */
 public CorModule GetModuleFromMetaDataInterface (IUnknown metadataInterface)
 {
     ICorDebugModule module = null;
     _ad().GetModuleFromMetaDataInterface (metadataInterface, out module);
     return new CorModule (module);
 }