Image::GetItemData method (gdiplusheaders.h)

The Image::GetItemData method gets one piece of metadata from this Image object.


Status GetItemData(
  [in] ImageItemData *item


[in] item

Type: ImageItemData*

Pointer to an ImageItemData object that specifies the item to be retrieved. The Data member of the ImageItemData object points to a buffer that receives the custom metadata. If the Data member is set to NULL, this method returns the size of the required buffer in the DataSize member of the ImageItemData object.

Return value

Type: Status

If the method succeeds, it returns Ok, which is an element of the Status enumeration.

If the method fails, it returns one of the other elements of the Status enumeration.


Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header gdiplusheaders.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See also