Partager 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

Concepts

COleControlSite Class

COleControlSite Members

Hierarchy Chart