コード例 #1
0
        public static IComponentManager getComponentManagerInstance()
        {
            global::System.IntPtr cPtr = xpcf_apiPINVOKE.getComponentManagerInstance();
            IComponentManager     ret  = (cPtr == global::System.IntPtr.Zero) ? null : new IComponentManager(cPtr, true);

            if (xpcf_apiPINVOKE.SWIGPendingException.Pending)
            {
                throw xpcf_apiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #2
0
ファイル: IComponentManager.cs プロジェクト: Staskkk/VRPhone
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(IComponentManager obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }