IPicture::get_Attributes method (ocidl.h)
Retrieves the current set of the picture's bit attributes.
Syntax
HRESULT get_Attributes(
[out] DWORD *pDwAttr
);
Parameters
[out] pDwAttr
A pointer to a variable that receives the value of the Attributes property.
The Attributes property can contain any combination of the values from the PICTUREATTRIBUTES enumeration.
Return value
This method supports the standard return value E_FAIL, as well as the following values.
Return code | Description |
---|---|
|
The attribute bits were returned successfully. |
|
The value of pdwAttr is not valid. For example, it may be NULL. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | ocidl.h |