vitasdk
Documentation of the vitasdk

Exports for User. More...

Data Structures

struct  SceScreenShotParam
 

Macros

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

Enumerations

enum  SceScreenshotErrorCode {
  SCE_SCREENSHOT_ERROR_INVALID_ARGUMENT = 0x80102F01 , SCE_SCREENSHOT_ERROR_NO_MEMORY = 0x80102F02 , SCE_SCREENSHOT_ERROR_FILE_NOT_FOUND = 0x80102F03 , SCE_SCREENSHOT_ERROR_NOT_SUPPORTED_FORMAT = 0x80102F04 ,
  SCE_SCREENSHOT_ERROR_MEDIA_FULL = 0x80102F05 , SCE_SCREENSHOT_ERROR_INTERNAL = 0x80102F06
}
 

Functions

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

Variables

const SceWChar32SceScreenShotParam::photoTitle
 Photo title.
 
const SceWChar32SceScreenShotParam::gameTitle
 Game title.
 
const SceWChar32SceScreenShotParam::gameComment
 Game description.
 
void * SceScreenShotParam::reserved
 Reserved range (Must be NULL)
 

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


Load the required module:

int sceSysmoduleLoadModule(SceSysmoduleModuleId id)
Load a module.
@ SCE_SYSMODULE_SCREEN_SHOT
ScreenShot module.
Definition sysmodule.h:56




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.

Variable Documentation

◆ photoTitle

const SceWChar32* SceScreenShotParam::photoTitle

Photo title.

◆ gameTitle

const SceWChar32* SceScreenShotParam::gameTitle

Game title.

◆ gameComment

const SceWChar32* SceScreenShotParam::gameComment

Game description.

◆ reserved

void* SceScreenShotParam::reserved

Reserved range (Must be NULL)