fix apientry in win32