advapi32: add testcases for GetNamedSecurityInfo

Paul Vriens paul.vriens.wine at gmail.com
Thu Apr 16 12:07:21 CDT 2009


Austin English wrote:
> Testing for bug 18071. Passes under Wine/2k.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> 
We bail out on pObjectName being NULL:

+    if (!pObjectName || !ppSecurityDescriptor) return 
ERROR_INVALID_PARAMETER;
+

This means this if() right after that is not needed anymore:

      if( pObjectName )
      {

-- 
Cheers,

Paul.



More information about the wine-devel mailing list