Click here to Skip to main content
12,751,650 members (33,620 online)
   

C#

 
AnswerRe: activity-selection algorithm in c# Pin
J4amieC28-Jan-13 1:44
memberJ4amieC28-Jan-13 1:44 
AnswerRe: activity-selection algorithm in c# Pin
pt140128-Jan-13 9:40
memberpt140128-Jan-13 9:40 
QuestionC# access excel file Pin
dcof26-Jan-13 19:24
memberdcof26-Jan-13 19:24 
SuggestionRe: C# access excel file Pin
Richard MacCutchan27-Jan-13 1:15
mvpRichard MacCutchan27-Jan-13 1:15 
AnswerRe: C# access excel file Pin
Dave Kreskowiak27-Jan-13 4:44
mvpDave Kreskowiak27-Jan-13 4:44 
QuestionWCF receiving large XML Pin
Alex Campos Vzla25-Jan-13 12:39
memberAlex Campos Vzla25-Jan-13 12:39 
AnswerRe: WCF receiving large XML Pin
Eddy Vluggen26-Jan-13 4:38
mvpEddy Vluggen26-Jan-13 4:38 
Questionreading NTFS Share permission - how to interpret SHARE_INFO_2.Permissions flag Pin
devvvy25-Jan-13 9:52
memberdevvvy25-Jan-13 9:52 
hi i am trying to read NTFS share permission. Imported
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
            protected struct SHARE_INFO_2
            {
                [MarshalAs(UnmanagedType.LPWStr)]
                public string NetName;
                public ShareType ShareType;
                [MarshalAs(UnmanagedType.LPWStr)]
                public string Remark;
                public int Permissions;
                public int MaxUsers;
                public int CurrentUsers;
                [MarshalAs(UnmanagedType.LPWStr)]
                public string Path;
                [MarshalAs(UnmanagedType.LPWStr)]
                public string Password;
            }


According to MSDN, Permissions include ACCESS_READ, ACCESS_WRITE, ... etc but the document doesn't tell you the "Integer" value of these constants. Where can I find the C++ header file where these constants are defined? I need them so I can convert integer value "Permissions" into human readable message.[^].

Thank you!

Reference: Network Shares and UNC paths[^]
dev

AnswerRe: reading NTFS Share permission - how to interpret SHARE_INFO_2.Permissions flag Pin
André Kraak25-Jan-13 11:57
memberAndré Kraak25-Jan-13 11:57 
AnswerRe: reading NTFS Share permission - how to interpret SHARE_INFO_2.Permissions flag Pin
Richard Deeming28-Jan-13 3:02
memberRichard Deeming28-Jan-13 3:02 
Questionreturn list of url if i enter specific keyword Pin
prashant.k.bamania25-Jan-13 3:24
memberprashant.k.bamania25-Jan-13 3:24 
AnswerRe: return list of url if i enter specific keyword Pin
Richard MacCutchan25-Jan-13 4:24
mvpRichard MacCutchan25-Jan-13 4:24 
GeneralRe: return list of url if i enter specific keyword Pin
prashant.k.bamania26-Jan-13 2:21
memberprashant.k.bamania26-Jan-13 2:21 
GeneralRe: return list of url if i enter specific keyword Pin
Richard MacCutchan26-Jan-13 2:23
mvpRichard MacCutchan26-Jan-13 2:23 
AnswerRe: return list of url if i enter specific keyword Pin
Pete O'Hanlon25-Jan-13 4:53
protectorPete O'Hanlon25-Jan-13 4:53 
GeneralRe: return list of url if i enter specific keyword Pin
prashant.k.bamania26-Jan-13 2:22
memberprashant.k.bamania26-Jan-13 2:22 
GeneralRe: return list of url if i enter specific keyword Pin
Pete O'Hanlon26-Jan-13 6:12
protectorPete O'Hanlon26-Jan-13 6:12 
AnswerRe: return list of url if i enter specific keyword Pin
Manfred R. Bihy26-Jan-13 11:09
memberManfred R. Bihy26-Jan-13 11:09 
SuggestionGoogle Earth Plugin throwing Javascript Error to WPF Window Pin
citibabu24-Jan-13 20:50
membercitibabu24-Jan-13 20:50 
GeneralRe: Google Earth Plugin throwing Javascript Error to WPF Window Pin
Richard MacCutchan25-Jan-13 2:41
mvpRichard MacCutchan25-Jan-13 2:41 
Questionimplementing skype plugin on windows 8 Pin
omotayo adebola24-Jan-13 14:37
memberomotayo adebola24-Jan-13 14:37 
AnswerRe: implementing skype plugin on windows 8 Pin
Pete O'Hanlon25-Jan-13 1:08
protectorPete O'Hanlon25-Jan-13 1:08 
QuestionC# timeout Pin
dcof24-Jan-13 13:10
memberdcof24-Jan-13 13:10 
AnswerRe: C# timeout Pin
Mycroft Holmes24-Jan-13 15:01
memberMycroft Holmes24-Jan-13 15:01 
AnswerRe: C# timeout Pin
V.25-Jan-13 2:27
memberV.25-Jan-13 2:27 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.170215.1 | Last Updated 21 Feb 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid