Set the named setup as the default for this user. The next time the user starts a viewer, this setup will be loaded automatically.
Comments
Returns COR_SUCCESS if the configuration update is successful, COR_FAILURE otherwise.
Syntax
CAmvConn* amvConn;
amvConn->Setups->DoSetD(TCHAR* setupID, COR_STATUS* ret_stat);
Data Type
int
Example
This example tries to set the default setup and checks the return value.
if (amvConn->Setups->DoSetD(SetupID, &ret_stat) != COR_SUCCESS)
{
MessageBox(ret_stat.err_msg);
}
CAmvSetupList class member overview. |