IRichEditOle::SetLinkAvailable method

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.

Syntax


HRESULT SetLinkAvailable(
  LONG iob,
  BOOL fAvailable
);

Parameters

iob

Type: LONG

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.

fAvailable

Type: BOOL

Value used in the set operation. The value can be TRUE or FALSE.

Return value

Type: HRESULT

Returns S_OK on success, or a failure code otherwise. E_INVALIDARG is returned if the index is invalid.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Richole.h

DLL

Msftedit.dll

See also

IRichEditOle

 

 

Community Additions

ADD
Show:
© 2014 Microsoft