Partager via


IOsAxsThread::ReadRegsFromThdCtx (Windows Embedded CE 6.0)

1/5/2010

This method reads register values from the thread context. The register values correspond to register names listed by an IeXdi2EnumCpuRegs enumeration.

Syntax

HRESULT ReadRegsFromThdCtx(
  [in] IeXdi2EnumCpuRegs* piOsAxsEnumCpuRegThreadCtx,
  [out] DWORD* pdwNbRegsInList,
  [out, size_is(,*pdwNbRegsInList)] REGVAL_TYPE** pprvList
);

Parameters

  • 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 Value

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

Header OsAcess.h
Library OSAXSC.lib
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

IOsAxsThread
IOsAxs Interfaces