Toggles accounting tracking. You can return accounting information using GetRtThreadAccounting.
BOOLEAN SetRtSystemAccountingMode(
    BOOLEAN bMode    // Flag to turn accounting tracking on or off
);
bMode 
Since an error is returned if the CPU utilization mode specified in the call is already in effect, first use GetRtThreadAccounting with dwFlags set to 0 (zero) to determine the current mode.
TRUE 
FALSE 
E_OK 0x0000 
E_CONTEXT 0x0005 
bMode is already in effect. | Versions | Defined in | Include | Link to | 
|---|---|---|---|
| INtime 3.0 | intime/rt/include/rtbase.h | rt.h | rt.lib |