IeXdi2EnumCpuRegs::WriteAll (Windows Embedded CE 6.0)
1/5/2010
This method writes the content values of a set CPU registers in the current list object.
Syntax
HRESULT WriteAll(
[in] DWORD dwCpuNum,
[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 Value
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
Header | eXDI2.h |
Library | ole32.lib, oleaut32.lib |
Windows Embedded CE | Windows CE 5.0 and later |