Click here to Skip to main content
15,906,463 members
Home / Discussions / System Admin
   

System Admin

 
GeneralRe: Security Question in Windows. Pin
Mekong River3-May-07 23:41
Mekong River3-May-07 23:41 
GeneralRe: Security Question in Windows. Pin
Sojournist21-May-07 20:21
Sojournist21-May-07 20:21 
QuestionTerminal Services - Start Program at Logon Pin
vSoares3-May-07 5:47
professionalvSoares3-May-07 5:47 
AnswerRe: Terminal Services - Start Program at Logon Pin
vSoares3-May-07 6:55
professionalvSoares3-May-07 6:55 
Questionrunning processes WinXP Pin
speedees2-May-07 22:51
speedees2-May-07 22:51 
AnswerRe: running processes WinXP Pin
Mike Dimmick3-May-07 0:12
Mike Dimmick3-May-07 0:12 
GeneralRe: running processes WinXP Pin
speedees3-May-07 0:43
speedees3-May-07 0:43 
GeneralRe: running processes WinXP Pin
JudyL_MD3-May-07 2:52
JudyL_MD3-May-07 2:52 
Stating the same thing twice isn't going to change the way people suggest you do something unless you tell us why you can't use the approved and recommended way? It's always better to use the MS blessed functions than those that are listed as "may be unsupported in future versions" unless there is a good reason. An example of a good reason would be that this is a native mode app. More info please.

To answer the actual question, even though I strongly suggest you get your list the way Mike suggested ...

Looking at the documentation for NtQuerySystemInformation, it appears straightforward to get the list. Call it twice with SystemProcessInformation as the first parameter. The first time, use a buffer for return data (param 2 and 3) that is only a byte long. This will make the sysetm return the required buffer size in the 4th parameter. Allocate a buffer of the specified time. Call it the second time with that buffer to get the actual data.

Judy
QuestionMy home computer login takes too long - Win XP Media Center SP2 Pin
Marcus J. Smith1-May-07 9:27
professionalMarcus J. Smith1-May-07 9:27 
AnswerRe: My home computer login takes too long - Win XP Media Center SP2 Pin
Dave Kreskowiak1-May-07 10:07
mveDave Kreskowiak1-May-07 10:07 
GeneralRe: My home computer login takes too long - Win XP Media Center SP2 Pin
Marcus J. Smith1-May-07 10:10
professionalMarcus J. Smith1-May-07 10:10 
GeneralRe: My home computer login takes too long - Win XP Media Center SP2 Pin
Dave Kreskowiak1-May-07 10:29
mveDave Kreskowiak1-May-07 10:29 
GeneralRe: My home computer login takes too long - Win XP Media Center SP2 Pin
Mike Dimmick3-May-07 0:20
Mike Dimmick3-May-07 0:20 
Question4Gb of RAM Pin
NetDave30-Apr-07 17:21
NetDave30-Apr-07 17:21 
AnswerRe: 4Gb of RAM Pin
Michael Dunn30-Apr-07 19:45
sitebuilderMichael Dunn30-Apr-07 19:45 
QuestionLogin Scripts Pin
moon_stick30-Apr-07 5:14
moon_stick30-Apr-07 5:14 
AnswerRe: Login Scripts Pin
Dave Kreskowiak30-Apr-07 10:17
mveDave Kreskowiak30-Apr-07 10:17 
QuestionConnection Sharing P2P Pin
deepaks328-Apr-07 2:06
deepaks328-Apr-07 2:06 
QuestionInternet Connection Pin
Cmania27-Apr-07 23:04
Cmania27-Apr-07 23:04 
AnswerRe: Internet Connection Pin
A*****28-Apr-07 14:52
A*****28-Apr-07 14:52 
AnswerRe: Internet Connection Pin
Sachin Pimpale7-May-07 3:26
Sachin Pimpale7-May-07 3:26 
QuestionInstalling XP on a big drive Pin
NetDave27-Apr-07 11:19
NetDave27-Apr-07 11:19 
AnswerRe: Installing XP on a big drive Pin
MatrixCoder27-Apr-07 11:52
MatrixCoder27-Apr-07 11:52 
GeneralRe: Installing XP on a big drive Pin
NetDave27-Apr-07 13:08
NetDave27-Apr-07 13:08 
AnswerRe: Installing XP on a big drive Pin
NetDave30-Apr-07 17:13
NetDave30-Apr-07 17:13 

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.