MediaLabelInfo structure (ntmsmli.h)

[Removable Storage Manager is no longer available as of Windows 7 and Windows Server 2008 R2.]

The MediaLabelInfo structure conveys information to the RSM database about a tape OMID. The media label library fills in this structure for all media labels the library recognizes.

Syntax

typedef struct {
  WCHAR LabelType[NTMSMLI_MAXTYPE];
  DWORD LabelIDSize;
  BYTE  LabelID[NTMSMLI_MAXIDSIZE];
  WCHAR LabelAppDescr[NTMSMLI_MAXAPPDESCR];
} MediaLabelInfo, *pMediaLabelInfo;

Members

LabelType[NTMSMLI_MAXTYPE]

Unicode string that identifies the source of the media label. Often this is the name of the backup application or Windows command that wrote the label, for example, "Microsoft Windows Wbadmin".

LabelIDSize

Number of bytes that are used in the LabelID member.

LabelID[NTMSMLI_MAXIDSIZE]

Unique identifier for the media label.

LabelAppDescr[NTMSMLI_MAXAPPDESCR]

Unicode string that describes the media. For example, the description for a backup media label would be similar to "Tape created on 04/14/97".

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header ntmsmli.h

See also

ClaimMediaLabel