| 1 | /** |
| 2 | * This file has no copyright assigned and is placed in the Public Domain. |
| 3 | * This file is part of the mingw-w64 runtime package. |
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. |
| 5 | */ |
| 6 | #ifndef _INCL_NTMSMLI_H_ |
| 7 | #define _INCL_NTMSMLI_H_ |
| 8 | |
| 9 | #define NTMSMLI_MAXTYPE 64 |
| 10 | #define NTMSMLI_MAXIDSIZE 256 |
| 11 | #define NTMSMLI_MAXAPPDESCR 256 |
| 12 | |
| 13 | #ifndef NTMS_NOREDEF |
| 14 | |
| 15 | typedef struct { |
| 16 | WCHAR LabelType[NTMSMLI_MAXTYPE]; |
| 17 | DWORD LabelIDSize; |
| 18 | BYTE LabelID[NTMSMLI_MAXIDSIZE]; |
| 19 | WCHAR LabelAppDescr[NTMSMLI_MAXAPPDESCR]; |
| 20 | } MediaLabelInfo,*pMediaLabelInfo; |
| 21 | #endif |
| 22 | |
| 23 | typedef DWORD (WINAPI *MAXMEDIALABEL)(DWORD *const pMaxSize); |
| 24 | typedef DWORD (WINAPI *CLAIMMEDIALABEL)(const BYTE *const pBuffer,const DWORD nBufferSize,MediaLabelInfo *const pLabelInfo); |
| 25 | typedef DWORD (WINAPI *CLAIMMEDIALABELEX)(const BYTE *const pBuffer,const DWORD nBufferSize,MediaLabelInfo *const pLabelInfo,GUID *LabelGuid); |
| 26 | #endif |