WSDuplicateLink (C 関数)
WSDuplicateLink (C 関数)
例題
例 (1)
#include "wstp.h"
/* make a copy of a link */
WSLINK f(WSLINK lp)
{
WSLINK newlink;
int error;
newlink = WSDuplicateLink(lp, (const char *)"Duplicate 1", &error);
if(newlink == (WSLINK)0 || error != WSEOK)
{ /* unable to create a copy of the link */ }
return newlink;
}
関連項目
テクニカルノート
関連するガイド
履歴
1996 で導入 (3.0) | 2007 で更新 (6.0)