vitasdk
Documentation of the vitasdk

Detailed Description

Exports for User.


Using this library in your project

Include the header file in your project:


Link the library to the executable:

SceUsbstorVStorDriver_stub



Functions

int sceUsbstorVStorSetImgFilePath (const char *path)
 Set image file path. More...
 
int sceUsbstorVStorSetDeviceInfo (const char *name, const char *version)
 Set USB descriptor device information. More...
 
int sceUsbstorVStorStart (SceUsbstorVstorType type)
 Start USB virtual storage. More...
 
int sceUsbstorVStorStop (void)
 Stop USB virtual storage. More...
 

Enumeration Type Documentation

◆ SceUsbstorVstorType

Enumerator
SCE_USBSTOR_VSTOR_TYPE_FAT 
SCE_USBSTOR_VSTOR_TYPE_CDROM 

Function Documentation

◆ sceUsbstorVStorSetImgFilePath()

int sceUsbstorVStorSetImgFilePath ( const char *  path)

Set image file path.

Parameters
[in]path- Image file path
Returns
0 on success, < 0 on error.

◆ sceUsbstorVStorSetDeviceInfo()

int sceUsbstorVStorSetDeviceInfo ( const char *  name,
const char *  version 
)

Set USB descriptor device information.

Parameters
[in]name- Name
[in]version- Version
Returns
0 on success, < 0 on error.

◆ sceUsbstorVStorStart()

int sceUsbstorVStorStart ( SceUsbstorVstorType  type)

Start USB virtual storage.

Parameters
[in]type- One of SceUsbstorVstorType
Returns
0 on success, < 0 on error.

◆ sceUsbstorVStorStop()

int sceUsbstorVStorStop ( void  )

Stop USB virtual storage.

Returns
0 on success, < 0 on error.