hi
I have times one ask as
start a program with CreateProcess the processid from the started program to query can??
greets
ragdog
The processId is available in the PROCESS_INFORMATION structure after CreateProcess returns.
Or are you asking what is it (processId) used for/what can you do with it? -- I don't know :lol If a function requires a process-id, then you can give it that one, but most seem to use the handle. I think it's mostly just a way to 'name' the process uniquely on the machine (can start the same exe twice, but they are different processes.)
Ragdog,
Maybe, you would like to look also at
GetCurrentProcessId :
QuoteThe GetCurrentProcessId function returns the process identifier of the calling process.
thanks for the information it works :U
greets
ragdog