⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pspidstor.h

📁 XFLASH source code for Sony Play Station Portable (PSP).
💻 H
字号:
/*
 * PSP Software Development Kit - http://www.pspdev.org
 * -----------------------------------------------------------------------
 * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
 *
 * pspidstor.h - Prototypes for the sceIdstorage library.
 *
 *
 */
#ifndef PSPIDSTOR_H
#define PSPIDSTOR_H

#ifdef __cplusplus
extern "C" {
#endif

// Idstorage Fonction 

int sceIdStorageFlush(void);
/* sceIdStorageLookup() - Retrieves the value associated with a key 
 * args: key    = id-storage key 
 *       offset = offset within the 512-byte leaf 
 *       buf    = buffer with enough storage 
 *       len    = amount of data to retrieve (offset + len must be <= 512 bytes) 
 */ 
int sceIdStorageLookup(u16 key, u32 offset, void *buf, u32 len); 

/* sceIdStorageReadLeaf() - Retrieves the whole 512-byte container for the key 
 * args: key = id-storage key 
 *       buf = buffer with at last 512-bytes of storage 
 */ 
int sceIdStorageReadLeaf(u16 key, void *buf);
/* sceIdStorageWriteLeaf() - Write the whole 512-byte container for the key 
 * args: key = id-storage key 
 *       buf = buffer with at last 512-bytes of storage 
 */ 
int sceIdStorageWriteLeaf(u16 key, void *buf);

#ifdef __cplusplus
}
#endif

#endif /* PSPIDSTOR_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -