More complete implementation of SHLWAPI_356.

This commit is contained in:
Michael Cardenas 2002-02-28 20:47:30 +00:00 committed by Alexandre Julliard
parent c129764af1
commit 6ec9cc2bfb
1 changed files with 20 additions and 8 deletions

View File

@ -1866,18 +1866,30 @@ WORD WINAPI SHLWAPI_352 (
return ret;
}
/*************************************************************************
* @ [SHLWAPI.356]
/**************************************************************************
* @ [SHLWAPI.356]
*
* mbc - this function is undocumented, The parameters are correct and
* the calls to InitializeSecurityDescriptor and
* SetSecurityDescriptorDacl are correct, but apparently some
* apps call this function with all zero parameters.
*/
DWORD WINAPI SHLWAPI_356 (
LPVOID x,
LPVOID y,
LPVOID z)
DWORD WINAPI SHLWAPI_356(PACL pDacl, PSECURITY_DESCRIPTOR pSD, LPCSTR *str)
{
FIXME("(%p %p %p)stub\n", x,y,z);
return 0;
if(str != 0){
*str = 0;
}
if(!pDacl){
return 0;
}
if (!InitializeSecurityDescriptor(pSD, 1)) return 0;
return SetSecurityDescriptorDacl(pSD, 1, pDacl, 0);
}
/*************************************************************************
* @ [SHLWAPI.357]
*