IOleCacheControl::OnStop method
Notifies the cache that it should terminate any existing advise sinks. No indication is given as to whether a connection actually existed.
Syntax
HRESULT OnStop();
Parameters
This method has no parameters.
Return value
This method returns S_OK on success. Other possible return values include the following.
| Return code | Description |
|---|---|
|
An unexpected error has occurred. |
|
Insufficient memory is available for this operation. |
Remarks
The data advisory connection between the running object and the cache is destroyed as part of calling OnStop.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
IDL |
|
|
IID |
IID_IOleCacheControl is defined as 00000129-0000-0000-C000-000000000046 |
See also
Show: