Partager via


IOsAxsThread::WriteRegsToThdCtx (Windows Embedded CE 6.0)

1/5/2010

This method writes the content values contained in a set thread context registers from the current list object.

Syntax

HRESULT WriteRegsToThdCtx(
  [in] IeXdi2EnumCpuRegs* piOsAxsEnumCpuRegThreadCtx,
  [in] DWORD  dwNbRegsInList,
  [in, size_is(dwNbRegsInList)] REGVAL_TYPE* prvList
);

Parameters

  • piOsAxsEnumCpuRegThreadCtx
    Enumeration of registers in the context. To obtain the full context, use GetFullThdContextRegList.
  • dwNbRegsInList
    Number of registers in the piOsAxsEnumCpuRegThreadCtx list, given for marshalling pprvList.

    This value matches the number of elements in the current list as shown with GetCount.

  • prvList
    Given new values for 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