please dont rip this site Prev Next

NDdeShareAdd info  Overview  Group

The NDdeShareAdd function is called to create and add a new DDE share to the DDE Share Database Manager (DSDM).

UINT NDdeShareAdd(

    LPTSTR lpszServer,

// server to execute on

    UINT nLevel,

// info level must be 2

    PSECURITY_DESCRIPTOR pSD,

// initial security descriptor

    LPBYTE lpBuffer,

// address of NDDESHAREINFO

    DWORD cBufSize 

// size of supplied buffer

   );

Parameters

lpszServer
Address of the server name on which the DSDM will be modified.
nLevel
Must always be 2.
pSD
Address of the SECURITY_DESCRIPTOR that will be associated with this share and against which access checks will be performed on subsequent initiates to this share. This parameter can optionally be NULL, in which case the DSDM creates a default SECURITY_DESCRIPTOR that grants “Full Control” to the CREATOR_OWNER and “Read and Link” to everyone.
lpBuffer
Address of the NDDESHAREINFO structure that defines the ApplicationTopic list associated with the DDE share being created as well as other parameters. This parameter must not be NULL.
cBufSize
Size of the structure identified by lpBuffer. This parameter must not be 0.

Return Values

If the function succeeds, the return value is NDDE_NO_ERROR.

If the function fails, the return value is an error code, which can be translated into a text error message by calling NDdeGetErrorString.

Remarks

Before a client can connect to the DDE share, it must be trusted with NDdeSetTrustedShare.

See Also

NDDESHAREINFO, NDdeSetTrustedShare

See also:


file: /Techref/os/win/api/win32/func/src/f58_11.htm, 3KB, , updated: 2000/4/7 12:19, local time: 2022/5/21 15:45,
TOP NEW HELP FIND: 
3.239.129.91:LOG IN

 ©2022 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://www.piclist.com/techref/os/win/api/win32/func/src/f58_11.htm"> NDdeShareAdd</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?

  PICList 2022 contributors:
o List host: MIT, Site host massmind.org, Top posters @20220521
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
 

Welcome to www.piclist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .