OLEDBSimpleProvider::addOLEDBSimpleProviderListener
Registers the named event handler interface to receive notifications of changes to data.
HRESULT addOLEDBSimpleProviderListener (
OLEDBSimpleProviderListener*pospIListener);
Parameters
pospIListener
[in]
The event handler interface to be registered.
Return Codes
S_OK
The method succeeded.
E_FAIL
A provider-specific error occurred.
Notes
-
If an event handler was previously specified, addOLEDBSimpleProviderListener releases that event handler prior to registering pospIListener.
-
To correctly implement a provider built with the OLE DB Simple Provider Toolkit, the listener must be the Simple Provider DLL (MSDAOSP.DLL).
-
For multiple OLE DB Rowsets over the same data set, your implementation must support multiple listeners; otherwise only one "active" Rowset will be allowed.