IPicture::get_Attributes

Returns the current set of the picture's bit attributes.

HRESULT get_Attributes(
  DWORD* pdwAttr  //Receives a pointer to attribute value
);
 

Parameters

pdwAttr
[out] Pointer to the caller's variable that receives the attribute value.

The Attributes property can contain any combination of the values from the PICTURE enumeration.

Return Values

This method supports the standard return value E_FAIL, as well as the following:

S_OK
The attribute bits were returned successfully.
E_POINTER
The address in pdwAttr is not valid. For example, it may be NULL.

QuickInfo

  Windows NT: Use version 4.0 or later.
  Windows: Use Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in ocidl.h.

See Also

PICTURE