View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004705 | COM-DA Sample Code | Implementation Bug | public | 2019-03-29 19:31 | 2019-03-29 19:31 |
| Reporter | Jiyang Hu | Assigned To | |||
| Priority | high | Severity | major | Reproducibility | always |
| Status | new | Resolution | open | ||
| Platform | Windows | OS | Windows | OS Version | 10 |
| Summary | 0004705: IOPCShutdown not implemented | ||||
| Description |
// connect
if (pContainer != NULL)
When pContainer->OnAdvise(m_tInterface, dwCookie) fails in calling IOPCShutdown, Advise() shouldn't still return S_OK to client. In this case it should E_FAIL or another HResult instead of S_OK. | ||||
| Steps To Reproduce |
STDMETHODIMP ShutdownRequest(LPCWSTR szReason) { } | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2019-03-29 19:31 | Jiyang Hu | New Issue |