Alexandre Goujon : include/ddk: Add DVD_DESCRIPTOR_HEADER descriptor structure.
Module: wine Branch: master Commit: 9536e66d61ac3ac9185b6da518fe9cd26ea6539f URL: http://source.winehq.org/git/wine.git/?a=commit;h=9536e66d61ac3ac9185b6da518... Author: Alexandre Goujon <ale.goujon(a)gmail.com> Date: Wed Jul 11 22:26:49 2012 +0200 include/ddk: Add DVD_DESCRIPTOR_HEADER descriptor structure. --- include/ddk/ntddcdvd.h | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/include/ddk/ntddcdvd.h b/include/ddk/ntddcdvd.h index 5313496..f6ce77b 100644 --- a/include/ddk/ntddcdvd.h +++ b/include/ddk/ntddcdvd.h @@ -113,7 +113,13 @@ typedef struct DVD_READ_STRUCTURE { /* From 0 to 4 */ UCHAR LayerNumber; -}DVD_READ_STRUCTURE, * PDVD_READ_STRUCTURE; +} DVD_READ_STRUCTURE, *PDVD_READ_STRUCTURE; + +typedef struct _DVD_DESCRIPTOR_HEADER { + USHORT Length; + UCHAR Reserved[2]; +} DVD_DESCRIPTOR_HEADER, *PDVD_DESCRIPTOR_HEADER; +C_ASSERT(sizeof(DVD_DESCRIPTOR_HEADER) == 4); typedef struct _DVD_LAYER_DESCRIPTOR { @@ -154,6 +160,7 @@ typedef struct _DVD_LAYER_DESCRIPTOR /* 0 indicates no BCA data */ UCHAR BCAFlag : 1; }DVD_LAYER_DESCRIPTOR, * PDVD_LAYER_DESCRIPTOR; +C_ASSERT(sizeof(DVD_LAYER_DESCRIPTOR) == 17); typedef struct _DVD_COPYRIGHT_DESCRIPTOR {
participants (1)
-
Alexandre Julliard