Share via


IXRInteraction.RegisterActionsDependencyProperty(const WCHAR *,UINT,PFN_PROPERTY_CHANGE,DEPENDENCY_PROPERTY_ID *) (Compact 2013)

3/28/2014

This method registers an enumerable property that stores an IXRInteractivityTriggerAction.

Syntax

virtual HRESULT STDMETHODCALLTYPE RegisterActionsDependencyProperty(
const WCHAR* pPropertyName,
UINT objectId,
PFN_PROPERTY_CHANGE pfnPropChange,
DEPENDENCY_PROPERTY_ID *pPropertyId)

Parameters

  • pPropertyName
    [in] Pointer to a string containing the name of the property.
  • objectId
    [in] ID of the object associated with the type.
  • pfnPropChange
    [in] Pointer to a property change notification callback function.
  • pPropertyId
    [out] ID of the new property.

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.

Remarks

See Also

Reference

IXRInteraction