vitasdk
Documentation of the vitasdk
screenshot.h File Reference
#include <vitasdk/build_utils.h>
#include <psp2/types.h>

Go to the source code of this file.

Data Structures

struct  SceScreenShotParam
 

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...
 

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. 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...