IRichEditOle::SetLinkAvailable method (richole.h)
Sets the value of the link-available bit in the object's flags. The link-available bit defaults to TRUE. It should be set to FALSE if any errors occur on the link which would indicate problems connecting to the linked object or application. When those problems are repaired, the bit should be set to TRUE again.
HRESULT SetLinkAvailable( LONG iob, BOOL fAvailable );
Index of object whose bit is to be set. If this parameter is REO_IOB_SELECTION, the bit on the selected object is to be set.
Value used in the set operation. The value can be TRUE or FALSE.
Returns S_OK on success, or a failure code otherwise. E_INVALIDARG is returned if the index is invalid.
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|