gi windows: export init function