Error Report services: Difference between revisions

No edit summary
No edit summary
Line 41: Line 41:
== SubmitContext ==
== SubmitContext ==
Takes 2 type-5 input buffers [[#ContextEntry]] and '''FieldList'''.
Takes 2 type-5 input buffers [[#ContextEntry]] and '''FieldList'''.
=== ContextEntry ===
This is a 0x160 bytes structure used to encapsulate an error report context.
{| class="wikitable" border="1"
|-
! Offset || Size || Description
|-
| 0x0 || 0x4 || Version
|-
| 0x4 || 0x4 || FieldCount
|-
| 0x8 || 0x4 || CategoryId
|-
| 0xC || 0x144 || Array of FieldEntry
|-
| 0x150 || 0x8 || Pointer to a FieldList object
|-
| 0x158 || 0x4 || FieldList free count
|-
| 0x15C || 0x4 || FieldList total size
|}


== CreateReportV0 ==
== CreateReportV0 ==
Line 272: Line 250:
|}
|}


= Reports =
= ContextEntry =
== Fields ==
This is "nn::erpt::ContextEntry". This is a 0x160-byte struct.
 
{| class="wikitable" border="1"
|-
! Offset || Size || Description
|-
| 0x0 || 0x4 || Version
|-
| 0x4 || 0x4 || FieldCount
|-
| 0x8 || 0x4 || CategoryId
|-
| 0xC || 0x144 || Array of FieldEntry
|-
| 0x150 || 0x8 || Pointer to a FieldList object
|-
| 0x158 || 0x4 || FieldList free count
|-
| 0x15C || 0x4 || FieldList total size
|}
 
= FieldId =
This is "nn::erpt::FieldId".
 
{| class=wikitable
{| class=wikitable
! Id || Name || Category || FieldType || FieldFlag
|-
! Value || Name || Category || FieldType || FieldFlag
|-
|-
| 0x0 || TestU64 || Test || NumericU64 || None
| 0x0 || TestU64 || Test || NumericU64 || None