+ if (__fromDatabase)
+ {
+ SysTryReturn(NID_APP, __appIconPath.IsEmpty() == false, null, E_FILE_NOT_FOUND, "appIconPath() is empty.");
+
+ iconPath = __appIconPath;
+ }
+ else
+ {
+ SysTryReturn(NID_APP, __appTempIconPath.IsEmpty() == false, null, E_FILE_NOT_FOUND, "__appTempIconPath() is empty.");
+
+ iconPath = __appTempIconPath;
+ }
+
+ SysLog(NID_APP, "iconPath = [%ls]", iconPath.GetPointer());
+
+ pBitmap = _AppResourceImpl::GetNonScalingBitmapN(iconPath);
+
+ return pBitmap;