please dont rip this site Prev Next

ReuseDDElParam info  Overview  Group

The ReuseDDElParam function allows an application to reuse a packed DDE lParam parameter, rather than allocating a new packed lParam. Using this function reduces reallocations for applications that pass packed DDE messages.

LONG ReuseDDElParam(

    LONG lParam,

// posted lParam to be reused

    UINT msgIn,

// identifier of received message

    UINT msgOut,

// identifier of posted message

    UINT uiLo,

// low-order word of new lParam

    UINT uiHi 

// high-order word of new lParam

   );

Parameters

lParam
Specifies the lParam parameter of the posted DDE message being reused.
msgIn
Specifies the identifier of the received DDE message.
msgOut
Specifies the identifier of the DDE message to be posted. The DDE message will reuse the packed lParam parameter.
uiLo
Specifies the value to be packed into the low-order word of the reused lParam parameter.
uiHi
Specifies the value to be packed into the high-order word of the reused lParam parameter.

Return Values

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero.

Remarks

The return value must be posted as the lParam parameter of a DDE message; it must not be used for any other purpose. Once the return value is posted, the posting application need not perform any action to dispose of the lParam parameter.

Use ReuseDDElParam instead of FreeDDElParam if the lParam parameter will be reused in a responding message. ReuseDDElParam returns the lParam appropriate for reuse.

This function allocates or frees lParam parameters as needed, depending on the packing requirements of the incoming and outgoing messages. This reduces reallocations in passing DDE messages.

See Also

FreeDDElParam, PackDDElParam, UnpackDDElParam 


file: /Techref/os/win/api/win32/func/src/f74_13.htm, 3KB, , updated: 2000/4/7 11:19, local time: 2024/11/27 15:00,
TOP NEW HELP FIND: 
3.133.145.17: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://massmind.org/Techref/os/win/api/win32/func/src/f74_13.htm"> ReuseDDElParam</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 massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .