please dont rip this site Prev Next

NDdeShareGetInfo info  Overview  Group

The NDdeShareGetInfo function is called to retrieve DDE share information from the DSDM. This is usually done for editing.

UINT NDdeShareGetInfo(

    LPTSTR lpszServer,

// server to execute on

    LPTSTR lpszShareName,

// name of share

    UINT nLevel,

// info level must be 2

    LPBYTE lpBuffer,

// contains (NDDESHAREINFO) + data

    DWORD cBufSize,

// size of buffer

    LPDWORD lpnTotalAvailable,

// number of bytes available

    LPWORD lpnItems 

// item mask for partial getinfo

   );

Parameters

lpszServer
Address of the server name on which the DSDM resides.
lpszShareName
Address of the share name whose information is to be retrieved from the DSDM. This parameter must not be NULL.
nLevel
Must be 2.
lpBuffer
Address of a buffer that is to accept the NDDESHAREINFO structure and associated data pointed to by NDDESHAREINFO pointer fields. This field can be NULL. If lpBuffer is NULL, then the DSDM calculates the number of bytes required to store the requested share information and returns that value in the lpnTotalAvailable field along with the NDDE_BUF_TOO_SMALL error.
cBufSize
Defines the size of the buffer addressed by the lpBuffer field. If lpBuffer is NULL, then cBufSize should be 0.
lpnTotalAvailable
Address of a varaible that receives the count of the total number of bytes needed to store the requested share information. This parameter must not be NULL.
lpnItems
Address of an item selection mask for partial share information retrieval. For the first release of Windows NT, the item selection mask must 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. If the lpBuffer parameter is NULL, it returns NDDE_BUF_TOO_SMALL.

See Also

NDDESHAREINFO, NDdeShareSetInfo


file: /Techref/os/win/api/win32/func/src/f58_14.htm, 4KB, , updated: 2000/4/7 11:19, local time: 2024/11/13 04:39,
TOP NEW HELP FIND: 
18.119.129.77: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://linistepper.com/Techref/os/win/api/win32/func/src/f58_14.htm"> NDdeShareGetInfo</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?