Skip to content

Latest commit

 

History

History
85 lines (63 loc) · 2.98 KB

nf-shobjidl_core-ishellitem-getattributes.md

File metadata and controls

85 lines (63 loc) · 2.98 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:shobjidl_core.IShellItem.GetAttributes
IShellItem::GetAttributes (shobjidl_core.h)
Gets a requested set of attributes of the IShellItem object.
GetAttributes
GetAttributes method [Windows Shell]
GetAttributes method [Windows Shell]
IShellItem interface
IShellItem interface [Windows Shell]
GetAttributes method
IShellItem.GetAttributes
IShellItem::GetAttributes
_win32_IShellItem_GetAttributes
shell.IShellItem_GetAttributes
shobjidl_core/IShellItem::GetAttributes
shell\IShellItem_GetAttributes.htm
shell
d8d48b4b-979e-48ed-9e57-279fd6fad5cc
12/05/2018
GetAttributes, GetAttributes method [Windows Shell], GetAttributes method [Windows Shell],IShellItem interface, IShellItem interface [Windows Shell],GetAttributes method, IShellItem.GetAttributes, IShellItem::GetAttributes, _win32_IShellItem_GetAttributes, shell.IShellItem_GetAttributes, shobjidl_core/IShellItem::GetAttributes
shobjidl_core.h
Shobjidl.h
Windows
Windows XP with SP1 [desktop apps only]
Windows Server 2003 [desktop apps only]
Shell32.dll (version 6.0 or later)
Windows
19H1
IShellItem::GetAttributes
shobjidl_core/IShellItem::GetAttributes
c++
APIRef
kbSyntax
COM
Shell32.dll
IShellItem.GetAttributes

IShellItem::GetAttributes

-description

Gets a requested set of attributes of the IShellItem object.

-parameters

-param sfgaoMask [in]

Type: SFGAOF

Specifies the attributes to retrieve. One or more of the SFGAO values. Use a bitwise OR operator to determine the attributes to retrieve.

-param psfgaoAttribs [out]

Type: SFGAOF*

A pointer to a value that, when this method returns successfully, contains the requested attributes. One or more of the SFGAO values. Only those attributes specified by sfgaoMask are returned; other attribute values are undefined.

-returns

Type: HRESULT

Returns S_OK if the attributes returned exactly match those requested in sfgaoMask, S_FALSE if the attributes do not exactly match, or a standard COM error value otherwise.

-see-also

GetAttributes

GetAttributesOf

IShellItem