please dont rip this site Prev Next

WM_DDE_REQUEST Overview  Group

A DDE client application posts a WM_DDE_REQUEST message to a DDE server application to request the value of a data item.

WM_DDE_REQUEST 

wParam = (WPARAM) hwnd;        // handle of posting application 

lParam = (LPARAM) lParam;      // holds cfFormat and aItem 

 

Parameters

hwnd
Value of wParam. Identifies the client window sending the message.
lParam
Holds the cfFormat and aItem parameters.

Parameter

Description

cfFormat

This is the LOWORD of lParam. Specifies a standard or registered clipboard format.

aItem

This is the HIWORD of lParam. Contains an atom that identifies the data item requested from the server.

Remarks

Posting 

The client application posts the WM_DDE_REQUEST message by calling the PostMessage function, not the SendMessage function.

The client application allocates aItem by calling the GlobalAddAtom function.
Receiving 

If the receiving (server) application can satisfy the request, it responds with a WM_DDE_DATA message containing the requested data. Otherwise, it responds with a negative WM_DDE_ACK message.

When responding with either a WM_DDE_DATA or WM_DDE_ACK message, the server application can either reuse the aItem atom or it can delete the atom and create a new one.

See Also

GlobalAddAtom, PackDDElParam, PostMessage, ReuseDDElParam, SendMessage, UnpackDDElParam, WM_DDE_ACK, WM_DDE_DATA


file: /Techref/os/win/api/win32/mess/src/msg23_10.htm, 3KB, , updated: 2000/4/7 11:20, local time: 2024/12/2 23:29,
TOP NEW HELP FIND: 
3.147.53.90:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://techref.massmind.org/Techref/os/win/api/win32/mess/src/msg23_10.htm"> WM_DDE_REQUEST</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to techref.massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .