MaxMediaLabel

[This is preliminary documentation and subject to change.]

The MaxMediaLabel function determines the maximum size of the media label for the applications supported by the media label library.

DWORD MaxMediaLabel(
  DWORD *const pMaxSize
);
 

Parameters

pMaxSize
Pointer to the maximum size of the buffer that is sent to the ClaimMediaLabel function.

Return Values

NO_ERROR
The function was successful.

Remarks

When the media format of the media specified in the MaxMediaLabel function does not have a theoretical size limit, the application should return the size of the largest media label the application can possibly generate.

QuickInfo

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