Supplies a pointer to the OLE implementation of IDataAdviseHolder on the data advise holder object.
WINOLEAPI CreateDataAdviseHolder(
IDataAdviseHolder **ppDAHolder |
//Indirect pointer to the advise holder object |
); |
Parameter
Return Values
This function supports the standard return value E_OUTOFMEMORY, as well as the following:
Remarks
Call CreateDataAdviseHolder in your implementation of IDataObject::DAdvise to get a pointer to the OLE implementation of IDataAdviseHolder interface. With this pointer, you can then complete the implementation of IDataObject::DAdvise by calling the IDataAdviseHolder::Advise method, which creates an advisory connection between the calling object and the data object.
See Also