| 195 | } |
| 196 | |
| 197 | LRESULT IECommandExecutor::OnGetResponse(UINT uMsg, |
| 198 | WPARAM wParam, |
| 199 | LPARAM lParam, |
| 200 | BOOL& bHandled) { |
| 201 | LOG(TRACE) << "Entering IECommandExecutor::OnGetResponse"; |
| 202 | |
| 203 | LPSTR str = reinterpret_cast<LPSTR>(lParam); |
| 204 | strcpy_s(str, |
| 205 | this->serialized_response_.size() + 1, |
| 206 | this->serialized_response_.c_str()); |
| 207 | |
| 208 | // Reset the serialized response for the next command. |
| 209 | this->serialized_response_ = ""; |
| 210 | this->current_command_.Reset(); |
| 211 | return 0; |
| 212 | } |
| 213 | |
| 214 | LRESULT IECommandExecutor::OnWait(UINT uMsg, |
| 215 | WPARAM wParam, |