[PATCH] Implement GetShellSecurityDescriptor and test for it

Francois Gouget fgouget at free.fr
Mon Nov 6 09:08:28 CST 2006


On Mon, 6 Nov 2006, Andrey Turkin wrote:
[...] 
> The patch also adds 2 structures definitions to include/shlwapi.h. 
> According to MSDN, one of these structures should be placed into 
> include/shlobj.h,

The MSDN is wrong: the PSDK does not define any of SHELL_USER_SID, 
SHELL_USER_PERMISSION or GetShellSecurityDescriptor(). So they should be 
defined in a private shlwapi header, not in include/shlobj.h or 
include/shlwapi.h.


> but I think it is bad idea to include shlobj.h from 
> shlwapi.h (at least at the moment).

It would certainly be a bad idea since the PSDK's shlwapi.h header does 
not include shlobj.h.

-- 
Francois Gouget <fgouget at free.fr>              http://fgouget.free.fr/
   Nouvelle version : les anciens bogues ont été remplacés par de nouveaux.


More information about the wine-patches mailing list