msos2.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
DDESTRUCT (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINDDE
 
typedef struct _DDESTRUCT {    /* dde */
    ULONG   cbData;
    USHORT  fsStatus;
    USHORT  usFormat;
    USHORT  offszItemName;
    USHORT  offabData;
} DDESTRUCT;
 
The DDESTRUCT structure is passed as the second parameter of all DDE
messages except WM_DDE_INITIATE and WM_DDE_INITIATEACK.
 
Field          Description
────────────────────────────────────────────────────────────────────────────
 
 
cbData         Specifies the length of the data (in bytes).
 
fsStatus       Specifies various status flags. This field can be one or more
               of the following values:
 
               Value             Meaning
               ─────────────────────────────────────────────────────────────
               DDE_FACK          Set for positive acknowledge message.
 
               DDE_FBUSY         Set if application is busy.
 
               DDE_FNODATA       Set if no data transfer for advise
                                 message.
 
               DDE_FACKREQ       Set for acknowledgment of DDE messages.
 
               DDE_FRESPONSE     Set if a response to a request message.
 
               DDE_NOTPROCESSED  Set if message is not supported.
 
               DDE_FRESERVED     Reserved; must be zero.
 
               DDE_FAPPSTATUS    Upper eight bits of status word are
                                 reserved for application-specific data.
 
usFormat       Specifies the format of the data.
 
offszItemName  Specifies the offset of the item name.
 
offabData      Specifies the offset of the data.
 
See Also
 
DDEINIT, WM_DDE_ACK, WM_DDE_ADVISE, WM_DDE_DATA, WM_DDE_EXECUTE,
WM_DDE_POKE, WM_DDE_REQUEST, WM_DDE_TERMINATE, WM_DDE_UNADVISE