Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IAdviseSink::OnDataChange Method (FORMATETC%, STGMEDIUM%)

 

Notifies all data objects currently registered advisory sinks that data in the object has changed.

Namespace:   System.Runtime.InteropServices.ComTypes
Assembly:  System (in System.dll)

void OnDataChange(
	[InAttribute] FORMATETC% format,
	[InAttribute] STGMEDIUM% stgmedium
)

Parameters

format
Type: System.Runtime.InteropServices.ComTypes::FORMATETC%

A FORMATETC, passed by reference, which describes the format, target device, rendering, and storage information of the calling data object.

stgmedium
Type: System.Runtime.InteropServices.ComTypes::STGMEDIUM%

A STGMEDIUM, passed by reference, which defines the storage medium (global memory, disk file, storage object, stream object, Graphics Device Interface (GDI) object, or undefined) and ownership of that medium for the calling data object.

For more information about IAdviseSink::OnDataChange, see the MSDN Library.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show:
© 2017 Microsoft