IPicture::get_Attributes method

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

Syntax


HRESULT get_Attributes(
  [out]  DWORD *pDwAttr
);

Parameters

pDwAttr [out]

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 codeDescription
S_OK

The attribute bits were returned successfully.

E_POINTER

The value of pdwAttr is not valid. For example, it may be NULL.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

OCIdl.h

IDL

OCIdl.idl

IID

IID_IPicture is defined as 7BF80980-BF32-101A-8BBB-00AA00300CAB

See also

IPicture
PICTUREATTRIBUTES

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.