Create security attributes when running as NT or later.
diff --git a/dlls/shlwapi/thread.c b/dlls/shlwapi/thread.c index 386488f..0a3f187 100644 --- a/dlls/shlwapi/thread.c +++ b/dlls/shlwapi/thread.c
@@ -66,7 +66,7 @@ TRACE("(%p,%p)\n", lpAttr, lpSec); - if (0) /* FIXME: SHWAPI_OsIsUnicode, as per shell32 */ + if (!(GetVersion() & 0x80000000)) /* NT */ { if (!lpSec || !lpAttr) return NULL;