2009-07-30 07:41:12 +02:00
|
|
|
#ifndef _WDVD_H_
|
2009-05-03 20:53:31 +02:00
|
|
|
#define _WDVD_H_
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2009-07-30 07:41:12 +02:00
|
|
|
extern "C" {
|
2009-05-03 20:53:31 +02:00
|
|
|
#endif
|
2009-07-30 07:41:12 +02:00
|
|
|
|
|
|
|
/* Prototypes */
|
|
|
|
s32 WDVD_Init(void);
|
|
|
|
s32 WDVD_Close(void);
|
|
|
|
s32 WDVD_GetHandle(void);
|
|
|
|
s32 WDVD_Reset(void);
|
|
|
|
s32 WDVD_ReadDiskId(void *);
|
|
|
|
s32 WDVD_Seek(u64);
|
|
|
|
s32 WDVD_Offset(u64);
|
|
|
|
s32 WDVD_StopLaser(void);
|
|
|
|
s32 WDVD_StopMotor(void);
|
|
|
|
s32 WDVD_OpenPartition(u64);
|
|
|
|
s32 WDVD_ClosePartition(void);
|
|
|
|
s32 WDVD_UnencryptedRead(void *, u32, u64);
|
|
|
|
s32 WDVD_Read(void *, u32, u64);
|
|
|
|
s32 WDVD_WaitForDisc(void);
|
|
|
|
s32 WDVD_GetCoverStatus(u32 *);
|
|
|
|
s32 WDVD_DisableReset(u8);
|
2009-11-15 20:52:58 +01:00
|
|
|
s32 WDVD_SetUSBMode(const u8 *, s32 partition);
|
2009-12-04 16:05:20 +01:00
|
|
|
s32 WDVD_Read_Disc_BCA(void *buf);
|
2009-05-03 20:53:31 +02:00
|
|
|
|
2009-07-30 07:41:12 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
2009-05-03 20:53:31 +02:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|