Пример #1
0
        public DXGIResource getDXGIResource()
        {
            ComInterface.IDXGIResource l_obj = null;

            l_obj = comObject as ComInterface.IDXGIResource;

            return(new DXGIResource(l_obj));
        }
 private void Release()
 {
     if (this.comObject != null)
     {
         System.Runtime.InteropServices.Marshal.ReleaseComObject(this.comObject);
         this.comObject       = null;
         this.getSharedHandle = null;
     }
 }
 internal DXGIResource(ComInterface.IDXGIResource obj)
 {
     this.comObject = obj;
     ComInterface.GetComMethod(this.comObject, 8, out this.getSharedHandle);
 }