This function is the only supported way to scale images in the image widget! Pass the unscaled image to IWidget_SetImage() first, then scale it using this routine. Failing to do so (using IIMAGE_SetParm(), for example) will break image alignment and cause other undesirable behavior.
IWidget_SetScale(IWidget *pif, uint32 dx, uint32 dy)
AEE_SUCCESS - If BREW was able to successfully scale the image. AEE_EFAILED - If the image could not be scaled.