10 #include "../sf/service.h"
11 #include "../services/caps.h"
12 #include "../services/acc.h"
107 Result capsuLoadAlbumScreenShotImage(
s32 *width,
s32 *height,
CapsScreenShotAttributeForApplication *attr,
void* userdata,
size_t userdata_maxsize,
u32 *userdata_size,
void* image,
size_t image_size,
void* workbuf,
size_t workbuf_size,
const CapsApplicationAlbumFileEntry *entry,
const CapsScreenShotDecodeOption *option);
124 Result capsuLoadAlbumScreenShotThumbnailImage(
s32 *width,
s32 *height,
CapsScreenShotAttributeForApplication *attr,
void* userdata,
size_t userdata_maxsize,
u32 *userdata_size,
void* image,
size_t image_size,
void* workbuf,
size_t workbuf_size,
const CapsApplicationAlbumFileEntry *entry,
const CapsScreenShotDecodeOption *option);
CapsContentType
ContentType.
Definition: caps.h:31
Result capsuGetAlbumFileListDeprecated1(CapsApplicationAlbumFileEntry *entries, s32 count, CapsContentType type, const CapsAlbumFileDateTime *start_datetime, const CapsAlbumFileDateTime *end_datetime, s32 *total_entries)
Gets a listing of CapsApplicationAlbumFileEntry.
Result capsuReadAlbumMovieStream(u64 stream, s64 offset, void *buffer, size_t size, u64 *actual_size)
Reads data from an AlbumMovieStream.
void capsuExit(void)
Exit caps:u.
Result capsuGetAlbumFileListDeprecated2(CapsApplicationAlbumFileEntry *entries, s32 count, CapsContentType type, const CapsAlbumFileDateTime *start_datetime, const CapsAlbumFileDateTime *end_datetime, AccountUid uid, s32 *total_entries)
Gets a listing of CapsApplicationAlbumFileEntry, where the AlbumFile has an UserId which matches the ...
Result capsuDeleteAlbumFile(CapsContentType type, const CapsApplicationAlbumFileEntry *entry)
Deletes the specified AlbumFile.
Service * capsuGetServiceSession(void)
Gets the Service for caps:u.
Result capsuCloseAlbumMovieStream(u64 stream)
Closes an AlbumMovieStream.
Result capsuOpenAlbumMovieStream(u64 *stream, const CapsApplicationAlbumFileEntry *entry)
Opens an AlbumMovieStream.
Result capsuGetAlbumFileList4(CapsApplicationAlbumEntry *entries, s32 count, CapsContentType type, const CapsAlbumFileDateTime *start_datetime, const CapsAlbumFileDateTime *end_datetime, AccountUid uid, s32 *total_entries)
Gets a listing of CapsApplicationAlbumEntry, where the AlbumFile has an UserId which matches the inpu...
Service * capsuGetServiceSession_Accessor(void)
Gets the Service for IAlbumAccessorApplicationSession, only initialized after capsuOpenAlbumMovieStre...
Result capsuInitialize(void)
Initialize caps:u. Only available on [5.0.0+].
Result capsuLoadAlbumScreenShotImage(s32 *width, s32 *height, CapsScreenShotAttributeForApplication *attr, void *userdata, size_t userdata_maxsize, u32 *userdata_size, void *image, size_t image_size, void *workbuf, size_t workbuf_size, const CapsApplicationAlbumFileEntry *entry, const CapsScreenShotDecodeOption *option)
Load the ScreenShotImage for the specified AlbumFile.
Result capsuGetAlbumMovieStreamBrokenReason(u64 stream)
Gets the BrokenReason for an AlbumMovieStream.
Result capsuPrecheckToCreateContents(CapsContentType type, u64 unk)
PrecheckToCreateContents.
Result capsuGetAlbumMovieStreamSize(u64 stream, u64 *size)
Gets the data size of an AlbumMovieStream.
Result capsuLoadAlbumScreenShotThumbnailImage(s32 *width, s32 *height, CapsScreenShotAttributeForApplication *attr, void *userdata, size_t userdata_maxsize, u32 *userdata_size, void *image, size_t image_size, void *workbuf, size_t workbuf_size, const CapsApplicationAlbumFileEntry *entry, const CapsScreenShotDecodeOption *option)
Load the ScreenShotThumbnailImage for the specified AlbumFile.
Result capsuGetAlbumFileList3(CapsApplicationAlbumEntry *entries, s32 count, CapsContentType type, const CapsAlbumFileDateTime *start_datetime, const CapsAlbumFileDateTime *end_datetime, s32 *total_entries)
Gets a listing of CapsApplicationAlbumEntry.
Result capsuGetAlbumFileSize(const CapsApplicationAlbumFileEntry *entry, u64 *size)
Gets the filesize for the entire specified AlbumFile.
Account UserId.
Definition: acc.h:25
AlbumFileDateTime. This corresponds to each field in the Album entry filename, prior to the "-": "YYY...
Definition: caps.h:80
ApplicationAlbumEntry.
Definition: caps.h:108
ApplicationAlbumFileEntry.
Definition: caps.h:129
ScreenShotAttributeForApplication. Only unk_x0 is used by official sw.
Definition: caps.h:47
ScreenShotDecodeOption.
Definition: caps.h:74
Service object structure.
Definition: service.h:14
int64_t s64
64-bit signed integer.
Definition: types.h:28
uint64_t u64
64-bit unsigned integer.
Definition: types.h:22
u32 Result
Function error code result type.
Definition: types.h:44
int32_t s32
32-bit signed integer.
Definition: types.h:27
uint32_t u32
32-bit unsigned integer.
Definition: types.h:21