23static __inline__ int MScmIsMediumInserted(
void)
27 ret =
sceIoDevctl(
"mscmhc0:", 0x02025806, 0, 0, &status,
sizeof(status));
29 if(status != 1)
return 0;
35#define MS_CB_EVENT_INSERTED 1
36#define MS_CB_EVENT_EJECTED 2
int sceIoDevctl(const char *dev, unsigned int cmd, void *indata, int inlen, void *outdata, int outlen)
Send a devctl command to a device.
int SceUID
UIDs are used to describe many different kernel objects.
Definition pspkerneltypes.h:24
float x
Definition psptypes.h:0