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:

SceRegistryMgr_stub



Functions

int sceRegMgrGetKeyBin (const char *category, const char *name, void *buf, int size)
 Get a key's information by category and name. More...
 
int sceRegMgrGetKeyInt (const char *category, const char *name, int *buf)
 Get a key's information by category and name. More...
 
int sceRegMgrGetKeyStr (const char *category, const char *name, char *buf, const int size)
 Get a key's information by category and name. More...
 
int sceRegMgrSetKeyBin (const char *category, const char *name, void *buf, int size)
 Set a key's information by category and name. More...
 
int sceRegMgrSetKeyInt (const char *category, const char *name, int buf)
 Set a key's information by category and name. More...
 
int sceRegMgrSetKeyStr (const char *category, const char *name, char *buf, const int size)
 Set a key's information by category and name. More...
 
int sceRegMgrGetInitVals (const char *category, char *buf, const int elements_number)
 Get all keys' initial information by category (from os0:kd/registry.db0) More...
 
int sceRegMgrGetKeys (const char *category, char *buf, const int elements_number)
 Get all keys' information by category. More...
 
int sceRegMgrSetKeys (const char *category, char *buf, const int elements_number)
 Set all keys' information by category. More...
 
int sceRegMgrSystemParamGetInt (const int id, int *buf)
 Get a system param key's information by id. More...
 
int sceRegMgrSystemParamGetStr (const int id, char *buf, const int size)
 Get a system param key's information by id. More...
 
int sceRegMgrGetRegVersion (int version, char *buf)
 Get the registry version. More...
 

Function Documentation

◆ sceRegMgrGetKeyBin()

int sceRegMgrGetKeyBin ( const char *  category,
const char *  name,
void *  buf,
int  size 
)

Get a key's information by category and name.

Parameters
category- The path to the directory to be opened (e.g. /CONFIG/SYSTEM)
name- Name of the key
buf- Pointer to a buffer to hold the value
size- The size of the buffer
Returns
0 on success, < 0 on error

◆ sceRegMgrGetKeyInt()

int sceRegMgrGetKeyInt ( const char *  category,
const char *  name,
int *  buf 
)

Get a key's information by category and name.

Parameters
category- The path to the directory to be opened (e.g. /CONFIG/SYSTEM)
name- Name of the key
buf- Pointer to a int buffer to hold the value
Returns
0 on success, < 0 on error

◆ sceRegMgrGetKeyStr()

int sceRegMgrGetKeyStr ( const char *  category,
const char *  name,
char *  buf,
const int  size 
)

Get a key's information by category and name.

Parameters
category- The path to the directory to be opened (e.g. /CONFIG/SYSTEM)
name- Name of the key
buf- Pointer to a char buffer to hold the value
size- The size of the buffer
Returns
0 on success, < 0 on error

◆ sceRegMgrSetKeyBin()

int sceRegMgrSetKeyBin ( const char *  category,
const char *  name,
void *  buf,
int  size 
)

Set a key's information by category and name.

Parameters
category- The path to the directory to be opened (e.g. /CONFIG/SYSTEM)
name- Name of the key
buf- Pointer to a buffer to hold the value
size- The size of the buffer
Returns
0 on success, < 0 on error

◆ sceRegMgrSetKeyInt()

int sceRegMgrSetKeyInt ( const char *  category,
const char *  name,
int  buf 
)

Set a key's information by category and name.

Parameters
category- The path to the directory to be opened (e.g. /CONFIG/SYSTEM)
name- Name of the key
buf- Pointer to an int buffer to hold the value
Returns
0 on success, < 0 on error

◆ sceRegMgrSetKeyStr()

int sceRegMgrSetKeyStr ( const char *  category,
const char *  name,
char *  buf,
const int  size 
)

Set a key's information by category and name.

Parameters
category- The path to the directory to be opened (e.g. /CONFIG/SYSTEM)
name- Name of the key
buf- Pointer to a char buffer to hold the value
size- The size of the buffer
Returns
0 on success, < 0 on error

◆ sceRegMgrGetInitVals()

int sceRegMgrGetInitVals ( const char *  category,
char *  buf,
const int  elements_number 
)

Get all keys' initial information by category (from os0:kd/registry.db0)

Parameters
category- The path to the directory to be opened (e.g. /CONFIG/SYSTEM)
buf[out]- Pointer to a char buffer to hold the values
elements_number- The number of elements of the buffer
Returns
0 on success, < 0 on error

◆ sceRegMgrGetKeys()

int sceRegMgrGetKeys ( const char *  category,
char *  buf,
const int  elements_number 
)

Get all keys' information by category.

Parameters
category- The path to the directory to be opened (e.g. /CONFIG/SYSTEM)
buf[out]- Pointer to a char buffer to hold the values
elements_number- The number of elements of the buffer
Returns
0 on success, < 0 on error

◆ sceRegMgrSetKeys()

int sceRegMgrSetKeys ( const char *  category,
char *  buf,
const int  elements_number 
)

Set all keys' information by category.

Parameters
category- The path to the directory to be opened (e.g. /CONFIG/SYSTEM)
buf[out]- Pointer to a char buffer that holds the values
elements_number- The number of elements of the buffer
Returns
0 on success, < 0 on error

◆ sceRegMgrSystemParamGetInt()

int sceRegMgrSystemParamGetInt ( const int  id,
int *  buf 
)

Get a system param key's information by id.

Parameters
id- The id of the key
buf[out]- Pointer to an int to hold the value
Returns
0 on success, < 0 on error

◆ sceRegMgrSystemParamGetStr()

int sceRegMgrSystemParamGetStr ( const int  id,
char *  buf,
const int  size 
)

Get a system param key's information by id.

Parameters
id- The id of the key
buf[out]- Pointer to a char buffer to hold the value
size- The size of the buffer
Returns
0 on success, < 0 on error

◆ sceRegMgrGetRegVersion()

int sceRegMgrGetRegVersion ( int  version,
char *  buf 
)

Get the registry version.

Parameters
id- The id of the key
buf[out]- Pointer to a char buffer to hold the value
Returns
0 on success, < 0 on error