All report messages use the same layout:
character offset |
type |
contents |
0 |
text(4) |
classification |
4 |
decimal(10) |
report code |
14 |
variable |
additional data |
The first four characters contain a classification code that tells which part of WindowsEnabler caused the report.
The following 10 characters contain a report code. This is enough to capture 32-bit error codes (such as HRESULT in windows). This code is right aligned and filled out with leading zeroes. It is used to indicate a specific kind of error or warning. In principle, each type of report (PAN, NAN, NONE) and each class (_WE_, WEMQ, WCMD) has its own set of codes. For example, positive action notifications of class WCMD contain the return code of the command, whereas for other types of messages this particular code may have an entirely different meaning.
Optionally, additional information follows the code (i.e. starting at position 14). The type of this information depends on the report code.