[PATCH 2/7] advapi: Implement SetNamedSecurityInfoW on top of SetSecurityInfo (resend 3).

Alexandre Julliard julliard at winehq.org
Fri Nov 16 12:28:57 CST 2012


"Erich E. Hoover" <ehoover at mymail.mines.edu> writes:

> +    hfile = CreateFileW( pObjectName, access, FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE,
> +                         NULL, OPEN_EXISTING, FILE_FLAG_BACKUP_SEMANTICS, 0 );
> +    if (hfile == INVALID_HANDLE_VALUE)
> +        return FALSE;

FALSE doesn't do what you want here.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list