Share via


COleControlSite::DestroyControl

Destroys the COleControlSite object.

virtual BOOL DestroyControl( );

Return Value

Nonzero if successful, otherwise 0.

Remarks

Once completed, the object is freed from memory and any pointers to the object are no longer valid.

Requirements

Header: afxocc.h

See Also

Reference

COleControlSite Class

Hierarchy Chart