![]() |
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 SceWChar32 * | SceScreenShotParam::photoTitle |
| Photo title. | |
| const SceWChar32 * | SceScreenShotParam::gameTitle |
| Game title. | |
| const SceWChar32 * | SceScreenShotParam::gameComment |
| Game description. | |
| void * | SceScreenShotParam::reserved |
| Reserved range (Must be NULL) | |
Exports for User.
Include the header file in your project:
Link the library to the executable:
Load the required module:
| 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) |
| #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)
| 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.
| const SceWChar32* SceScreenShotParam::photoTitle |
Photo title.
| const SceWChar32* SceScreenShotParam::gameTitle |
Game title.
| const SceWChar32* SceScreenShotParam::gameComment |
Game description.
| void* SceScreenShotParam::reserved |
Reserved range (Must be NULL)