function LoadResString(ResStringRec: PResStringRec): widestring;

This function is 100% identical to LoadResString.