Return Value | Meaning |
S_OK | The connection has been established and *pdwCookie has the connection key. |
E_POINTER | The value of pUnk or pdwCookie is not valid (NULL cannot be passed for either argument) |
E_UNEXPECTED | An unknown error occurred. |
E_OUTOFMEMORY | There was not enough memory to complete the operation, such as if the connection point failed to allocate memory in which to store the sink's interface pointer. |
CONNECT_E_ADVISELIMIT | The connection point has already reached its limit of connections and cannot accept any more. |
CONNECT_E_CANNOTCONNECT | The sink does not support the interface required by this connection point. |