Zhaohai来看看你的要的函数说明(0分)

  • 主题发起人 主题发起人 taozhiyu
  • 开始时间 开始时间
T

taozhiyu

Unregistered / Unconfirmed
GUEST, unregistred user!
&nbsp;<br>&nbsp; Platform SDK: Interprocess Communications <br>NDdeShareAdd<br>The NDdeShareAdd function creates and adds a new DDE share to the DDE share database manager (DSDM). <br><br>UINT NDdeShareAdd(<br>&nbsp; LPTSTR lpszServer, &nbsp; &nbsp; &nbsp; &nbsp; // server name<br>&nbsp; UINT nLevel, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // information level<br>&nbsp; PSECURITY_DESCRIPTOR pSD, &nbsp;// initial security descriptor<br>&nbsp; LPBYTE lpBuffer, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // address of NDDESHAREINFO<br>&nbsp; DWORD cBufSize &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // size of supplied buffer<br>);<br>Parameters<br>lpszServer <br>[in] Pointer to a string that specifies the name of the server whose DSDM is to be modified. <br>nLevel <br>[in] Specifies the information level. This parameter must be 2. <br>pSD <br>[in] Pointer to a SECURITY_DESCRIPTOR structure to be associated with this share and against which access checks will be performed on subsequent initiates to this share. This parameter can be NULL, in which case the DSDM creates a default security descriptor that grants "Full Control" to the owner and "Read and Link" to everyone. <br>lpBuffer <br>[in] Pointer to the NDDESHAREINFO structure that defines the ApplicationTopic list associated with the DDE share being created as well as other parameters. This parameter cannot be NULL. <br>cBufSize <br>[in] Specifies the size of the lpBuffer structure, in bytes. This parameter cannot be zero. <br>Return Values<br>If the function succeeds, the return value is NDDE_NO_ERROR.<br><br>If the function fails, the return value is an error code, which can be translated into a text error message by calling NDdeGetErrorString. <br><br>Remarks<br>Before a client can connect to the DDE share, it must be trusted with NDdeSetTrustedShare.<br><br>Requirements <br>&nbsp; Windows NT/2000/XP: Included in Windows NT 3.1 and later.<br>&nbsp; Header: Declared in Nddeapi.h.<br>&nbsp; Library: Use Nddeapi.lib.<br>&nbsp; Unicode: Implemented as Unicode and ANSI versions.<br><br>See Also<br>Network Dynamic Data Exchange Overview, Network DDE Functions, NDDESHAREINFO, NDdeSetTrustedShare<br><br>Platform SDK Release: August 2001 &nbsp;What did you think of this topic?<br>Let us know. &nbsp;Order a Platform SDK CD Online<br>(U.S/Canada) &nbsp; (International) <br><br>&nbsp;<br><br>Requirements <br>&nbsp; Windows NT/2000/XP: Included in Windows NT 3.1 and later.<br>&nbsp; Header: Declared in Nddeapi.h.<br>&nbsp; Library: Use Nddeapi.lib.<br>&nbsp; Unicode: Implemented as Unicode and ANSI versions.<br>See Also<br>Network Dynamic Data Exchange Overview, Network DDE Functions, NDDESHAREINFO, NDdeSetTrustedShare<br>
 
你一帮我解决问题,我就说你好,我是不是很势力啊?
 
接受答案了.
 

Similar threads

I
回复
0
查看
601
import
I
I
回复
0
查看
701
import
I
I
回复
0
查看
646
import
I
后退
顶部