Platform SDK: Removable Storage Manager

MediaLabelInfo Data Structure

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

struct MediaLabelInfo
  WCHAR    LabelType[64];
  DWORD    LabelIDSize;
  BYTE     LabelID[256];
  WCHAR    LabelAppDescr[256];
}

Members

LabelType
Unicode string that identifies the source of the media label. For example, the LabelType for a Windows NT/Windows 2000 backup media label is "Microsoft Windows NTBackup".
LabelIDSize
Number of bytes that are used in the LabelID field.
LabelID
Unique identifier for the media label.
LabelAppDescr
Unicode string that describes the media. For example, the LabelAppDescr for a Windows 2000 backup media label would be similar to "Tape created on 04/14/97".

Requirements

  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Ntmsapi.h.