Click here to Skip to main content
16,004,778 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Back Patching an EXE as a Post Build Step Pin
Garth J Lancaster26-May-07 18:59
professionalGarth J Lancaster26-May-07 18:59 
GeneralRe: Back Patching an EXE as a Post Build Step Pin
Jeffrey Walton26-May-07 20:29
Jeffrey Walton26-May-07 20:29 
GeneralRe: Back Patching an EXE as a Post Build Step Pin
Garth J Lancaster26-May-07 21:04
professionalGarth J Lancaster26-May-07 21:04 
GeneralRe: Back Patching an EXE as a Post Build Step Pin
Jeffrey Walton26-May-07 21:10
Jeffrey Walton26-May-07 21:10 
GeneralRe: Back Patching an EXE as a Post Build Step Pin
Jeffrey Walton27-May-07 19:26
Jeffrey Walton27-May-07 19:26 
GeneralRe: Back Patching an EXE as a Post Build Step Pin
Garth J Lancaster27-May-07 20:05
professionalGarth J Lancaster27-May-07 20:05 
GeneralRe: Back Patching an EXE as a Post Build Step Pin
Jeffrey Walton27-May-07 20:22
Jeffrey Walton27-May-07 20:22 
QuestionHow to parse FileShare permissions Pin
Akin Ocal26-May-07 16:47
Akin Ocal26-May-07 16:47 
I am getting the structure in http://msdn2.microsoft.com/en-us/library/aa380981.aspx

It has an unsigned long -> shi502_permissions

And MSDN says that :

shi502_permissions
Specifies a DWORD value that indicates the shared resource's permissions for servers running with share-level security. This member is ignored on a server running user-level security. This member can be any of the following values. Calls to the NetShareSetInfo function ignore this member.

Note that the Windows Server 2003 family, Windows XP, Windows 2000, and Windows NT do not support share-level security. For more information about controlling access to securable objects, see Access Control, Privileges, and Securable Objects.
Value Meaning
ACCESS_READ Permission to read data from a resource and, by default, to execute the resource.
ACCESS_WRITE Permission to write data to the resource.
ACCESS_CREATE Permission to create an instance of the resource (such as a file); data can be written to the resource as the resource is created.
ACCESS_EXEC Permission to execute the resource.
ACCESS_DELETE Permission to delete the resource.
ACCESS_ATRIB Permission to modify the resource's attributes (such as the date and time when a file was last modified).
ACCESS_PERM Permission to modify the permissions (read, write, create, execute, and delete) assigned to a resource for a user or application.
ACCESS_ALL Permission to read, write, create, execute, and delete resources, and to modify their attributes and permissions.

How can i parse shi502_permissions and get values of these flags ?

Thank you very much.
QuestionRe: How to parse FileShare permissions Pin
Jeffrey Walton26-May-07 17:17
Jeffrey Walton26-May-07 17:17 
QuestionApply XP Theme to HTML Dialog Pin
Richard Andrew x6426-May-07 15:57
professionalRichard Andrew x6426-May-07 15:57 
QuestionDetect CDROM eject Pin
Anorexic Tribble26-May-07 14:09
Anorexic Tribble26-May-07 14:09 
AnswerRe: Detect CDROM eject Pin
Hans Dietrich26-May-07 15:47
mentorHans Dietrich26-May-07 15:47 
GeneralRe: Detect CDROM eject Pin
Anorexic Tribble26-May-07 23:28
Anorexic Tribble26-May-07 23:28 
QuestionHollow Font When Printing Pin
DanYELL26-May-07 13:09
DanYELL26-May-07 13:09 
AnswerRe: Hollow Font When Printing Pin
Hans Dietrich26-May-07 14:58
mentorHans Dietrich26-May-07 14:58 
QuestionScrabble game Pin
urbdos26-May-07 10:39
urbdos26-May-07 10:39 
AnswerRe: Scrabble game Pin
Hans Dietrich26-May-07 15:03
mentorHans Dietrich26-May-07 15:03 
GeneralRe: Scrabble game Pin
urbdos21-Jun-07 0:53
urbdos21-Jun-07 0:53 
AnswerRe: Scrabble game Pin
Rilhas27-May-07 3:49
Rilhas27-May-07 3:49 
QuestionCostom control? Looking for some general advice. Pin
@largeinsd26-May-07 7:43
@largeinsd26-May-07 7:43 
QuestionCString and string Pin
Star0926-May-07 6:03
Star0926-May-07 6:03 
AnswerRe: CString and string Pin
CPallini26-May-07 10:14
mveCPallini26-May-07 10:14 
AnswerRe: CString and string Pin
Michael Dunn26-May-07 20:45
sitebuilderMichael Dunn26-May-07 20:45 
QuestionHow to close previous form in Dialog based program Pin
Y_Kaushik26-May-07 4:10
Y_Kaushik26-May-07 4:10 
AnswerRe: How to close previous form in Dialog based program Pin
Manoj Kumar Rai26-May-07 9:35
professionalManoj Kumar Rai26-May-07 9:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.