Remove

HRESULT CConnectionsArray::Remove(
REFIID riid)

Parameters

riid

IID of the notification interface to be removed from the array.

Return Code

See AdviseDisconnect. If riid is not found, then S_OK is returned.

Comments

Removes the advise connection entry whose notification interface IID matches the given riid. Any active advise connection is disconnected before the entry is physically removed from the array.