|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Call this function within your control's DoPropExchange member function to serialize or initialize a property represented by an object having an IUnknown-derived interface.
BOOL PX_IUnknown( CPropExchange* pPX, LPCTSTR pszPropName, LPUNKNOWN& pUnk, REFIID iid, LPUNKNOWN pUnkDefault = NULL );
Pointer to the CPropExchange object (typically passed as a parameter to DoPropExchange).
The name of the property being exchanged.
Reference to a variable containing the interface of the object that represents the value of the property.
An interface ID indicating which interface of the property object is used by the control.
Default value for the property.