Skip to content

Latest commit

 

History

History
79 lines (62 loc) · 2.96 KB

nf-shlobj_core-ishellfolderview-refreshobject.md

File metadata and controls

79 lines (62 loc) · 2.96 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:shlobj_core.IShellFolderView.RefreshObject
IShellFolderView::RefreshObject (shlobj_core.h)
RefreshObject may be altered or unavailable.
IShellFolderView interface [Windows Shell]
RefreshObject method
IShellFolderView.RefreshObject
IShellFolderView::RefreshObject
RefreshObject
RefreshObject method [Windows Shell]
RefreshObject method [Windows Shell]
IShellFolderView interface
_shell_IShellFolderView_RefreshObject
shell.IShellFolderView_RefreshObject
shlobj_core/IShellFolderView::RefreshObject
shell\IShellFolderView_RefreshObject.htm
shell
6165d2d1-4bd6-4a18-8191-1fd7e924d7d8
12/05/2018
IShellFolderView interface [Windows Shell],RefreshObject method, IShellFolderView.RefreshObject, IShellFolderView::RefreshObject, RefreshObject, RefreshObject method [Windows Shell], RefreshObject method [Windows Shell],IShellFolderView interface, _shell_IShellFolderView_RefreshObject, shell.IShellFolderView_RefreshObject, shlobj_core/IShellFolderView::RefreshObject
shlobj_core.h
Windows
Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
19H1
IShellFolderView::RefreshObject
shlobj_core/IShellFolderView::RefreshObject
c++
APIRef
kbSyntax
COM
shlobj_core.h
IShellFolderView.RefreshObject

IShellFolderView::RefreshObject

-description

[RefreshObject is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Redraws the given item.

-parameters

-param pidl [in]

Type: PUITEMID_CHILD

The item to be redrawn.

-param puItem [out]

Type: UINT*

A pointer to a value that, when this method returns successfully, receives the index of the item that was redrawn. You can use this value to call IShellFolderView::GetObject to retrieve the PITEMID_CHILD that you just redrew.

-returns

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-remarks

If you immediately call IShellFolderView::GetObject with the index returned by puItem, you will get a copy of the ITEMID_CHILD that you redrew. However, the index position of an item may change over time, so code cannot trust that any specific index always returns the same ITEMID_CHILD.