WM_PICTURE structure

The WM_PICTURE structure is used as the data item for the WM/Picture complex metadata attribute.

Syntax


typedef struct _WMPicture {
  LPWSTR pwszMIMEType;
  BYTE   bPictureType;
  LPWSTR pwszDescription;
  DWORD  dwDataLen;
  BYTE   *pbData;
} WM_PICTURE;

Members

pwszMIMEType

Pointer to a wide-character null-terminated string containing the multipurpose Internet mail extension (MIME) type of the picture.

bPictureType

BYTE value containing one of the following values.

ValueDescription
0Picture of a type not specifically listed in this table
132 pixel by 32 pixel file icon. Use only with portable network graphics (PNG) format
2File icon not conforming to type 1 above
3Front album cover
4Back album cover
5Leaflet page
6Media. Typically this type of image is of the label side of a CD
7Picture of the lead artist, lead performer, or soloist
8Picture of one of the artists or performers
9Picture of the conductor
10Picture of the band or orchestra
11Picture of the composer
12Picture of the lyricist or writer
13Picture of the recording studio or location
14Picture taken during a recording session
15Picture taken during a performance
16Screen capture from a movie or video
17A bright colored fish
18Illustration
19Logo of the band or artist
20Logo of the publisher or studio

 

pwszDescription

Pointer to a wide-character null-terminated string containing a description of the picture.

dwDataLen

DWORD value containing the size, in bytes, of the picture data pointed to by pbData.

pbData

Pointer to a BYTE array containing the picture data.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Version

Windows Media Format 9 Series SDK, or later versions of the SDK

Header

Wmsdkidl.h (include Wmsdk.h)

See also

Structures

 

 

Community Additions

ADD
Show:
© 2014 Microsoft