Click here to Skip to main content
15,911,360 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionQuestion regarding FsContext Pin
Green Fuze6-Dec-08 11:54
Green Fuze6-Dec-08 11:54 
AnswerRe: Question regarding FsContext Pin
Randor 6-Dec-08 14:57
professional Randor 6-Dec-08 14:57 
GeneralRe: Question regarding FsContext Pin
Green Fuze6-Dec-08 14:59
Green Fuze6-Dec-08 14:59 
GeneralRe: Question regarding FsContext Pin
Randor 6-Dec-08 15:42
professional Randor 6-Dec-08 15:42 
GeneralRe: Question regarding FsContext Pin
Green Fuze6-Dec-08 15:52
Green Fuze6-Dec-08 15:52 
GeneralRe: Question regarding FsContext Pin
Randor 6-Dec-08 16:24
professional Randor 6-Dec-08 16:24 
GeneralRe: Question regarding FsContext Pin
Green Fuze6-Dec-08 16:33
Green Fuze6-Dec-08 16:33 
GeneralRe: Question regarding FsContext Pin
Randor 6-Dec-08 17:04
professional Randor 6-Dec-08 17:04 
Green Fuze wrote:
No, I want to find all the files that came from the same file.


Are you referring to NTFS Alternate Data Streams? Can you use standard software engineering terminology so I can figure out what the hell your trying to do, its driving me nuts.


Green Fuze wrote:
So just to see that I understand correctly, to get the FsContext2, I must open the file and to do that in kernel mode because FILE_OBJECT is a kernel mode struct.


Each time a file or file-like object is opened the NT kernel creates an internal FILE_OBJECT structure for state tracking. It doesn't matter if the file was opened from usermode or kernelmode. These structures do not exist when the object is not being referenced/opened.


Green Fuze wrote:
Moreover, there is no way to get it in user-mode.


Yes. It would be more correct to say that there are no documented methods of obtaining this structure from usermode without a driver.

Best Wishes,
-David Delaune
GeneralRe: Question regarding FsContext Pin
Green Fuze6-Dec-08 22:54
Green Fuze6-Dec-08 22:54 
GeneralRe: Question regarding FsContext Pin
Randor 7-Dec-08 19:18
professional Randor 7-Dec-08 19:18 
GeneralRe: Question regarding FsContext Pin
Green Fuze6-Dec-08 14:59
Green Fuze6-Dec-08 14:59 
QuestionDoes PeekMessage() always cause an infinite loop? Pin
Joseph Marzbani6-Dec-08 9:50
Joseph Marzbani6-Dec-08 9:50 
AnswerRe: Does PeekMessage() always cause an infinite loop? Pin
Code-o-mat6-Dec-08 10:07
Code-o-mat6-Dec-08 10:07 
AnswerRe: Does PeekMessage() always cause an infinite loop? Pin
Randor 6-Dec-08 11:13
professional Randor 6-Dec-08 11:13 
Questioni can't add a CArray member to a class !!! error c2248 !!! Pin
aliusam6-Dec-08 6:44
aliusam6-Dec-08 6:44 
AnswerRe: i can't add a CArray member to a class !!! error c2248 !!! Pin
Jijo.Raj6-Dec-08 9:33
Jijo.Raj6-Dec-08 9:33 
GeneralRe: i can't add a CArray member to a class !!! error c2248 !!! Pin
aliusam6-Dec-08 10:56
aliusam6-Dec-08 10:56 
GeneralRe: i can't add a CArray member to a class !!! error c2248 !!! Pin
Jijo.Raj6-Dec-08 11:06
Jijo.Raj6-Dec-08 11:06 
GeneralRe: i can't add a CArray member to a class !!! error c2248 !!! Pin
aliusam7-Dec-08 22:23
aliusam7-Dec-08 22:23 
AnswerRe: i can't add a CArray member to a class !!! error c2248 !!! Pin
Richard Andrew x646-Dec-08 15:13
professionalRichard Andrew x646-Dec-08 15:13 
GeneralRe: i can't add a CArray member to a class !!! error c2248 !!! Pin
aliusam7-Dec-08 22:42
aliusam7-Dec-08 22:42 
AnswerRe: i can't add a CArray member to a class !!! error c2248 !!! Pin
Snorri Kristjansson7-Dec-08 0:44
professionalSnorri Kristjansson7-Dec-08 0:44 
GeneralRe: i can't add a CArray member to a class !!! error c2248 !!! Pin
aliusam7-Dec-08 22:34
aliusam7-Dec-08 22:34 
GeneralRe: i can't add a CArray member to a class !!! error c2248 !!! Pin
Snorri Kristjansson8-Dec-08 5:57
professionalSnorri Kristjansson8-Dec-08 5:57 
GeneralRe: i can't add a CArray member to a class !!! error c2248 !!! Pin
aliusam9-Dec-08 11:42
aliusam9-Dec-08 11:42 

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.