SetBehaviorSite method
Sets the behavior site.
Syntax
HRESULT retVal = object.SetBehaviorSite(punk);
Parameters
punk [in]
Type: IUnknownSpecifies a pointer to the desired interface.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.