IeXdi2EnumCpuRegs::WriteAll (Windows CE 5.0)

Send Feedback

This method writes the content values of a set CPU registers in the current list object.

HRESULT WriteAll(  [in] DWORDdwCpuNum,  [in] DWORD dwNbRegsInList,  [in, size_is(dwNbRegsInList)] REGVAL_TYPE* prvList);

Parameters

  • dwCpuNum
    CPU number.

    This parameter should be 0 if the CPU is not a symmetric multi-processor platform (SMP). Otherwise, assign dwCpuNum a value between 0 and n-1, where n is the CPU number in the SMP system.

  • dwNbRegsInList
    Number of registers in the list.

    dwNbRegsInList must match the number of elements in the list returned by IeXdi2EnumCpuRegs::GetCount.

  • prvList
    Pointer to the list of new register values.

Return Values

The following table shows the return values for this method.

Value Description
S_OK Indicates the function was successful.
E_FAIL Indicates an unspecified failure.
EXDI_E_COMMUNICATION Indicates a communication error between host driver and debugging target.

Requirements

OS Version: Windows CE 5.0 and later.
Header: eXDI2.h.
Link Library: ole32.lib, oleaut32.lib.

See Also

IeXDI2 Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.