Platform SDK: Interprocess Communications

DDEADVISE

The DDEADVISE structure contains flags that specify how a DDE server application should send data to a client application during an advise loop. A client passes a handle to a DDEADVISE structure to a server as part of a WM_DDE_ADVISE message.

typedef struct { 
    unsigned short reserved:14, 
        fDeferUpd:1, 
        fAckReq:1; 
    short cfFormat; 
} DDEADVISE; 

Members

fDeferUpd
Indicates whether the server should defer sending updated data to the client. If this value is nonzero, the server should send a WM_DDE_DATA message with a NULL data handle whenever the data item changes. In response, the client can post a WM_DDE_REQUEST message to the server to get a handle to the updated data.
fAckReq
Indicates whether the server should set the fAckReq flag in the WM_DDE_DATA messages it posts to the client. If this value is nonzero, the server should set the fAckReq bit.
cfFormat
Specifies the client application's preferred data format. The format must be a standard or registered clipboard format. The following standard clipboard formats can be used:

CF_BITMAP
CF_DIB
CF_DIF
CF_ENHMETAFILE
CF_METAFILEPICT
CF_OEMTEXT
CF_PALETTE
CF_PENDATA
CF_RIFF
CF_SYLK
CF_TEXT
CF_TIFF
CF_WAVE
CF_UNICODETEXT

Requirements

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Dde.h; include Windows.h.

See Also

Dynamic Data Exchange Overview, Dynamic Data Exchange Structures, WM_DDE_ADVISE, WM_DDE_DATA, WM_DDE_UNADVISE