[This is preliminary documentation and subject to change.]
The ClaimMediaLabel function determines whether a specified media label was created by the media's associated application.
DWORD ClaimMediaLabel(
const BYTE *const pBuffer,
const DWORD nBufferSize,
MediaLabelInfo *const pLabelInfo
);
When a media label library uses the ClaimMediaLabel function to identify the media label as one created by its associated application, the media label library must fill in the MediaLabelInfo structure and return NO_ERROR. If the media label library does not recognize the media label, it returns ERROR_BAD_FORMAT.
Windows NT: Requires version 5.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Import Library: User-defined.