CreateDataAdviseHolder  SDVBHD

Supplies a pointer to the OLE implementation of IDataAdviseHolderA_NOQJ on the data advise holder object.

WINOLEAPI CreateDataAdviseHolder(

    IDataAdviseHolder **ppDAHolder

//Indirect pointer to the advise holder object

   );

 

 

Parameter

ppDAHolder

[out] Indirect pointer to the IDataAdviseHolderA_NOQJ interface on the new advise holder object.

 

Return Values

This function supports the standard return value E_OUTOFMEMORY, as well as the following:

S_OK

The advise holder object has been instantiated and the pointer supplied.

 

Remarks

Call CreateDataAdviseHolder in your implementation of IDataObject::DAdvise to get a pointer to the OLE implementation of IDataAdviseHolderA_NOQJ interface. With this pointer, you can then complete the implementation of IDataObject::DAdvise38JBOZP by calling the IDataAdviseHolder::Advise method, which creates an advisory connection between the calling object and the data object.

See Also

IDataAdviseHolder