Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:docs:fapi:dossystrace [2021/12/15 07:57] – prokushev | en:docs:fapi:dossystrace [2021/12/16 03:16] (current) – prokushev | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | {{page> |
| + | |||
| + | ====== | ||
| ===== Brief ===== | ===== Brief ===== | ||
| Line 8: | Line 10: | ||
| ===== Syntax ===== | ===== Syntax ===== | ||
| <code c> | <code c> | ||
| - | APIRET16 | + | APIRET |
| (USHORT major, USHORT cBuffer, USHORT minor, PCHAR pBuffer) | (USHORT major, USHORT cBuffer, USHORT minor, PCHAR pBuffer) | ||
| </ | </ | ||
| Line 25: | Line 27: | ||
| ulrc (APIRET) returns | ulrc (APIRET) returns | ||
| - | Dos16SysTrace | + | DosSysTrace |
| * 0 NO_ERROR | * 0 NO_ERROR | ||
| Line 37: | Line 39: | ||
| * Optional System Data Controlled by the TRACE command | * Optional System Data Controlled by the TRACE command | ||
| * Optional User Data Specified by the pBuffer parameter | * Optional User Data Specified by the pBuffer parameter | ||
| + | |||
| + | To check is tracing enabled use [[DosGetInfoSeg]]. GlobalInfoSeg contains 256bit flags area. See [[DosGetInfoSeg]] for more info. | ||
| ===== Example Code ===== | ===== Example Code ===== | ||
| Line 42: | Line 46: | ||
| <code c> | <code c> | ||
| int main(int argc, char *argv[], char *envp[]){ | int main(int argc, char *argv[], char *envp[]){ | ||
| - | APIRET16 | + | APIRET |
| | | ||
| | | ||
| Line 70: | Line 74: | ||
| * [[DosDumpProcess]] | * [[DosDumpProcess]] | ||
| * [[DosForceSystemDump]] | * [[DosForceSystemDump]] | ||
| + | |||
| + | {{page> | ||




