[PATCH] Implement GetCurrentHwProfileA() fully