[PATCH 2/4] shell32: Register standard known folders on initialization.
Mariusz Pluciński
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
more complex.
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...
Name: 0002-shell32-Register-standard-known-folders-on-initializ.patch
Type: text/x-patch
Size: 58822 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110805/822bd29e/attachment-0001.bin>
More information about the wine-patches
mailing list