set local machine's group folder path (UNC path)
okutil_set_group_server(LPCSTR lpcszPath, int bServer=0, LPCSTR lpcszLocalPath=NULL, int nPathIndex=1)
<0 error code like GSERR_LOCAL_GROUP_NOT_WRITABLE, so cannot update
0 success
EX1
void okutil_set_group_server_Ex1() { LPCSTR lpcszPath = GetAppPath(FALSE); int iRet = okutil_set_group_server(lpcszPath); }
EX2
void okutil_set_group_server_Ex2() { LPCSTR lpcszPath = ""; int bServer = 1; LPCSTR lpcszLocalPath = GetAppPath(FALSE); int iRet = okutil_set_group_server(lpcszPath, bServer, lpcszLocalPath); }
okutil_is_group_server
origin.h