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:

SceScreenShot_stub



Functions

 VITASDK_BUILD_ASSERT_EQ (0x10, SceScreenShotParam)
 
int sceScreenShotSetParam (const SceScreenShotParam *param)
 Set screenshot params. More...
 
int sceScreenShotSetOverlayImage (const char *filepath, int offsetX, int offsetY)
 Set overlay image. More...
 
int sceScreenShotDisable (void)
 Disable screenshot. More...
 
int sceScreenShotEnable (void)
 Enable screenshot. More...
 

Macros

#define SCE_SCREENSHOT_MAX_FS_PATH   (1024)
 Max size of path strings (includes device name and NULL terminator) More...
 
#define SCE_SCREENSHOT_MAX_PHOTO_TITLE_LEN   (64)
 Max length of photo title. More...
 
#define SCE_SCREENSHOT_MAX_PHOTO_TITLE_SIZE   (SCE_SCREENSHOT_MAX_PHOTO_TITLE_LEN * 4)
 Max size of photo title (includes NULL terminator) More...
 
#define SCE_SCREENSHOT_MAX_GAME_TITLE_LEN   (64)
 Max length of game title. More...
 
#define SCE_SCREENSHOT_MAX_GAME_TITLE_SIZE   (SCE_SCREENSHOT_MAX_GAME_TITLE_LEN * 4)
 Max size of game title (includes NUL terminator) More...
 
#define SCE_SCREENSHOT_MAX_GAME_COMMENT_LEN   (128)
 Max length of comment (description) More...
 
#define SCE_SCREENSHOT_MAX_GAME_COMMENT_SIZE   (SCE_SCREENSHOT_MAX_GAME_COMMENT_LEN * 4)
 Max size of comment (description) (includes NUL terminator) More...
 

Data Structure Documentation

◆ SceScreenShotParam

struct SceScreenShotParam
Data Fields
const SceWChar32 * photoTitle Photo title.
const SceWChar32 * gameTitle Game title.
const SceWChar32 * gameComment Game description.
void * reserved Reserved range (Must be NULL)

Macro Definition Documentation

◆ SCE_SCREENSHOT_MAX_FS_PATH

#define SCE_SCREENSHOT_MAX_FS_PATH   (1024)

Max size of path strings (includes device name and NULL terminator)

◆ SCE_SCREENSHOT_MAX_PHOTO_TITLE_LEN

#define SCE_SCREENSHOT_MAX_PHOTO_TITLE_LEN   (64)

Max length of photo title.

◆ SCE_SCREENSHOT_MAX_PHOTO_TITLE_SIZE

#define SCE_SCREENSHOT_MAX_PHOTO_TITLE_SIZE   (SCE_SCREENSHOT_MAX_PHOTO_TITLE_LEN * 4)

Max size of photo title (includes NULL terminator)

◆ SCE_SCREENSHOT_MAX_GAME_TITLE_LEN

#define SCE_SCREENSHOT_MAX_GAME_TITLE_LEN   (64)

Max length of game title.

◆ SCE_SCREENSHOT_MAX_GAME_TITLE_SIZE

#define SCE_SCREENSHOT_MAX_GAME_TITLE_SIZE   (SCE_SCREENSHOT_MAX_GAME_TITLE_LEN * 4)

Max size of game title (includes NUL terminator)

◆ SCE_SCREENSHOT_MAX_GAME_COMMENT_LEN

#define SCE_SCREENSHOT_MAX_GAME_COMMENT_LEN   (128)

Max length of comment (description)

◆ SCE_SCREENSHOT_MAX_GAME_COMMENT_SIZE

#define SCE_SCREENSHOT_MAX_GAME_COMMENT_SIZE   (SCE_SCREENSHOT_MAX_GAME_COMMENT_LEN * 4)

Max size of comment (description) (includes NUL terminator)

Enumeration Type Documentation

◆ SceScreenshotErrorCode

Enumerator
SCE_SCREENSHOT_ERROR_INVALID_ARGUMENT 
SCE_SCREENSHOT_ERROR_NO_MEMORY 
SCE_SCREENSHOT_ERROR_FILE_NOT_FOUND 
SCE_SCREENSHOT_ERROR_NOT_SUPPORTED_FORMAT 
SCE_SCREENSHOT_ERROR_MEDIA_FULL 
SCE_SCREENSHOT_ERROR_INTERNAL 

Function Documentation

◆ VITASDK_BUILD_ASSERT_EQ()

VITASDK_BUILD_ASSERT_EQ ( 0x10  ,
SceScreenShotParam   
)

◆ sceScreenShotSetParam()

int sceScreenShotSetParam ( const SceScreenShotParam param)

Set screenshot params.

◆ sceScreenShotSetOverlayImage()

int sceScreenShotSetOverlayImage ( const char *  filepath,
int  offsetX,
int  offsetY 
)

Set overlay image.

◆ sceScreenShotDisable()

int sceScreenShotDisable ( void  )

Disable screenshot.

◆ sceScreenShotEnable()

int sceScreenShotEnable ( void  )

Enable screenshot.