bOK = ::OpenProcessToken(GetCurrentProcess(),
TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY,
&hToken) != 0;
+#ifndef __WXWINE__
if ( bOK )
{
TOKEN_PRIVILEGES tkp;
// Cannot test the return value of AdjustTokenPrivileges.
bOK = ::GetLastError() == ERROR_SUCCESS;
}
+#endif
}
if ( bOK )