OEMNotifyReschedule (Compact 2013)
10/16/2014
This function performs tasks the OEM considers necessary when a new thread is ready to run.
Syntax
void OEMReschedule(
DWORD dwThrdId,
DWORD dwPrio,
DWORD dwQuantum,
DWORD dwFlags
);
Parameters
- dwThrdId
[in] Identifier of the next running thread.
- dwPrio
[in] Priority of the next running thread.
- dwQuantum
[in] Quantum of the next running thread.
- dwFlags
[in] Reserved.
Return Value
None.
Remarks
Use this function to catch thread switching.
If you implement OEMNotifyReschedule, set the pfnNotifyReschedule member of OEMGLOBAL to point to this function. The kernel calls this function when a new thread is ready to run.
Requirements
Header |
Developer Implemented |
Library |
OEMMain.lib or OEMMain_StaticKITL.lib |