More complete implementation of SHLWAPI_356.
This commit is contained in:
parent
c129764af1
commit
6ec9cc2bfb
|
@ -1866,18 +1866,30 @@ WORD WINAPI SHLWAPI_352 (
|
||||||
return ret;
|
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,
|
DWORD WINAPI SHLWAPI_356(PACL pDacl, PSECURITY_DESCRIPTOR pSD, LPCSTR *str)
|
||||||
LPVOID y,
|
|
||||||
LPVOID z)
|
|
||||||
{
|
{
|
||||||
FIXME("(%p %p %p)stub\n", x,y,z);
|
if(str != 0){
|
||||||
return 0;
|
*str = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
if(!pDacl){
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!InitializeSecurityDescriptor(pSD, 1)) return 0;
|
||||||
|
return SetSecurityDescriptorDacl(pSD, 1, pDacl, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
* @ [SHLWAPI.357]
|
* @ [SHLWAPI.357]
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue