Changes

Jump to navigation Jump to search
1,086 bytes added ,  Yesterday at 22:11
Created page with "=Request= {{IPC/Request}} {{IPC/RequestHeader|0x0428|1|4}} {{IPC/RequestEntry|u8, Account slot}} {{IPC/CopyHandle|1}} {{IPC/CopyHandleEntry|Completion event handle}} {{IPC/Tra..."
=Request=
{{IPC/Request}}
{{IPC/RequestHeader|0x0428|1|4}}
{{IPC/RequestEntry|u8, Account slot}}
{{IPC/CopyHandle|1}}
{{IPC/CopyHandleEntry|Completion event handle}}
{{IPC/TranslateStaticBuffer|[[ACTA:ApproveByCreditCard#CreditCardInfo|CreditCardInfo]]|0}}
{{IPC/RequestEnd}}

=Response=
{{IPC/Request}}
{{#vardefine:ipc_offset|0}}
{{IPC/RequestHeader|0x0429|1|0}}
{{IPC/RequestEntry|Result code}}
{{IPC/RequestEnd}}

=CreditCardInfo=
{| class="wikitable" border="1"
|-
! Offset !! Size !! Description
|-
| 0x0 || 0x1 || u8, CardType
|-
| 0x1 || 0x10 + 1 || NULL-terminated 16-character ASCII CardNumber
|-
| 0x12 || 0x3 + 1 || NULL-terminated 3-character ASCII SecurityCode
|-
| 0x16 || 0x1 || u8, ExpirationMonth
|-
| 0x17 || 0x1 || u8, ExpirationYear
|-
| 0x18 || 0x7 || NULL-terminated 6-character ASCII PostalCode
|-
| 0x1F || 0x100 + 0x1 || NULL-terminated 256-character ASCII Email
|}

=Description=
Requests COPPA parental consent using the given credit card information. The account slot must be 0xFE. Therefore, this command can only be used with the currently loaded account.
Trusted
545

edits

Navigation menu