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.
WinDdePostMsg (1.2)
◄Function Group► ◄Overview► ◄Message Group► ◄Up► ◄Next► ◄Previous►
────────────────────────────────────────────────────────────────────────────
#define INCL_WINDDE
BOOL WinDdePostMsg(hwndTo, hwndFrom, wm, pddes, fRetry)
HWND hwndTo; /* handle of the window to post to */
HWND hwndFrom; /* handle of the window that is posting */
USHORT wm; /* message number */
PDDESTRUCT pddes; /* address of the structure to pass */
BOOL fRetry; /* retry flag */
The WinDdePostMsg function posts a DDE message to the specified window's
message queue.
Parameter Description
────────────────────────────────────────────────────────────────────────────
hwndTo Identifies the window the message is to be posted to.
hwndFrom Identifies the window that is posting the message.
wm Specifies the message being sent. The following messages may be
sent:
WM_DDE_ACK
WM_DDE_ADVISE
WM_DDE_DATA
WM_DDE_EXECUTE
WM_DDE_INITIATE
WM_DDE_INITIATEACK
WM_DDE_POKE
WM_DDE_REQUEST
WM_DDE_TERMINATE
WM_DDE_UNADVISE
pddes Points to a DDESTRUCT structure.
fRetry Specifies whether or not to try to send the message again if it
fails the first time because the destination queue was full. If
TRUE, the message is sent repeatedly at one second intervals
until it could be successfully posted.
Return Value
The return value is TRUE if the function is successful, or FALSE if an error
occurred. If the fRetry parameter is TRUE, this function will still return
FALSE if the message cannot be sent for any reason other then the
destination queue being full.
See Also
WinDdeInitiate, WinDdeRespond, WM_DDE_ACK, WM_DDE_ADVISE, WM_DDE_DATA,
WM_DDE_EXECUTE, WM_DDE_INITIATE, WM_DDE_INITIATEACK, WM_DDE_POKE,
WM_DDE_REQUEST, WM_DDE_TERMINATE, WM_DDE_UNADVISE
♦