Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
be3c0702
Commit
be3c0702
authored
Aug 18, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VCD: remove Win9x support
parent
e607973a
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
437 deletions
+46
-437
modules/access/vcd/cdrom.c
modules/access/vcd/cdrom.c
+46
-357
modules/access/vcd/cdrom_internals.h
modules/access/vcd/cdrom_internals.h
+0
-80
No files found.
modules/access/vcd/cdrom.c
View file @
be3c0702
This diff is collapsed.
Click to expand it.
modules/access/vcd/cdrom_internals.h
View file @
be3c0702
...
...
@@ -38,10 +38,6 @@ struct vcddev_s
#ifdef WIN32
HANDLE
h_device_handle
;
/* vcd device descriptor */
long
hASPI
;
short
i_sid
;
long
(
*
lpSendCommand
)(
void
*
);
#else
int
i_device_handle
;
/* vcd device descriptor */
#endif
...
...
@@ -129,82 +125,6 @@ typedef struct _CDROM_READ_TOC_EX {
#define MINIMUM_CDROM_READ_TOC_EX_SIZE 2
#define CDROM_READ_TOC_EX_FORMAT_CDTEXT 0x05
/* Win32 aspi specific */
#define WIN_NT ( GetVersion() < 0x80000000 )
#define ASPI_HAID 0
#define ASPI_TARGET 0
#define DTYPE_CDROM 0x05
#define SENSE_LEN 0x0E
#define SC_GET_DEV_TYPE 0x01
#define SC_EXEC_SCSI_CMD 0x02
#define SC_GET_DISK_INFO 0x06
#define SS_COMP 0x01
#define SS_PENDING 0x00
#define SS_NO_ADAPTERS 0xE8
#define SRB_DIR_IN 0x08
#define SRB_DIR_OUT 0x10
#define SRB_EVENT_NOTIFY 0x40
#define READ_CD 0xbe
#define READ_TOC 0x43
#define READ_TOC_FORMAT_TOC 0x0
#pragma pack(1)
struct
SRB_GetDiskInfo
{
unsigned
char
SRB_Cmd
;
unsigned
char
SRB_Status
;
unsigned
char
SRB_HaId
;
unsigned
char
SRB_Flags
;
unsigned
long
SRB_Hdr_Rsvd
;
unsigned
char
SRB_Target
;
unsigned
char
SRB_Lun
;
unsigned
char
SRB_DriveFlags
;
unsigned
char
SRB_Int13HDriveInfo
;
unsigned
char
SRB_Heads
;
unsigned
char
SRB_Sectors
;
unsigned
char
SRB_Rsvd1
[
22
];
};
struct
SRB_GDEVBlock
{
unsigned
char
SRB_Cmd
;
unsigned
char
SRB_Status
;
unsigned
char
SRB_HaId
;
unsigned
char
SRB_Flags
;
unsigned
long
SRB_Hdr_Rsvd
;
unsigned
char
SRB_Target
;
unsigned
char
SRB_Lun
;
unsigned
char
SRB_DeviceType
;
unsigned
char
SRB_Rsvd1
;
};
struct
SRB_ExecSCSICmd
{
unsigned
char
SRB_Cmd
;
unsigned
char
SRB_Status
;
unsigned
char
SRB_HaId
;
unsigned
char
SRB_Flags
;
unsigned
long
SRB_Hdr_Rsvd
;
unsigned
char
SRB_Target
;
unsigned
char
SRB_Lun
;
unsigned
short
SRB_Rsvd1
;
unsigned
long
SRB_BufLen
;
unsigned
char
*
SRB_BufPointer
;
unsigned
char
SRB_SenseLen
;
unsigned
char
SRB_CDBLen
;
unsigned
char
SRB_HaStat
;
unsigned
char
SRB_TargStat
;
unsigned
long
*
SRB_PostProc
;
unsigned
char
SRB_Rsvd2
[
20
];
unsigned
char
CDBByte
[
16
];
unsigned
char
SenseArea
[
SENSE_LEN
+
2
];
};
#pragma pack()
#endif
/* WIN32 */
#define SECTOR_TYPE_MODE2_FORM2 0x14
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment