IOsAxsThread::ReadRegsFromThdCtx (Windows CE 5.0)
This method reads register values from the thread context. The register values correspond to register names listed by an IeXdi2EnumCpuRegs enumeration.
HRESULT ReadRegsFromThdCtx( [in] IeXdi2EnumCpuRegs* piOsAxsEnumCpuRegThreadCtx, [out] DWORD* pdwNbRegsInList, [out, size_is(,*pdwNbRegsInList)] REGVAL_TYPE **pprvList);
Parameters
piOsAxsEnumCpuRegThreadCtx
Pointer to the IeXdi2EnumCpuRegs enumeration of register names in the thread context.To obtain a list of registers that can be read from a thread context, use IOsAxsGeneric::GetFullThdContextRegList.
pdwNbRegsInList
Number of registers listed in piOsAxsEnumCpuRegThreadCtx, given for marshalling pprvList.This value matches the number of elements in the current list obtained with IeXdi2EnumCpuRegs::GetCount.
pprvList
Returned values of all registers in the list.
Return Values
The following table shows return values for this method.
Value | Description |
---|---|
S_OK | Indicates the function was successful. |
E_FAIL | Indicates an unspecified failure. |
Requirements
OS Version: Windows CE 5.0 and later.
Header: OsAcess.h.
Link Library: OSAXSC.lib.
See Also
Send Feedback on this topic to the authors