Merge pull request #26337 from luzpaz/typos-addon
[xbmc.git] / xbmc / platform / win32 / my_ntddcdrm.h
blob5707d58f2ea81237d2237316b2563cb36420cd48
1 /*
2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
7 */
9 #pragma once
11 #include <winioctl.h>
13 #define IOCTL_CDROM_BASE FILE_DEVICE_CD_ROM
14 #define IOCTL_CDROM_RAW_READ CTL_CODE(IOCTL_CDROM_BASE, 0x000F, METHOD_OUT_DIRECT, FILE_READ_ACCESS)
16 typedef enum _TRACK_MODE_TYPE {
17 YellowMode2,
18 XAForm2,
19 CDDA
20 } TRACK_MODE_TYPE, *PTRACK_MODE_TYPE;
22 typedef struct __RAW_READ_INFO
24 LARGE_INTEGER DiskOffset;
25 ULONG SectorCount;
26 TRACK_MODE_TYPE TrackMode;
28 RAW_READ_INFO, *PRAW_READ_INFO;