STATDATA  EW9K8Y

The STATDATA structure is the data structure used to specify each advisory connection. It is used for enumerating current advisory connections. It holds data returned by the IEnumSTATDATAYCAP6P enumerator. This enumerator interface is returned by IDataObject:DAdvise. Each advisory connection is specified by a unique STATDATA structure.

typedef struct tagSTATDATA

    FORMATETC     formatetc;

    DWORD         grfAdvf;

    IAdviseSink*  pAdvSink;

    DWORD         dwConnection;

} STATDATA;

 

Members

formatetc

The FORMATETC8CSQ18 structure for the data of interest to the advise sink. The advise sink receives notification of changes to the data specified by this FORMATETC structure.

grfAdvf

The ADVFJW0._0 enumeration value that determines when the advisory sink is notified of changes in the data.

pAdvSink

The pointer for the IAdviseSink3F9W.KC interface that will receive change notifications.

dwConnection

The token that uniquely identifies the advisory connection. This token is returned by the method that sets up the advisory connection.

 

See Also

IEnumSTATDATA