Capture services: Difference between revisions

No edit summary
Line 287: Line 287:


Controls which struct version to use for [[#ApplicationAlbumEntry]] / [[#AlbumFileEntry]]. However, the struct size for the newer version is used regardless on [7.0.0+] for the actual cmds.
Controls which struct version to use for [[#ApplicationAlbumEntry]] / [[#AlbumFileEntry]]. However, the struct size for the newer version is used regardless on [7.0.0+] for the actual cmds.
= Enums =
=== AlbumImageOrientation ===
{| class="wikitable" border="1"
|-
!  Value
!  Description
|-
| 0 || Unknown.
|-
| 1 || Unknown.
|-
| 2 || Unknown.
|-
| 3 || Unknown.
|}
This is "nn::album::ImageOrientation".
=== AlbumReportOption ===
{| class="wikitable" border="1"
|-
!  Value
!  Description
|-
| 0 || Unknown.
|-
| 1 || Unknown.
|-
| 2 || Unknown.
|-
| 3 || Unknown.
|}
This is "nn::album::AlbumReportOption".


= AlbumEntry =
= AlbumEntry =
Line 344: Line 380:
* u64 ApplicationAlbumFileEntry+0x20 = [[#ApplicationAlbumEntry]]+0x10.
* u64 ApplicationAlbumFileEntry+0x20 = [[#ApplicationAlbumEntry]]+0x10.
* Last 8-bytes = 0.
* Last 8-bytes = 0.
= ScreenShotAttribute =
{| class="wikitable" border="1"
|-
! Offset || Size || Description
|-
| 0x0 || 0x4 || Always set to 0 by official sw.
|-
| 0x4 || 0x4 || [[#AlbumImageOrientation]]
|-
| 0x8 || 0x4 || Always set to 0 by official sw.
|-
| 0xC || 0x4 || Always set to 1 by official sw.
|-
| 0x10 || 0x30 || Always set to 0 by official sw.
|}
This is "nn::capsrv::detail::ScreenShotAttributeEx0" / "nn::capsrv::ScreenShotAttribute". This is a 0x40-byte struct.


= ApplicationData =
= ApplicationData =