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;
}