Please ignore this patch. I'll resubmit corrected version.
Francois, thanks!
Francois Gouget wrote:
On Mon, 6 Nov 2006, Andrey Turkin wrote: [...]
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.
Which PSDK version do you have?
It seems they all agree on this. For instance Windows 2003 SP2 20060315 PSDK.