please dont rip this site Prev Next

NDdeGetShareSecurity info  Overview  Group

The NDdeGetShareSecurity function is called to get the SECURITY_DESCRIPTOR associated with the DDE share. This is done usually for editing.

UINT NDdeGetShareSecurity(

    LPTSTR lpszServer,

// server to execute on

    LPTSTR lpszShareName,

// name of share to delete

    SECURITY_INFORMATION si,

// requested information

    PSECURITY_DESCRIPTOR pSD,

// address of SD buffer

    DWORD cbSD,

// size of SD buffer

    LPDWORD lpcbsdRequired 

// address of required size for SD buffer

   );

Parameters

lpszServer
Address of the server name on which the DSDM resides.
lpszShareName
Address of the share name whose security descriptor is to be retrieved from the DSDM. This parameter must not be NULL.
si
Identifies the SECURITY_INFORMATION to be retrieved from the SECURITY_DESCRIPTOR associated with the share.
pSD
Address of a buffer that will accept the retrieved self-relative SECURITY_DESCRIPTOR. This parameter can be NULL. If this parameter is NULL, the DSDM determines the size of the requested security information and returns the number of bytes needed in the lpcbsdRequired parameter along with the NDDE_BUF_TOO_SMALL error code.
cbSD
Specifies the size of the buffer provided and referenced by the pSD parameter to accept the retrieved security descriptor. It must be 0 if pSD is NULL.
lpcbsdRequired
Address of the variable into which the actual size of the retrieved security descriptor is stored. This paramter must not be NULL.

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 pSD parameter was NULL, it returns NDDE_BUF_TOO_SMALL.

See Also

SECURITY_INFORMATION, NDdeSetShareSecurity


file: /Techref/os/win/api/win32/func/src/f58_5.htm, 4KB, , updated: 2000/4/7 11:19, local time: 2024/11/27 12:52,
TOP NEW HELP FIND: 
3.145.47.193: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/f58_5.htm"> NDdeGetShareSecurity</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!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .