use tree type on win32