[PATCH 2/4] shell32: Register standard known folders on initialization.
vshader at gmail.com
Fri Aug 5 11:39:01 CDT 2011
This patch allows wine to register it's standard set of known folders
while prefix initialization. It iterates over static CSIDL_Data array
and calls RegisterFolder for each entry.
Support of this is currently limited, as current definitions is
CSIDL_Data are not always correct and useful. To address it, I modified
tests. Each tested known folder has it's set of TODO flags - they
informs which fields in definition are invalid. I've decided to add TODO
flags instead of simple filling fields in CSIDL_Data, because there are
additional Windows mechanisms which makes constructing of definition
Because most of known folders has not set name, in this version only
about 30% of known folders are properly registered (I don't want to add
more code into single patch; I will send it separately later).
dlls/shell32/shellpath.c | 151 +++++++++++++++++
dlls/shell32/tests/shellpath.c | 358
2 files changed, 394 insertions(+), 115 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 58822 bytes
Desc: not available
More information about the wine-patches