Switches to a different CPU core.
PPS_ENGINE pEngine
An opaque handle to an engine created by the EngCreateEngine function.
uint64_t TargetCpuIndex
The index of the CPU core to be switched to making it the current CPU core.
If the function succeeds, the return value is PULSE_STATUS_SUCCESS.
If it fails, it returns one of the PULSE_STATUS values. Possible return codes include, but are not limited to, the following:
| PULSE_STATUS_BARRIER_ALREADY_OWNED0x00000021 | The target CPU core is already the current one. |
| PULSE_STATUS_INSUFFICIENT_RESOURCES0xC0000002 | One of the memory allocations failed during initialization. |
| PULSE_STATUS_READ_FAILED0xC0000003 | Transport communication failed during a read operation. |
| PULSE_STATUS_WRITE_FAILED0xC0000004 | Transport communication failed during a write operation. |
| PULSE_STATUS_TIMEOUT0xC0000007 | Might happen if
|
| PULSE_STATUS_INVALID_PARAMETER0xC0000010 | The pEngine parameter is NULL. |
| PULSE_STATUS_INVALID_PACKET0xC0000031 | An invalid or unexpected packet was received in response. |
| PULSE_STATUS_BARRIER_OWNER_INACTIVE0xC0000043 | The target CPU core cannot be run at this time. It might be shut down or not started yet. |
| PULSE_STATUS_BARRIER_NO_CPU0xC0000044 | The target CPU core does not exist. Check the target parameter. |
| PULSE_STATUS_DEVICE_CONNECTION_LOST0xC0000308 | The connection to the transport was lost. Try restarting the engine or the transport. |
Calling this function while the debug target is active will produce undefined behavior.