mirror of
https://github.com/reactos/wine.git
synced 2025-01-19 10:13:01 +00:00
Remove a couple of superfluous casts.
This commit is contained in:
parent
7cdf3389dd
commit
35d6217def
@ -5918,7 +5918,7 @@ HRESULT WINAPI StgCreateDocfile(
|
||||
*/
|
||||
hr = StorageBaseImpl_QueryInterface(
|
||||
(IStorage*)newStorage,
|
||||
(REFIID)&IID_IStorage,
|
||||
&IID_IStorage,
|
||||
(void**)ppstgOpen);
|
||||
end:
|
||||
TRACE("<-- %p r = %08x\n", *ppstgOpen, hr);
|
||||
@ -6222,7 +6222,7 @@ HRESULT WINAPI StgOpenStorage(
|
||||
*/
|
||||
hr = StorageBaseImpl_QueryInterface(
|
||||
(IStorage*)newStorage,
|
||||
(REFIID)&IID_IStorage,
|
||||
&IID_IStorage,
|
||||
(void**)ppstgOpen);
|
||||
|
||||
end:
|
||||
@ -6276,7 +6276,7 @@ HRESULT WINAPI StgCreateDocfileOnILockBytes(
|
||||
*/
|
||||
hr = StorageBaseImpl_QueryInterface(
|
||||
(IStorage*)newStorage,
|
||||
(REFIID)&IID_IStorage,
|
||||
&IID_IStorage,
|
||||
(void**)ppstgOpen);
|
||||
|
||||
return hr;
|
||||
@ -6341,7 +6341,7 @@ HRESULT WINAPI StgOpenStorageOnILockBytes(
|
||||
*/
|
||||
hr = StorageBaseImpl_QueryInterface(
|
||||
(IStorage*)newStorage,
|
||||
(REFIID)&IID_IStorage,
|
||||
&IID_IStorage,
|
||||
(void**)ppstgOpen);
|
||||
|
||||
return hr;
|
||||
|
@ -521,7 +521,7 @@ static LRESULT BrsFolder_Treeview_Expand( browse_info *info, NMTREEVIEWW *pnmtv
|
||||
|
||||
if (lptvid->lpi && lptvid->lpi->mkid.cb) {
|
||||
r = IShellFolder_BindToObject( lptvid->lpsfParent, lptvid->lpi, 0,
|
||||
(REFIID)&IID_IShellFolder, (LPVOID *)&lpsf2 );
|
||||
&IID_IShellFolder, (LPVOID *)&lpsf2 );
|
||||
} else {
|
||||
lpsf2 = lptvid->lpsfParent;
|
||||
r = IShellFolder_AddRef(lpsf2);
|
||||
|
@ -172,7 +172,7 @@ static int FM_InitMenuPopup(HMENU hmenu, LPCITEMIDLIST pAlternatePidl)
|
||||
|
||||
if (SUCCEEDED (SHGetDesktopFolder(&lpsf)))
|
||||
{
|
||||
if (SUCCEEDED(IShellFolder_BindToObject(lpsf, pidl,0,(REFIID)&IID_IShellFolder,(LPVOID *)&lpsf2)))
|
||||
if (SUCCEEDED(IShellFolder_BindToObject(lpsf, pidl,0,&IID_IShellFolder,(LPVOID *)&lpsf2)))
|
||||
{
|
||||
IEnumIDList *lpe = NULL;
|
||||
|
||||
|
@ -976,7 +976,7 @@ static void ShellView_DoContextMenu(IShellViewImpl * This, WORD x, WORD y, BOOL
|
||||
if( ShellView_GetSelections(This) )
|
||||
{
|
||||
IShellFolder_GetUIObjectOf( This->pSFParent, This->hWndParent, This->cidl, (LPCITEMIDLIST*)This->apidl,
|
||||
(REFIID)&IID_IContextMenu, NULL, (LPVOID *)&pContextMenu);
|
||||
&IID_IContextMenu, NULL, (LPVOID *)&pContextMenu);
|
||||
|
||||
if(pContextMenu)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user