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.

Syntax


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

Members

reserved

Type: unsigned short

Reserved.

fDeferUpd

Type: unsigned short

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

Type: short

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

Type: short

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 (2)

CF_DIB (8)

CF_DIF (5)

CF_ENHMETAFILE (14)

CF_METAFILEPICT (3)

CF_OEMTEXT (7)

CF_PALETTE (9)

CF_PENDATA (10)

CF_RIFF (11)

CF_SYLK (4)

CF_TEXT (1)

CF_TIFF (6)

CF_WAVE (12)

CF_UNICODETEXT (13)

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Dde.h (include Windows.h)

See also

Reference
WM_DDE_ADVISE
WM_DDE_DATA
WM_DDE_UNADVISE
Conceptual
About Dynamic Data Exchange

 

 

Community Additions

ADD
Show: