RtlCopyMemory(StateChange,
/* Return our wait state change structure */RtlMoveMemory(StateChange, &WaitStateChange, sizeof(DBGUI_WAIT_STATE_CHANGE));
RtlMoveMemory doesn't really make sense as the destination and source are never overlapping, resulting in unnecessary overhead.
- Thomas