advapi32: Added test and fix for GetFileSecurity

James Hawkins truiken at
Mon Apr 16 13:49:35 CDT 2007

On 4/16/07, Nigel Nia-Chiang Liang <ncliang at> wrote:
> Hi,
> Added a simple test case and fix for GetFileSecurity with NULL
> pSecurityDescriptor parameter as suggested by James Hawkins.

     result = pGetFileSecurityA(

Please don't change the whitespace.  The SetLastError call is a part
of that test block, so there's no need for an empty line.

+    result = pGetFileSecurityA(
+    ok(result, "GetFileSecurityA should not fail for NULL
pSecurityDescriptor parameter\n");

What is the value of outSize in this case?  You need to set it to some
value before the call and check if it's changed after the call.

James Hawkins

More information about the wine-devel mailing list