wine/dlls/shell32 brsfolder.c
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Nov 23 08:25:27 CST 2005
ChangeSet ID: 21414
CVSROOT: /opt/cvs-commit
Module name: wine
Changes by: julliard at winehq.org 2005/11/23 08:25:27
Modified files:
dlls/shell32 : brsfolder.c
Log message:
Michael Jung <mjung at iss.tu-darmstadt.de>
Initialize OLE instead of just COM, in order to enable Drag & Drop.
Patch: http://cvs.winehq.org/patch.py?id=21414
Old revision New revision Changes Path
1.67 1.68 +2 -2 wine/dlls/shell32/brsfolder.c
Index: wine/dlls/shell32/brsfolder.c
diff -u -p wine/dlls/shell32/brsfolder.c:1.67 wine/dlls/shell32/brsfolder.c:1.68
--- wine/dlls/shell32/brsfolder.c:1.67 23 Nov 2005 14:25:27 -0000
+++ wine/dlls/shell32/brsfolder.c 23 Nov 2005 14:25:27 -0000
@@ -679,11 +679,11 @@ LPITEMIDLIST WINAPI SHBrowseForFolderW (
info.lpBrowseInfo = lpbi;
info.hwndTreeView = NULL;
- hr = CoInitialize(NULL);
+ hr = OleInitialize(NULL);
r = DialogBoxParamW( shell32_hInstance, swBrowseTemplateName, lpbi->hwndOwner,
BrsFolderDlgProc, (LPARAM)&info );
if (SUCCEEDED(hr))
- CoUninitialize();
+ OleUninitialize();
if (!r)
return NULL;
More information about the wine-cvs
mailing list