It looks like that API relies on native APIs introduced in Windows Vista.
We should use xwt or build our own winform for the dialog.