Share via


OEMInitCoProcRegisterSavedArea (Windows CE 5.0)

Send Feedback

This function is called by the kernel when a thread is created to initialize the debug registers.

void OEMInitCoProcRegisterSavedArea( LPBYTE pArea);

Parameters

  • pArea
    [out] Buffer used to save or restore debug registers. The initialized value is passed directly to the OEMRestoreCoProcRegister function when the thread is first scheduled.

Return Values

None.

Remarks

Leave the function pointer to NULL if the platform does not have debug registers.

To initialize debug registers, declare the following pointer in the OAL and assign the pointer the function address of the OEMInitCoProcRegisterSavedArea function.

extern void (*pOEMInitCoProcRegisterSavedArea) (LPBYTE pArea); 

The kernel calls pOEMInitCoProcRegisterSavedArea when the thread is created if the cbNKCoProcRegSize global variable is nonzero. The OEM can initialize the buffer in any way necessary to implement support for save and restore.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Not applicable.
Link Library: Nk.lib.

See Also

OEMSaveCoProcRegister | OEMRestoreCoProcRegister | cbNKCoProcRegSize | fNKSaveCoProcReg

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.