Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
3/28/2014
This method attaches the current object to an existing object.
Syntax
virtual HRESULT STDMETHODCALLTYPE OnAttached(
IXRDependencyObject* pTargetObject)
Parameters
- pTargetObject
[in] Pointer to an object to which to attach the current object.
Return Value
Implement this method so that it returns S_OK if successful; otherwise, return the appropriate HRESULT value to indicate that the method was not successful.