PRB: Scheduling Log Functions SchedLogGetProcessName, SchedlLogGetThreadProgramCounter Return Invalid Strings (294229)



The information in this article applies to:

  • Microsoft Windows CE Operating System, Versions 3.0
  • Microsoft Windows CE Operating System, Versions 2.12
  • Microsoft Windows CE Platform Builder 2.12
  • Microsoft Windows CE Platform Builder 3.0

This article was previously published under Q294229

SYMPTOMS

The scheduling Log functions SchedLogGetProcessName() and SchedLogGetThreadProgramCounter() return invalid strings/values.

CAUSE

The functions are not called in the context of OEM Adaptation Layer (OAL) logging functions LogThreadCreate() or LogThreadDelete().

MORE INFORMATION

Windows CE includes scheduling log functions that provide the names and addresses of processes and threads in your operating system. The functions SchedLogGetProcessName() and SchedLogGetThreadProgramCounter() will return valid names/strings only if they are called within the context of a LogThreadCreate() or LogThreadDelete(). These API's should not be used to return the names on a LogThreadSwitch.

The logging functions LogThreadCreate() and LogThreadDelete() are implemented in the OAL and are called by the kernel.

REFERENCES

For more information on logging functions see Platform Builder Help.

Modification Type:MinorLast Reviewed:8/18/2005
Keywords:kbprb KB294229