ntmsmli.h 912 B

1234567891011121314151617181920212223242526
  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. #define NTMSMLI_MAXTYPE 64
  9. #define NTMSMLI_MAXIDSIZE 256
  10. #define NTMSMLI_MAXAPPDESCR 256
  11. #ifndef NTMS_NOREDEF
  12. typedef struct {
  13. WCHAR LabelType[NTMSMLI_MAXTYPE];
  14. DWORD LabelIDSize;
  15. BYTE LabelID[NTMSMLI_MAXIDSIZE];
  16. WCHAR LabelAppDescr[NTMSMLI_MAXAPPDESCR];
  17. } MediaLabelInfo,*pMediaLabelInfo;
  18. #endif
  19. typedef DWORD (WINAPI *MAXMEDIALABEL)(DWORD *const pMaxSize);
  20. typedef DWORD (WINAPI *CLAIMMEDIALABEL)(const BYTE *const pBuffer,const DWORD nBufferSize,MediaLabelInfo *const pLabelInfo);
  21. typedef DWORD (WINAPI *CLAIMMEDIALABELEX)(const BYTE *const pBuffer,const DWORD nBufferSize,MediaLabelInfo *const pLabelInfo,GUID *LabelGuid);
  22. #endif