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.SHGetAttributesFromDataObject |
SHGetAttributesFromDataObject function (shlobj_core.h) |
SHGetAttributesFromDataObject may be altered or unavailable. |
|
shell\SHGetAttributesFromDataObject.htm |
shell |
bdc583ef-a5b6-4665-949c-50f79ace39dc |
12/05/2018 |
SHGetAttributesFromDataObject, SHGetAttributesFromDataObject function [Windows Shell], _win32_SHGetAttributesFromDataObject, shell.SHGetAttributesFromDataObject, shlobj_core/SHGetAttributesFromDataObject |
shlobj_core.h |
Shlobj.h |
Windows |
Windows XP [desktop apps only] |
Windows Server 2003 [desktop apps only] |
Shell32.lib |
Shell32.dll (version 6.0 or later) |
Windows |
19H1 |
|
|
|
|
|
|
[SHGetAttributesFromDataObject is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
Retrieves specified pieces of information from a system data object.
Type: IDataObject*
The data object from which to retrieve the information.
Type: DWORD
One or more of the SFGAO flags that indicate which pieces of information the calling application wants to retrieve.
Type: DWORD*
A pointer to a DWORD value that, when this function returns successfully, receives one or more SFGAO flags that indicate the attributes, among those requested, that are common to all items in pdo. This pointer can be NULL if this information is not needed.
Type: UINT*
A pointer to a UINT that, when this function returns successfully, receives the number of PIDLs in the data object pointed to by pdo. This pointer can be NULL if this information is not needed.
Type: HRESULT
This function can return one of these values.
Return code | Description |
---|---|
|
Success. |
|
The object is not a system data object. In this case, pdwAttributes is set to 0. |