Create security attributes when running as NT or later.

This commit is contained in:
Jon Griffiths 2002-08-19 23:56:15 +00:00 committed by Alexandre Julliard
parent 66467f206b
commit c2acc92a82

View File

@ -66,7 +66,7 @@ WINAPI SHLWAPI_356(LPSECURITY_ATTRIBUTES lpAttr, PSECURITY_DESCRIPTOR lpSec)
TRACE("(%p,%p)\n", lpAttr, lpSec);
if (0) /* FIXME: SHWAPI_OsIsUnicode, as per shell32 */
if (!(GetVersion() & 0x80000000)) /* NT */
{
if (!lpSec || !lpAttr)
return NULL;