Creates a notification connection between a data object implementing the IDataObject interface and a caller object, letting the caller receive notification of changes in the data for the data object.
Assembly: AspNetMMCExt (in AspNetMMCExt.dll)
- Type: System.IntPtr
A pointer to the FORMATETC defining the format, medium, and target device for notifications.
- Type: System.Int32
A pointer to the connection set up by this call to the method.
Return ValueType: System.Int32
The method supports the standard returns values E_INVALIDARG, E_UNEXPECTED, and E_OUTOFMEMORY, as well as the following return values:
The method successfully created the connection.
The data object does not implement the method.
lindex is not valid.
The data pointer value is not valid.
The object does not support change notification.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)