Should set `pRet` to null, or will return a invalid pointer.