RegisterMediaLabel

[This is preliminary documentation and subject to change.]

The RegisterMediaLabel function is passed a logical media ID, a buffer containing a media label, and the size of the buffer. There are no guidelines for processing this information.

DWORD RegisterMediaLabel(
  const LPNTMS_GUID pMediaID,
  const BYTE *const pBuffer,
  const DWORD nBufferSize
);
 

Parameters

pMediaID
Pointer to the ID of the media.
pBuffer
Pointer to a buffer of data.
nBufferSize
Specifies the size of the buffer.

Return Values

NO_ERROR
The function was successful.

Remarks

An extended media label library enables an application to associate an LMID with a media label and process the media label for extended attributes, specified in the RegisterMediaLabel function. You are not required to provide an extended media label library; this functionality is completely optional.

QuickInfo

  Windows NT: Requires version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Import Library: User-defined.