fix 25666: fix warning reg. ignored dllimport