| 91 | } |
| 92 | |
| 93 | int CConnectLayer::cbLayerWrite(void *userContext, const void *data, int bytes) |
| 94 | { |
| 95 | if(!userContext) return -1; |
| 96 | if (!data || !bytes) |
| 97 | return 0; |
| 98 | CConnectLayer* pThis = ((LayerUserData*)userContext)->pThis; |
| 99 | return pThis->OnLayerWrite(data, bytes); |
| 100 | } |
| 101 | |
| 102 | BOOL CConnectLayer::cbLayerClose(void *userContext) |
| 103 | { |
nothing calls this directly
no test coverage detected