Removes a listener from the notification list.
HRESULT removeDataSourceListener(
DataSourceListener* pDSL);
Parameters
pDSL [in]
Pointer to the interface of the listener.
Return Code
S_OK
The method succeeded.
E_FAIL
A provider-specific error occurred.
Comments
Checking whether the listener has been added and returning an error is optional. If there are duplicates on the list, one is removed, but which one is unspecified. If the data source does not fire notifications, then it can just return NOERROR from this method.