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.
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