Share via


OEMNotifyThreadExit (Compact 2013)

10/16/2014

This function performs tasks that the OEM considers necessary when a thread exits.

Syntax

void OEMNotifyThreadExit(DWORD dwThrdId, DWORD dwExitCode);

Parameters

  • dwThrdId
    Identifier of the thread that just exited.
  • dwExitCode
    Specifies the exit code for the thread.

Return Value

None.

Remarks

If you implement OEMNotifyThreadExit, set the pfnNotifyThreadExit member of OEMGLOBAL to point to this function. The kernel calls this function when a thread exits.

Requirements

Header

Developer Implemented

Library

OEMMain.lib or OEMMain_StaticKITL.lib

See Also

Reference

Optional OAL Functions