The NDdeSetShareSecurity function is called to set the SECURITY_DESCRIPTOR associated with the DDE share. This is done usually after editing the DACL assigned to the DDE share.
UINT NDdeSetShareSecurity(
LPTSTR lpszServer, |
// server to execute on |
LPTSTR lpszShareName, |
// name of share to delete |
SECURITY_INFORMATION si, |
// type of information |
PSECURITY_DESCRIPTOR pSD |
// address of security descriptor to set |
); |
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.
To modify the SECURITY_DESCRIPTOR associated with a DDE share in the DSDM, the user must have appropriate privilege; the share creator has this privilege.
SECURITY_INFORMATION, NDdeGetShareSecurity
file: /Techref/os/win/api/win32/func/src/f58_9.htm, 3KB, , updated: 2000/4/7 11:19, local time: 2024/11/30 11:36,
18.119.28.213: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? <A HREF="http://massmind.org/Techref/os/win/api/win32/func/src/f58_9.htm"> NDdeSetShareSecurity</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.