vitasdk
Documentation of the vitasdk
photo_import_dialog.h
Go to the documentation of this file.
1
6#ifndef _PSP2_COMMON_DIALOG_PHOTO_IMPORT_DIALOG_H
7#define _PSP2_COMMON_DIALOG_PHOTO_IMPORT_DIALOG_H
8
10#include <psp2/common_dialog.h>
11#include <psp2/types.h>
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17
18typedef struct _ScePhotoImportDialogImportInfo {
19 char path[0x400];
20 char unk_0x400[0x100];
21 SceUInt8 unk_0x500[0x20];
28
29typedef struct _ScePhotoImportDialogParam {
32 SceUInt32 unk_0x50; // should be 0
33 SceUInt32 unk_0x54; // should be `(unk_0x54 & 7) != 0 && (unk_0x54 & ~7) == 0`
35 void *unk_0x5C;
36 SceUInt8 unk_0x60[0x20];
39
40typedef struct _ScePhotoImportDialogResult {
43 SceChar8 reserved[0x20];
46
47static inline void scePhotoImportDialogParamInit(ScePhotoImportDialogParam *param)
48{
49 sceClibMemset( param, 0x0, sizeof(*param));
50 _sceCommonDialogSetMagicNumber(&(param->commonParam));
52}
53
59
60
61#ifdef __cplusplus
62}
63#endif
64
65#endif
#define VITASDK_BUILD_ASSERT_EQ(__size__, __name__)
Definition build_utils.h:13
void * sceClibMemset(void *dst, int ch, SceSize len)
Definition common_dialog.h:106
#define PSP2_SDK_VERSION
Definition defs.h:11
int scePhotoImportDialogInit(ScePhotoImportDialogParam *param)
SceUInt32 unk_0x58
Definition photo_import_dialog.h:34
int scePhotoImportDialogGetStatus(void)
SceUInt32 unk_0x50
Definition photo_import_dialog.h:32
SceInt32 unk_0x04
Definition photo_import_dialog.h:42
int scePhotoImportDialogAbort(void)
int scePhotoImportDialogGetResult(ScePhotoImportDialogResult *result)
int scePhotoImportDialogTerm(void)
int unk_0x524
Definition photo_import_dialog.h:23
void * unk_0x5C
Definition photo_import_dialog.h:35
int unk_0x520
Definition photo_import_dialog.h:22
SceUInt32 unk_0x54
Definition photo_import_dialog.h:33
SceCommonDialogParam commonParam
Definition photo_import_dialog.h:31
int unk_0x52C
Definition photo_import_dialog.h:25
SceUInt32 sdkVersion
Definition photo_import_dialog.h:30
int unk_0x528
Definition photo_import_dialog.h:24
SceInt32 result
Definition photo_import_dialog.h:41
Definition photo_import_dialog.h:18
Definition photo_import_dialog.h:29
Definition photo_import_dialog.h:40
int8_t SceChar8
Definition types.h:32
int32_t SceInt32
Definition types.h:44
uint32_t SceUInt32
Definition types.h:45
uint8_t SceUInt8
Definition types.h:36