/*
* This is a part of the Microsoft Source Code Samples.
*
*This sample code shows the usage 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.
*
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
* ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
* PARTICULAR PURPOSE.
*
* Copyright 1997 - 1998 Microsoft Corporation. All Rights Reserved. *
*/
#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