Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.2 KiB

  1. /*++
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3. Copyright (c) 1996-1999 Highground Systems
  4. Module Name:
  5. NtmsMli.h
  6. Abstract:
  7. This header contains the definitions of the
  8. MediaLabelInfo structure. Media label libraries use
  9. this structure to pass information to RSM to use to
  10. identify media.
  11. The name of this file reflects it's history. RSM
  12. began its life as NTMS.
  13. --*/
  14. #ifndef _INCL_NTMSMLI_H_
  15. #define _INCL_NTMSMLI_H_
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif
  19. #include <windows.h>
  20. #define NTMSMLI_MAXTYPE 64
  21. #define NTMSMLI_MAXIDSIZE 256
  22. #define NTMSMLI_MAXAPPDESCR 256
  23. typedef struct
  24. {
  25. WCHAR LabelType[NTMSMLI_MAXTYPE];
  26. DWORD LabelIDSize;
  27. BYTE LabelID[NTMSMLI_MAXIDSIZE];
  28. WCHAR LabelAppDescr[NTMSMLI_MAXAPPDESCR];
  29. } MediaLabelInfo, *pMediaLabelInfo;
  30. typedef DWORD ( WINAPI *MAXMEDIALABEL) (DWORD * const pMaxSize);
  31. typedef DWORD ( WINAPI *CLAIMMEDIALABEL) (const BYTE * const pBuffer, const DWORD nBufferSize,
  32. MediaLabelInfo * const pLabelInfo);
  33. typedef DWORD ( WINAPI *CLAIMMEDIALABELEX) (const BYTE * const pBuffer, const DWORD nBufferSize,
  34. MediaLabelInfo * const pLabelInfo, GUID * LabelGuid);
  35. #endif