NTMSMLL.H

/* 
* This is a part of the Microsoft Source Code Samples.
* Copyright 1996 - 1998 Microsoft Corporation.
* All rights reserved.
*
*This sample code shows the useage of some portions
*of the NTMS API.
*
*Return codes are, for the most part, not checked in
*this code. See the Programmer's reference for error
*return information.
*
*/


#include <ntmsmli.h>
#include <tchar.h>

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

#ifdef MAKING_APIDEMO_LABEL
#define APIDEMO_LABEL_EXPORT __declspec(dllexport)
#else
#define APIDEMO_LABEL_EXPORT __declspec(dllimport)
#endif

// defines for media label identification ...
#define MTF_MediaLabelType_NT_ApiDemoL"Microsoft NTMS API Demo"
#define MTF_MediaLabelType_NT_ApiDemoSizewcslen (MTF_MediaLabelType_NT_ApiDemo)

APIDEMO_LABEL_EXPORT DWORD ClaimMediaLabel(const BYTE * const pBuffer,
const DWORD nBufferSize,
MediaLabelInfo * const pLabelInfo) ;

APIDEMO_LABEL_EXPORT DWORD MaxMediaLabel (DWORD * const pMaxSize) ;

#ifdef __cplusplus
}
#endif