pspumd.h

Go to the documentation of this file.
00001 /*
00002  * PSP Software Development Kit - http://www.pspdev.org
00003  * -----------------------------------------------------------------------
00004  * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
00005  *
00006  * pspumd.h - Prototypes for the sceUmd library.
00007  *
00008  * Copyright (c) 2005 Marcus R. Brown <mrbrown@ocgnet.org>
00009  * Copyright (c) 2005 James Forshaw <tyranid@gmail.com>
00010  * Copyright (c) 2005 John Kelley <ps2dev@kelley.ca>
00011  *
00012  * $Id: pspumd.h 540 2005-07-08 19:35:10Z warren $
00013  */
00014 #ifndef __UMD_H__
00015 #define __UMD_H__
00016 
00017 #ifdef __cplusplus
00018 extern "C" {
00019 #endif
00020 
00023 
00025 enum UmdDriveStat
00026 {
00028         UMD_WAITFORDISC = 2,
00030         UMD_WAITFORINIT         = 0x20
00031 };
00032 
00034 typedef int (*UmdCallback)(int unknown, int event);
00035 
00042 int sceUmdCheckMedium(int a);
00043 
00066 int sceUmdActivate(int unit, const char *drive);
00067 
00075 int sceUmdWaitDriveStat(int stat);
00076 
00089 int sceUmdRegisterUMDCallBack(int cbid);
00090 
00093 #ifdef __cplusplus
00094 }
00095 #endif
00096 
00097 #endif

Generated on Tue Jul 24 15:21:23 2007 for PSPSDK-Rev2272 by  doxygen 1.5.2