Partager via


COleControlContainer::GetAmbientProp

Retrieves the value of a specified ambient property.

virtual BOOL GetAmbientProp( 
   COleControlSite* pSite, 
   DISPID dispid, 
   VARIANT* pvarResult  
);

Parameters

  • pSite
    A pointer to a control site from which the ambient property will be retrieved.

  • dispid
    The dispatch ID of the desired ambient property.

  • pVarResult
    A pointer to the value of the ambient property.

Return Value

Nonzero if successful; otherwise 0.

Requirements

Header: afxocc.h

See Also

Reference

COleControlContainer Class

Hierarchy Chart

Other Resources

COleControlContainer Members