DllGetClassObject() static private method

static private DllGetClassObject ( System.Guid clsid, System.Guid iid, IntPtr &ppunk ) : Int32
clsid System.Guid
iid System.Guid
ppunk System.IntPtr
return System.Int32
コード例 #1
0
ファイル: XlAddIn.cs プロジェクト: b-e-n-j/Excel-DNA
        internal static HRESULT DllGetClassObject(CLSID clsid, IID iid, out IntPtr ppunk)
        {
            Debug.Print("DllGetClassObject reached!!");
            // IntPtr pout;
            HRESULT result;

            InitializeIntegration();
            result = IntegrationHelpers.DllGetClassObject(clsid, iid, out ppunk);
            return(result);
        }
コード例 #2
0
        internal static HRESULT DllGetClassObject(CLSID clsid, IID iid, out IntPtr ppunk)
        {
            Debug.Print("DllGetClassObject entered - calling InitializeIntegration.");
            HRESULT result;

            InitializeIntegration();
            Logger.Initialization.Verbose("In DllGetClassObject");
            result = IntegrationHelpers.DllGetClassObject(clsid, iid, out ppunk);
            return(result);
        }