Partager via


MaxMediaLabel Callback Function

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

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

Syntax

DWORD WINAPI MaxMediaLabel(
  __out  DWORD const *pMaxSize
);

Parameters

  • pMaxSize [out]
    Pointer to a buffer that receives the maximum size of the buffer sent to the ClaimMediaLabel function.

Return Value

This function returns the following value.

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

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

End of client support

Windows Vista

End of server support

Windows Server 2008

Header

NtmsMli.h

See Also

Media Label Library Functions

 

 

Send comments about this topic to Microsoft

Build date: 6/9/2011