PROCESS_INFORMATION [modified]
-
hi, i have a process id and a handle to a process. how can i get the PROCESS_INFORMATION that i would get from CreateProcess(); (after it has been created)? or, how can i get a handle to the main thread of the process? thanks in advance -- modified at 14:21 Monday 28th August, 2006
-
hi, i have a process id and a handle to a process. how can i get the PROCESS_INFORMATION that i would get from CreateProcess(); (after it has been created)? or, how can i get a handle to the main thread of the process? thanks in advance -- modified at 14:21 Monday 28th August, 2006
-
hi, i have a process id and a handle to a process. how can i get the PROCESS_INFORMATION that i would get from CreateProcess(); (after it has been created)? or, how can i get a handle to the main thread of the process? thanks in advance -- modified at 14:21 Monday 28th August, 2006
Sam Kline wrote:
how can i get the PROCESS_INFORMATION that i would get from CreateProcess();
Using
Process32First()
will give you aPROCESSENTRY32
structure. Does it have the information you require?
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
-
Sam Kline wrote:
how can i get the PROCESS_INFORMATION that i would get from CreateProcess();
Using
Process32First()
will give you aPROCESSENTRY32
structure. Does it have the information you require?
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
-
I looked up the function that kuphryn gave on MSDN and those 2 functions do what I neeed. Thanks for the replies.
Thread32First()
provided you with process-related information?
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb