APT:GetCaptureInfo: Difference between revisions

Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x004A0040] |- | 1 | Size |} =Response= {| class="wikitable" border="1" |- ! Ind..."
 
Steveice10 (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
| 1
| 1
| Size
| Size
|}
The following is located 0x100-bytes after the beginning of the above command buffer:
{| class="wikitable" border="1"
|-
!  Index Word
!  Description
|-
| 0
| <nowiki>(Size << 14) | 2</nowiki>
|-
| 1
| void*, [[NS_and_APT_Services#CaptureBufferInfo|CaptureBufferInfo]]
|}
|}


Line 23: Line 36:
| 1
| 1
| Result code
| Result code
|-
| 2
| <nowiki>(Size<<14) | 2</nowiki>
|-
| 3
| Output buffer ptr
|}
|}


=Description=
=Description=
This command loads the data set by [[APT:SendCaptureBufferInfo]], this command is similar to [[APT:ReceiveCaptureBufferInfo]]. The input size is clamped to 0x20-bytes by NS. The NS state [[APT:SendCaptureBufferInfo|buffer]] data is then copied to the output buffer.
This command loads the data set by [[APT:SendCaptureBufferInfo]], this command is similar to [[APT:ReceiveCaptureBufferInfo]]. The input size is clamped to 0x20-bytes by NS. The NS state [[APT:SendCaptureBufferInfo|buffer]] data is then copied to the output buffer.