static BOOL nla_set_package_name(rdpNla* nla, const TCHAR* name)
{
	if (!nla)
		return FALSE;
	free(nla->packageName);
	nla->packageName = NULL;
	if (name)
	{
#if defined(UNICODE)
		ConvertFromUnicode(CP_UTF8, 0, name, -1, &nla->packageName, 0, NULL, NULL);
#else
		nla->packageName = _strdup(name);
#endif
		if (!nla->packageName)
			return FALSE;
	}
	return TRUE;
}
static BOOL nla_set_package_name(rdpNla* nla, const TCHAR* name)
{
	if (!nla)
		return FALSE;
	free(nla->packageName);
	nla->packageName = NULL;
	if (name)
	{
#if defined(UNICODE)
		ConvertFromUnicode(CP_UTF8, 0, name, -1, &nla->packageName, 0, NULL, NULL);
#else
		nla->packageName = _strdup(name);
#endif
		if (!nla->packageName)
			return FALSE;
	}
	return TRUE;
}