首页 > 其他分享 >复制对象

复制对象

时间:2023-03-23 17:13:41浏览次数:28  
标签:iBool 对象 pCopy spResult Prt CATISpecObiect 复制 var

CATISpecObiect_var CAAMyBaseClass::CopyPrtToPrt(CATISpecObiect_var iSourceToCopy,CATSpecObiect_var itarget_Prt ,CATBoolean iBool)

{

CATMmrlnterPartCopy * pCopy=new CATMmrinterPatCopy(iSourceToCopy,iTarget_Prt); //新建复制

pCopy->SetLinkMode(iBool);

CATUnicodeString ErrorMsg="";
HRESULT rc=pCopy->Run(&ErrorMsg);
CATISpecObiect_var spResult;
pCopy->GetResult(spResult);
spResult>Update();

iTarget_Prt->Update();
return spResult;

}

标签:iBool,对象,pCopy,spResult,Prt,CATISpecObiect,复制,var
From: https://www.cnblogs.com/Breadss/p/17248152.html

相关文章