Platform SDK: Removable Storage Manager

MaxMediaLabel

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

DWORD __stdcall MaxMediaLabel(
  DWORD *const pMaxSize
);

Parameters

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

Return Values

Value Meaning
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.

Requirements

  Windows NT/2000: Requires Windows 2000.