2019-11-01
08:43 AM
- last edited on
2022-09-29
10:04 AM
by
Daniel Kassai
GS::snuprintf(hotlinkNode.name, API_UniLongNameLen - 1, L("Hotlink updated by test add-on"));
err = ACAPI_Database (APIDb_ModifyHotlinkNodeID, &hotlinkNode); // rename hotlink node
if (err == NoError && hotlinkNode.guid != APINULLGuid) // update cache content
err = ACAPI_Database (APIDb_UpdateHotlinkCacheID, const_cast<API_Guid*> (&hotlinkNode.guid));
if (err == NoError) {
char guidStr[64];
APIGuid2GSGuid (hotlinkNode.guid).ConvertToString (guidStr);
WriteReport ("Hotlink node is updated successfully: {%s}", guidStr);
}
2019-12-09 03:12 PM
2019-12-12 12:58 PM
akomporday wrote:Hi.
Hey DevJeer,
What ErrCode do you get from the function call?