Share via


OEMMapW32Priority (Compact 2013)

10/16/2014

This function initializes a custom mapping of Win32 thread priorities to Windows Embedded Compact 2013 thread priorities.

Syntax

void OEMMapW32Priority(int nPrios, LPBYTE pPrioMap);

Parameters

  • nPrios
    The number of priorities to map. This number is always 8 since the Win32 API supports 8 priorities.
  • pPrioMap
    Pointer to a monotonically-increasing array of Windows Embedded Compact priorities to map to the Win32 priorities.

Return Value

None.

Remarks

If you implement OEMMapW32Priority, set the pfnMapW32Priority member of OEMGLOBAL to point to this function. This function is called by the kernel when thread handling is initialized at system startup.

Requirements

Header

Developer Implemented

Library

OEMMain.lib or OEMMain_StaticKITL.lib

See Also

Reference

Optional OAL Functions