Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
c5bf1977
Commit
c5bf1977
authored
Jun 22, 2011
by
Mariusz Pluciński
Committed by
Alexandre Julliard
Jun 22, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Add IKnownFolderManager::UnregisterFolder implementation.
parent
7a3b53ab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
shellpath.c
dlls/shell32/shellpath.c
+11
-2
shellpath.c
dlls/shell32/tests/shellpath.c
+0
-1
No files found.
dlls/shell32/shellpath.c
View file @
c5bf1977
...
@@ -3477,8 +3477,17 @@ static HRESULT WINAPI foldermanager_UnregisterFolder(
...
@@ -3477,8 +3477,17 @@ static HRESULT WINAPI foldermanager_UnregisterFolder(
IKnownFolderManager
*
iface
,
IKnownFolderManager
*
iface
,
REFKNOWNFOLDERID
rfid
)
REFKNOWNFOLDERID
rfid
)
{
{
FIXME
(
"%p
\n
"
,
rfid
);
HRESULT
hr
;
return
E_NOTIMPL
;
LPWSTR
registryPath
=
NULL
;
TRACE
(
"(%p, %s)
\n
"
,
iface
,
debugstr_guid
(
rfid
));
hr
=
get_known_folder_registry_path
(
rfid
,
&
registryPath
);
if
(
SUCCEEDED
(
hr
))
hr
=
HRESULT_FROM_WIN32
(
RegDeleteKeyW
(
HKEY_LOCAL_MACHINE
,
registryPath
));
HeapFree
(
GetProcessHeap
(),
0
,
registryPath
);
return
hr
;
}
}
static
HRESULT
WINAPI
foldermanager_FindFolderFromPath
(
static
HRESULT
WINAPI
foldermanager_FindFolderFromPath
(
...
...
dlls/shell32/tests/shellpath.c
View file @
c5bf1977
...
@@ -1242,7 +1242,6 @@ static void test_knownFolders(void)
...
@@ -1242,7 +1242,6 @@ static void test_knownFolders(void)
}
}
hr
=
IKnownFolderManager_UnregisterFolder
(
mgr
,
&
newFolderId
);
hr
=
IKnownFolderManager_UnregisterFolder
(
mgr
,
&
newFolderId
);
todo_wine
ok
(
hr
==
S_OK
,
"failed to unregister folder: 0x%08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"failed to unregister folder: 0x%08x
\n
"
,
hr
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment